Installing Voicemail Pro: Text to Speech (TTS) Install

2.7.4 Text to Speech SAPI Controls

Windows TTS engines use Microsoft's SAPI (Speech Application Program Interface). This includes the use of XML tags in the text to change how the text is spoken. For example, in the text This is the <volume level="90">text</volume> to speak the items within < > brackets are XML tags used to change how the speech is spoken.

The following are samples of the SAPI XML controls supported by Voicemail Pro TTS. Further information on SAPI 5 can be obtained from Microsoft support websites.

Volume

68

Change the speech volume.

Rate

68

Change the speech rate.

Pitch

68

Change the speech pitch.

Emph

68

Add emphasis to words.

Spell

69

Spell out words and numbers literally.

Silence

69

Add a period of silence.

69

Change the usage of words.

Entering XML Tags

XML tags can be used in two ways, either nested or empty.

Nest Tags: Example = <volume level="90">text</volume> Nested tags consist of:

An opening XML tag, in the example above <volume level="90">.

The text to which the opening tag command should be applied.

A closing XML tag. The closing tag use the same command as the opening tag, prefixed with / and no other settings. In the example above this is </volume>.

Empty Tags: Example = <volume level="90"/>All following text

An empty tag is not nested, its command and settings apply to all the following text. Empty tags are recognizable by the / before the tags closing >.

Voicemail Pro

Page 67

IP Office

15-601063 Issue 20l (03 March 2009)

Page 67
Image 67
Avaya 15-601063 manual Text to Speech Sapi Controls, Entering XML Tags