Closed eliyahuKriel closed 3 years ago
@eliyahuKriel You can use the "prosody rate" element in SSML to change the speed of the voice, for example:
<prosody rate="-20%">
I'm speaking a little slowly here
</prosody>
<prosody rate="40%">
But now I'm speaking really fast
</prosody>
Text to Speech | Microsoft Azure halfway down has a box where you can quickly try things (and boilerplate SSML to modify).
Thanks for using Speech SDK, and taking the time to ask about this feature!
@glharper thanks, i know that i can use the ssml format
but i want to use the object format,
synthesizer.speakTextAsync
and not synthesizer.speakSsmlAsync
Too bad there is no such possibility with the object format
thanks anyway
hi guys i able to set voice and lang I want also to change the speed of the voice , i cant find in the docs and in the speechConfig this property
i have this code :
const ttsSdk = require("microsoft-cognitiveservices-speech-sdk");
const speechConfig = ttsSdk.SpeechConfig.fromSubscription(process.env.TTS_SUBSCRIPTION_ID, process.env.TTS_REGION);
speechConfig.speechSynthesisVoiceName = selected_voice;
speechConfig.speechSynthesisLanguage = selected_lang;
any ideas? thanks!