Motorola 1 manual Pros Element

Page 44

VoxML 1.0 Element Reference

PROS Element

PROS Element

The PROS element is used to control the prosody of the content presented to the user via PROMPT, HELP, ERROR, CANCEL, and ACK elements. Prosody affects certain qualities of the text-to-speech presentation, including rate of speech, pitch, range, and volume.

The PROS element can be contained within a PROMPT, EMP, PROS, HELP,

ERROR, CANCEL, or ACK element.

Syntax

<PROS [RATE="value"] [VOL="value"] [PITCH="value"] [RANGE="value"] > text </PROS>

Attributes

Attribute Name

Allowed Values

 

 

RATE

words per minute (integer)

 

 

VOL

volume of speech (integer)

 

 

PITCH

pitch in Hz (integer)

 

 

RANGE

range in Hz (integer)

Examples

1 <PROMPT> Let me tell you a secret:

2<PROS VOL="0.5"> I ate the apple. </PROS>

3</PROMPT>

In this example, the phrase “I ate the apple.” is spoken with one half of the normal volume.

October 1998

VoxML 1.0 Language Reference 40

Image 44
Contents VoxML Language Reference RevisionPage Contents Appendices Purpose of this Document What is VoxMLOverview Structure of a VoxML Document DIALOGs and STEPsBasic Elements Other Reference Documentation VoxML 1.0 Application Development GuideAttributes ACK ElementSyntax Examples Audio Element Break Element Cancel Element Next step URLExamples Case Element Class Element IntegerExamples Dialog Element EMP Element Error Element Input TYPE=OPTIONLIST Help Element Option NEXT=#end done /OPTION 11 /INPUT 12 /STEP Input Element Input Element Type Date Data FormatInput Element Type Digits Input Element Type Grammar Input Element Type Hidden Input Element Type Money Input Element Type None Input Element Type Number Input Element Type Optionlist Input Element Type Phone Input Element Type PROFILE‡ Input Element Type Record Prompt Input Element Type Time Input Element Type Yorn Option Element VoxML 1.0 Element Reference Options Element Or Element Syntax AttributesPrompt Element Pros Element Rename Element Response Element Examples Step Element Switch Element Value Element PromptAppendices Appendix a VoxML 1.0 Document Type DefinitionOctober VoxML 1.0 Language Reference Appendix B Vcard Profile Names and Subtypes Vcard Profile Names and SubtypesFirst