GetVocal Voice Portal Technologies

[1.0 to 2.0][Tags][Attributes][Variables][Events][Properties]

VoiceXML Tag
 <voice>

TTS voice.

Parent Tags
<audio> <choice> <emphasis> <enumerate> <p> <paragraph> <prompt> <prosody> <s> <sentence> <voice>

Content Syntax
The value may be empty, or may contain one or more elements, where an element is either parsed text or one of the following tags.

<audio> <break> <emphasis> <enumerate> <mark> <p> <paragraph> <phoneme> <prosody> <s> <say-as> <sentence> <value> <voice>

Attributes
Name Req/opt Default Valid values
age Optional Text
category Optional "adult" "child" "elder" "teenager"
gender Optional "female" "male" "neutral"
name Optional Text
variant Optional Text

Compatibility
VoiceXML 1.0 No, 2.0 Yes.

Description
The <voice> tag specifies attributes of the synthesized voice.

If an attribute is not specified, the value remains as it was previously set, it is not reset to a default. The new values apply to all the text enclosed within the tag (unless overridden by a nested <voice> tag) and then reverts to the previous values when the end tag is reached.

VoiceXML browsers are not obligated to fully implement all speech markup tags, however, a compliant browser must silently ignore any tags it does not support, and should make its best efforts to map any unimplemented mark-up to something similar that is supported.
©  GetVocal, inc. All Rights Reserved.