Author Message
voice.developer
Joined: Aug 23, 2016
Messages: 33
Offline
I am trying to change the gender of the TTS based on some variable I set in the application. However, I cannot place the Voice SSML underneath an IF statement in the prompt phrase editor. I have attached a picture. Is, there someway to change this voice programmatically?

Thanks

Kurt
  • [Thumb - VOICE SSML.png]
[Disk] Download
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
The voice tag only applies to TTS. You are only allowed one at the root level and all the TTS tags underneath will enclose by it. Under If/else, you would add one voice tag under each TTS.
Go to:   
Mobile view