This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
voicexml:tags:prosody [2014/03/18 15:51] adam |
voicexml:tags:prosody [2015/07/31 14:21] admin [<prosody>] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{description>‹prosody› VoiceXML tag details, attributes and VXML code example | The prosody tag changes the sound characteristics of the text being spoken.}} | ||
- | =====<prosody>==== | + | ======<prosody>===== |
The <prosody> tag changes the sound characteristics of the text being spoken. | The <prosody> tag changes the sound characteristics of the text being spoken. | ||
====Attributes==== | ====Attributes==== | ||
- | | pitch |(defaults to "default") The "pitch" attribute of the <prosody> tag changes the pitch of the spoken \\ text. You can specify a preset pitch ("high", "medium", "low", or "default"). This attribute is only \\ available with the Cepstral Theta TTS engine. | | + | | pitch |(defaults to "default") The "pitch" attribute of the <prosody> tag changes the pitch of the spoken text. You can specify a preset pitch ("high", "medium", "low", or "default"). This attribute is only available with the Cepstral Theta TTS engine. | |
| contour | This attribute is not supported. | | | contour | This attribute is not supported. | | ||
| range | This attribute is not supported. | | | range | This attribute is not supported. | | ||
- | | rate | (defaults to "default") The "rate" attribute of the <prosody> tag changes the rate at which the text \\ is spoken. You can specify a preset rate ("fast", "medium", "slow", or "default"). The "rate" attribute \\ can also be set to an integer value such as "100.0" or "50.0". A normal voice rate should be set to \\ around "150.0" (for AT&T Natural Voices). These values are not in accordance with the SSML spec, \\ where rates are specified relative to 1. Additionally, you can also adjust the voice rate by using \\ percentages. To increase the rate you could type "+50%" to make the voice rate 50% faster or \\ "-50%" to make the voice rate 50% slower. | | + | | rate | (defaults to "default") The "rate" attribute of the <prosody> tag changes the rate at which the text is spoken. You can specify a preset rate ("fast", "medium", "slow", or "default"). The "rate" attribute can also be set to an integer value such as "100.0" or "50.0". A normal voice rate should be set to \\ around "150.0" (for AT&T Natural Voices). These values are not in accordance with the SSML spec, \\ where rates are specified relative to 1. Additionally, you can also adjust the voice rate by using percentages. To increase the rate you could type "+50%" to make the voice rate 50% faster or "-50%" to make the voice rate 50% slower. | |
| duration | This attribute is not supported. | | | duration | This attribute is not supported. | | ||
- | | volume | (defaults to "default") The "volume" attribute of the <prosody> tag allows the application to change \\ the volume of the TTS voice. The volume level can be specified to a preset volume of "silent", \\ "soft", "medium", "loud", or "default". Also, the volume level can be set \\ to an integer number such as "25.0" for a soft volume or "200.0" for a loud volume. | | + | | volume | (defaults to "default") The "volume" attribute of the <prosody> tag allows the application to change the volume of the TTS voice. The volume level can be specified to a preset volume of "silent", "soft", "medium", "loud", or "default". Also, the volume level can be set to an integer number such as "25.0" for a soft volume or "200.0" for a loud volume. | |
====Notes==== | ====Notes==== | ||
Line 44: | Line 45: | ||
====Child Tags==== | ====Child Tags==== | ||
- | <audio>, <break>, <emphasis>, <enumerate>, <mark>, <p>, <paragraph>, <phoneme>, <prosody>, <s>, <say-as>, <sentence>, <speak>, <sub>, <value>, <voice> | + | [[voicexml:tags:audio|<audio>]], [[voicexml:tags:break|<break>]], [[voicexml:tags:emphasis|<emphasis>]], [[voicexml:tags:enumerate|<enumerate>]], [[voicexml:tags:mark|<mark>]], [[voicexml:tags:p|<p>]], [[voicexml:tags:paragraph|<paragraph>]], [[voicexml:tags:phoneme|<phoneme>]], [[voicexml:tags:prosody|<prosody>]], [[voicexml:tags:s|<s>]], [[voicexml:tags:say-as|<say-as>]], [[voicexml:tags:sentence|<sentence>]], [[voicexml:tags:speak|<speak>]], [[voicexml:tags:sub|<sub>]], [[voicexml:tags:value|<value>]], [[voicexml:tags:voice|<voice>]] |
====Parent Tags==== | ====Parent Tags==== | ||
- | <audio>, <emphasis>, <enumerate>, <foreach>, <p>, <paragraph>, <prompt>, <prosody>, <s>, <sentence>, <speak>, <voice> | + | [[voicexml:tags:audio|<audio>]], [[voicexml:tags:emphasis|<emphasis>]], [[voicexml:tags:enumerate|<enumerate>]], [[voicexml:tags:foreach|<foreach>]], [[voicexml:tags:p|<p>]], [[voicexml:tags:paragraph|<paragraph>]], [[voicexml:tags:prompt|<prompt>]], [[voicexml:tags:prosody|<prosody>]], [[voicexml:tags:s|<s>]], [[voicexml:tags:sentence|<sentence>]], [[voicexml:tags:speak|<speak>]], [[voicexml:tags:voice|<voice>]] |