Specifies voice characteristics for the spoken text.
<voice
gender="male" | "female" | "neutral"
age="integer"
variant="integer"
name="name"
category="child" | "teenager" | "adult" | "elder">
child elements
</voice>
|
|
Attribute |
Description |
|
gender |
Preferred gender of the voice to speak the text. |
|
age |
Preferred age of the voice to speak the text. |
|
variant |
A variant of the other voice characteristics to speak the text. |
|
name |
Name of the specific voice name to speak the text. |
Audio Emphasis Enumerate ForEach Paragraph Prompt Prosody Sentence Speak Voice
Audio Break Emphasis Mark Paragraph Phoneme Prosody Say-as Sentence Sub Value Voice #PCDATA
Note: If you are using a TTS engine that does not support <voice>, click here for a workaround.
To include speech markup tags, insert the SSML tags inside one of the <prompt>, <audio>, <enumerate>, or <foreach> (within <prompt>) elements.
<prompt> <voice gender="female">I am a woman</voice> <!-- platform specific voice name --> <voice name="Jill">My name is Jill</voice> </prompt> |
If you are using a TTS engine that does not support <voice>, you can use the following workaround:
Instead of using the <voice> tag, use the TTSENGINE property or attribute of <prompt> to specify which TTS engine (ie. voice) you want to use and to switch between TTS engines (voices). For example:
<prompt> |
If you own a VoiceGenie platform, you can switch between any of the voices you have installed, using the TTSENGINE names you have configured for each voice.