-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Neural] How do I control the pace of the generated speech #142
Comments
@shoutbomb please try SSML to control the synthesis, for example <speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='https://www.w3.org/2001/mstts' xml:lang='en-US'><voice xml:lang='en-US' xml:gender='Female' name='Microsoft Server Speech Text to Speech Voice (en-US, JessaNeural)'><prosody rate="-10%">Hello Jessa!</prosody></voice></speak> |
This is a snippet of the current function call to generate the currently working SSML. Could you please suggest how I can change it to include the 'prosody' node. public function azure_tts_build_resource_uri($tts_text, $tts_directory, $tts_lang="en-us",$tts_gender="Female",$tts_voiceid="Microsoft Server Speech Text to Speech Voice (en-US, JessaNeural)") {
Many thanks... |
For a simple case, you can construct the node inside Refer to https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-synthesis-markup |
How do I control the pace of the generated speech. I need to slow it down by 10%.
(en-US, JessaNeural)
X-Microsoft-OutputFormat: riff-24khz-16bit-mono-pcm
Originally posted by @shoutbomb in #128 (comment)
The text was updated successfully, but these errors were encountered: