Previous Topic

Next Topic

Book Contents

Book Index

Home Page

Customizing Speech Output

Certain applications may require the pitch, pace, or other properties of text-to-speech output to be modified dynamically while the Call Tree executes. These and other properties can be modified while text is spoken by inserting special markers called "control tags" in the text that will be spoken.

Note: the RealSpeak (TM) Text-to-Speech engine does not support SAPI control tags - it has its own control sequences. Refer to the section on the RealSpeak (TM) Control Sequences for details.

Control tags are inserted into the spoken text between "\" (backslash) character. The most frequently used control tags are as follows:

Each of these control tags and their usage is discussed below.

Control tags can be used to modify speech in prompts (on the Question tab) or when using Speak variables. The examples below show use of control tags to modify Speak variables in macros, but the usage is the same when changing question prompts.

Pau: Pause Speaking

Usage:

\Pau=number\

Pauses for the number of milliseconds specified.

Example:

Speak1 = "1 second \Pau=1000\ " + _
"2 seconds \Pau=2000\ Done."

Pit: Change the Speaking Rate

Usage:

\Pit=number\

Sets the pitch of the text-to-speech mode to the specified value in hertz.

Example:

Speak1 = "\Pit=60\ I'm talking low pitched."
Speak2 = "\Pit=120\ I'm talking high pitched."

Spd: Change the Speaking Rate

Usage:

\Spd=number\

Sets the average talking speed of the text-to-speech engine to the specified number of words per minute.

Example:

Speak1 = "\Spd=100\ I'm talking slowly."
Speak2 = "\Spd=150\ I'm talking quickly."

See Also

Technical Information

Command Line Options

Active Call Center API

Technical Details on Supported Audio Formats

Recording and Modifying WAV Audio Files

Uninstall Active Call Center

Installing Microsoft Fax

Phonetic Alphabets and Special Symbols for <SpelledWord>