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. With an authorization token: pass in an authorization token and the associated location/region.A key or authorization token is optional. With an endpoint: pass in a Speech service endpoint.With a subscription: pass in a key and the associated location/region.You can initialize SpeechConfig in a few ways: Regardless of whether you're performing speech recognition, speech synthesis, translation, or intent recognition, you'll always create a configuration. This class includes information about your subscription, like your speech key and associated location/region, endpoint, host, and authorization token. To call the Speech service by using the Speech SDK, you need to create a SpeechConfig instance. To run the examples in this article, include the following using statements at the top of your script: using System Depending on your platform, use the following instructions:
#Microsoft word text to speech freezing 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.
![microsoft word text to speech freezing microsoft word text to speech freezing](https://support.content.office.net/en-us/media/56104fc5-92e9-42e5-af85-3ff656fc52c2.png)
#Microsoft word text to speech freezing for free
Azure subscription - Create one for free.