<phoneme>

<phoneme>

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

Attributes

NameData typeDescription

ph

String

The pronunciation of the enclosed text.

alphabet

String

This value is disregarded except with 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

<?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>

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>

Last updated