An Azure service that integrates speech processing into apps and services.
@Mounica T The error you’re encountering, “Speak node can only be the root,” is due to the incorrect nesting of <speak> elements. In SSML (Speech Synthesis Markup Language), the <speak> element must be the root element and cannot be nested within other elements.
Here’s a corrected version of your SSML:
<speak version='1.0' xml:lang='en-US' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns='http://www.w3.org/2001/10/synthesis'>
<voice name='en-US-AvaMultilingualNeural'>
<prosody rate='20%' pitch='0%'>
This is the third question that is asked.
</prosody>
</voice>
<voice name='en-US-AvaMultilingualNeural'>
You can say English, or Hindi.
</voice>
</speak>
Hope this answers.