Plum DEV Documentation
voicexml:tags:phoneme

This is an old revision of the document!


<phoneme>

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

Attributes

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 Section 4, 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

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

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