


Next, you create a SpeechSynthesizer object. The voice setting will not overwrite the voice element in input SSML. The voice setting will overwrite the language setting. Note: if only language is set, the default voice of that language is chosen.Ĭonfig.SpeechSynthesisLanguage = "" // For example, "de-DE" Specify the language or voice of SpeechConfig to match your input text and use the wanted voice: static async Task SynthesizeAudioAsync() You can get the full list or try them in a text-to-speech demo. The text-to-speech feature in the Azure Speech service supports more than 270 voices and more than 110 languages and variants. Var config = SpeechConfig.FromSubscription("", "") You also create some basic boilerplate code to use for the rest of this article, which you modify for different customizations. Get these credentials by following the steps in Try the Speech service for free. In this example, you create a SpeechConfig instance by using a speech key and location/region.
#MICROSOFT WORD TEXT TO SPEECH VOICE INSTALL#
For more information about subscription keys and other Cognitive Services resources, see Get the keys for your resource.īefore you can do anything, you need to install the Speech SDK. After your Speech resource is deployed, select Go to resource to view and manage keys. Get the subscription key and regional endpoint.You can use the free pricing tier ( F0) to try the service, and upgrade later to a paid tier for production. Create a Speech resource in the Azure portal to get your key and endpoint.

#MICROSOFT WORD TEXT TO SPEECH VOICE FOR FREE#
Azure subscription - Create one for free.
