Hello @Seyed Abudula
Thanks for reaching out to us, you can use SSML to define a paragraph, a sentence, a break or a pause, or silence.
The supported values for attributes of the break element were described previously. The following three ways all add 750 ms breaks.
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">
<voice name="en-US-JennyNeural">
Welcome <break /> to text to speech.
Welcome <break strength="medium" /> to text to speech.
Welcome <break time="750ms" /> to text to speech.
</voice>
</speak>
The absolute duration of a pause in seconds (such as 2s
) or milliseconds (such as 500ms
). Valid values range from 0 to 5000 milliseconds. If you set a value greater than the supported maximum, the service will use 5000ms
. If the time
attribute is set, the strength
attribute is ignored.
I hope this helps.
Regards,
Yutong
-Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks a lot.