<prosody>

New in VoiceXML 2.0. Speech Synthesis Markup Language element that changes the prosody of speech output.

Syntax

<prosody

 

      pitch="high"|"medium"|"low"|"default"|

Not implemented

         "number_of_Hertz"|"relativeChange"

 

      contour="targets_at_intervals"

Not implemented

      range="high"|"medium"|"low"|"default"|

Not implemented

         "number_of_Hertz"|"relativeValue"

 

      rate="fast"|"medium"|"slow"|"default"|

 

         "relativeChange"

 

      duration="time_interval"

Not implemented

      volume="silent"|"soft"|"medium"|"loud"|

 

         "default"|"percent_volume"|"relativeChange"

 

>

 

   Text

 

</prosody>

 

Description

Controls how the enclosed text is spoken.

Currently only rate and volume attributes are implemented. For other attributes the text is spoken normally.

Attribute Description
pitch

Not implemented. The baseline pitch for the contained text in Hertz, a relative change or values high, medium, low, default.

contour

Not implemented. Sets the actual pitch contour for the contained text.

The pitch contour is defined as a set of targets at specified intervals in the speech output. In each pair of the form (interval,target), the first value is a percentage of the period of the contained text and the second value is the value of the pitch attribute (absolute, relative, relative semitone, or descriptive values are all permitted). Interval values outside 0% to 100% are ignored. If a value is not defined for 0% or 100% then the nearest pitch target is copied.

range

Not implemented. The pitch range (variability) for the contained text in Hertz, a relative change or values high, medium, low, default.

rate

The speaking rate for the contained text, a relative change or values fast, medium, slow, default.

duration

Not implemented. The desired time to take to read the element contents.

Express time interval as an unsigned number followed by s for time in seconds; ms for time in milliseconds.

volume

The volume for the contained text as a percentage (in the range 0.0 to 100.0), a relative change or values silent, soft, medium, loud, default.

Usage

Parents Children
<audio>
<bevocal:whisper>
<choice>
<emphasis>
<enumerate>
<p>
<paragraph>
<prompt>
<prosody>
<s>
<sentence>
<voice>
<audio>
<break>
<emphasis>
<enumerate>
<mark>
<p>
<paragraph>
<phoneme>
<prosody>
<s>
<say-as>
<sentence>
<value>
<voice>

See Also

 •  SSML 1.0 Specification: <prosody>
 •  Related tags: <break>, <emphasis>, <mark>, <paragraph>, <phoneme>, <say-as>, <sentence>, <voice>

[Show Frames]   [FIRST] [PREVIOUS] [NEXT]
BeVocal, Inc. Café Home | Developer Agreement | Privacy Policy | Site Map | Terms & Conditions
Part No. 520-0001-02 | © 1999-2007, BeVocal, Inc. All rights reserved | 1.877.33.VOCAL