- 
                Notifications
    
You must be signed in to change notification settings  - Fork 539
 
How to call multiple voice in SSML
customer may want to use multiple voice in one SSML. To do that, here is an example:
 <speak version="1.0" xmlns="https://www.w3.org/2001/10/synthesis" xml:lang="en-US"> <voice name="en-US-AriaNeural"> This is the text that is spoken. </voice> <voice name="en-US-GuyNeural"> This is the text that is spoken. </voice> </speak>
then everything is the same like SSML with single voice
For customer voice, currently the endpoint to call needs to have the custom voice deployment id.
https://docs.microsoft.com/bs-latn-ba/azure/cognitive-services/speech-service/regions#custom-voices
to access multiple voice in the SSML, the endpoint also need to have multiple deployment IDs.
if there are too many voices, it is recommended to have some code to construct the URL dynamically based on the SSML content.
- Azure TTS: Empower every person and every organization on the planet to have a delightful digital voice!
 - Azure Custom Voice: Build your one-of-a-kind Custom Voice and close to human Neural TTS in cloud and edge!