Example SAPI XML Tags

Volume

Controls the volume of the speech. This tag can be nested or empty.

Attributes:

level=

Supports values between 0 and 100, being percentages of the system's set volume.

Examples:

<volume level="50"/> Speak allow following text at level 50.

<volume level="50"> Speak this text at level 50</volume> and this as normal.

Rate

Controls the speed at which the text is spoken. This tag can be empty or nested.

Attributes

Only one attribute may be applied within a tag.

absspeed=

Sets the absolute speed for the speech in a range between -10 and 10 with 0 being normal speech.

speed=

Sets a speed change that is added to the current speed.

Examples:

<rate absspeed="5"> Speak this text at rate 5</rate> and this text as normal.

<rate absspeed="5"/> Speak all following text at rate 5.

<rate speed="-5"/> Drop the current speech speed by 5.

Pitch

Controls the pitch at which the text is spoken. This tag can be empty or nested.

Attributes

Only one attribute may be applied within a tag.

absmiddle=

Sets the absolute pitch for the speech in a range between -10 and 10 with 0 being normal speech.

middle=

Sets a pitch change that is added to the current speed.

Examples:

<pitch absmiddle="5"> Speak this text at pitch 5</rate> and this text as normal.

<pitch absmiddle="5"/> Speak all following text at pitch 5.

<pitch middle="-5"/> Drop the current speech pitch by 5.

Emph

Applies emphasis to a word or section of text. This tag must be nested.

Attributes:

This tag has no attributes.

Example:

Say <emph>boo</emph>.

Voicemail Pro Installation and Maintenance

Page 84

IP Office Release 6

15-601063 Issue 22e (16 May 2010)

Page 84
Image 84
Avaya 6 manual Example Sapi XML Tags