
Start the speech synthesis on plain text, asynchronously. Start the speech synthesis on plain text, synchronously. Start the speech synthesis on SSML, asynchronously. Start the speech synthesis on SSML, synchronously. Otherwise, the synthesizer will encounter errors while speech synthesis.Įxecute the speech synthesis on SSML, synchronously.Įxecute the speech synthesis on SSML, asynchronously.Įxecute the speech synthesis on plain text, synchronously.Įxecute the speech synthesis on plain text, asynchronously. Before the authorization token expires, the caller needs to refresh it by calling this setter with a new valid token. Note: The caller needs to ensure that the authorization token is valid. Sets the authorization token used to communicate with the service. Get the available voices, asynchronously. The collection of properties and their values defined for this SpeechSynthesizer. Gets the authorization token used to communicate with the service. Added in version 1.16.0ĭefines event handler for word boundary event.

Added in version 1.16.0ĭefines event handler for synthesis canceled event.ĭefines event handler for synthesis completed event.ĭefines event handler for synthesis started event.ĭefines event handler for synthesizing event.ĭefines event handler for viseme received event. SpeechSynthesizer(SpeechConfig speechConfig, AutoDetectSourceLanguageConfig autoDetectSourceLangConfig, AudioConfig audioConfig)Ĭreates a new instance of Speech Synthesizer.ĭefines event handler for bookmark reached event. If audioConfig is null, there is no audio output. SpeechSynthesizer(SpeechConfig speechConfig, AudioConfig audioConfig)Ĭreates a new instance of Speech Synthesizer.

Uses the default speaker on the system for audio output.

SpeechSynthesizer(SpeechConfig speechConfig)Ĭreates a new instance of Speech Synthesizer. SpeechSynthesizer(EmbeddedSpeechConfig embeddedSpeechConfig, AudioConfig audioConfig)Ĭreates a new instance of Speech Synthesizer for embedded speech synthesis. SpeechSynthesizer(EmbeddedSpeechConfig embeddedSpeechConfig)Ĭreates a new instance of Speech Synthesizer for embedded speech synthesis. Updated in version 1.16.0 In this article public class SpeechSynthesizer Note: close() must be called in order to release underlying resources held by the object. Performs speech synthesis to speaker, file, or other audio output streams, and gets synthesized audio as result.
