XSpeechSynthesizer

Provides support for initializing and configuring a speech synthesis engine, or voice, for converting a text string into an audio stream. This functionality is also known as text-to-speech (TTS).

Functions

Function Description
XSpeechSynthesizerCloseHandle Closes the speech synthesizer and releases allocated system resources.
XSpeechSynthesizerCloseStreamHandle Closes the speech synthesizer stream and releases allocated system resources.
XSpeechSynthesizerCreate Creates a speech synthesizer.
XSpeechSynthesizerCreateStreamFromSsml Creates a speech synthesis stream from the specified SSML.
XSpeechSynthesizerCreateStreamFromText Creates a speech synthesis stream from the specified plain text.
XSpeechSynthesizerEnumerateInstalledVoices Enumerates the installed voices, and calls the method pointed to by callback for each voice.
XSpeechSynthesizerGetStreamData Retrieves the data from a speech synthesis stream.
XSpeechSynthesizerGetStreamDataSize Gets the size of the data buffer from a speech synthesis stream.
XSpeechSynthesizerInstalledVoicesCallback The client-implemented callback function that receives information about a voice when XSpeechSynthesizerEnumerateInstalledVoices is called.
XSpeechSynthesizerSetCustomVoice Specifies that the speech synthesizer is to use the specified custom voice.
XSpeechSynthesizerSetDefaultVoice Specifies that the speech synthesizer is to use the system's default voice.

Structures

Structure Description
XSpeechSynthesizerVoiceInformation Provides information about a voice.

Enumerations

Enumeration Description
XSpeechSynthesizerVoiceGender Indicates the gender of a voice.

See also

System API reference