question

Sabiya-7422 avatar image
0 Votes"
Sabiya-7422 asked ·

How to use certain voices in speechSDK with one line command

In Azure Cognitive Services, there is a document to choose a voice for test-to-speech with REST API in Microsoft website. Is it possible to choose a voice with one line command to write In the same SpeechSDK sample code?, like this:

Voice name = en-US-GuyNeural

Thank you.

azure-cognitive-servicesazure-speech
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered ·

Hello Sabiya,

To use the neural voices along with the SDK the samples in this document would be a great start.
If you are planning to build something along the lines of a UI to select the required voice this github repo provides a simple sample using REST API.



-Rohit

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.