microsoft / cognitive-services-speech-sdk-js

Microsoft Azure Cognitive Services Speech SDK for JavaScript
Other
263 stars 96 forks source link

[Feature request]: more information on voices, children and multilinguals voices #786

Open Felwin opened 7 months ago

Felwin commented 7 months ago

When using speechSynthesizer.getVoicesAsync we don't get the information on which voice is a child.

I manually need to go to the documentation in order to filter the children voices out of my list (some users might want the opposite) https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=tts

Would be great if this information was available directly like the gender.

Also would be great to know which supported locales are available for Multilingual voices without having to refer to the documentation.

yulin-li commented 7 months ago

@Kerry-LinZhang could you help to take a look?

Felwin commented 7 months ago

From my understanding the sdk is calling Text to speech REST API, looks like the documentation is there: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/rest-text-to-speech?tabs=streaming

According to the sample response, in order to get the supported locales for a multilingual voice , the "SecondaryLocaleList" should be returned.

Not sure about the children voices, would need to run the request and look for one of the child voice.

Is there a reason why sdk do not return all data available with the rest api ?

Kerry-LinZhang commented 5 months ago

Hi @Felwin Thanks and well received for the feedback, I will bring it to our team for further discussion and keep you updated for the progress.

pelaez87 commented 4 months ago

Is there any estimate about when SecondaryLocaleList property will be available on the SDK? Right now, multilingual voices just doesn't seems multilingual using SDK, as it provides only one language code, so no idea from SDK point of view that this voice allows more languages

Kerry-LinZhang commented 4 months ago

Is there any estimate about when SecondaryLocaleList property will be available on the SDK? Right now, multilingual voices just doesn't seems multilingual using SDK, as it provides only one language code, so no idea from SDK point of view that this voice allows more languages

@yulin-li could you please help to track this?

Kerry-LinZhang commented 4 months ago

Dear customers, we are following up with feature PM for the request.

Kerry-LinZhang commented 4 months ago

Hi @Felwin we are adding tags to the new AI studio voice gallery. APIs will be planned later.