<phoneme>

<phoneme>

The <phoneme> tag allows the user to specify pronunciations explicitly in the input text.

Attributes

Name

Description

ph

The pronunciation of the enclosed text.

alphabet

This value is disregarded except for Nuance RealSpeak which requires the value “unipa”.

Notes

For more information, see the Phoneme Set in TTS Engine Characteristics of the Plum DEV Reference Manual. The phoneme set and transcriptions differ between AT&T Natural Voices and Cepstral.

Example

AT&T Natural Voices
Nuance RealSpeak
Cepstral
AT&T Natural Voices
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt bargein="false">
My name is
<phoneme ph="b aa b 1">
Bob
</phoneme>
</prompt>
</block>
</form>
</vxml>
Nuance RealSpeak
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt bargein="false">
My name is
<phoneme alphabet="unipa" ph="b A b">
Bob
</phoneme>
</prompt>
</block>
</form>
</vxml>
Cepstral
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt bargein="false">
My name is
<phoneme ph="b aa1 b">
Bob
</phoneme>
</prompt>
</block>
</form>
</vxml>

The output of the above script would be:

Computer: My name is Bob.

Child Tags

None

Parent Tags

<audio>, <emphasis>, <enumerate>, <foreach>, <paragraph>, <prompt>, <prosody>, <sentence>, <speak>, <voice>