O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.59. voice

Element typevoice
Attributesage | category | gender | name | variant
Parentsaudio | choice | emphasis | enumerate | menu | paragraph | prompt | prosody | sentence | voice
ChildrenPCDATA | audio | break | enumerate | mark | paragraph | phoneme | prosody | say-as | sentence | value | voice
DescriptionCauses the text-to-speech processor to use a different speaking voice for rendering the contained markup.

DTD

<!ELEMENT voice (%allowed-within-sentence; | %structure;)* >
<!ATTLIST voice
  gender   (male | female | neutral)          #IMPLIED
  age      %integer;                          #IMPLIED
  category (child | teenager | adult | elder) #IMPLIED
  variant  %integer;                          #IMPLIED
  name     CDATA                              #IMPLIED >

Language model

Attributes

age : integer

The age of the synthetic speaker in years.

gender ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required