<phoneme>

New in VoiceXML 2.0. Speech Synthesis Markup Language element that provides a phonetic pronunciation for the contained text.

Syntax

 <phoneme
     alphabet="ipa"|"worldbet"|"xsampa"|"darpa"
     ph="phoneme_string" 
 >
   Text
 </phoneme>

Description

A phoneme element may be empty. However, your application code will be easier to understand and maintain if the element contains human-readable text that approximates the specified phoneme string.

Note: Any attribute is ignored; the contained text is spoken normally.

Attribute Description
alphabet

The phonetic alphabet used in the phoneme string. Optional (default is darpa).

Possible values are:

 •  darpa--DARPA phonetic alphabet
 •  ipa--International Phonetic Alphabet (IPA)
 •  worldbet--Worldbet (Postscript) phonetic alphabet
 •  xsampa--X-SAMPA phonetic alphabet

Note: This attribute is passed directly to the TTS engine. Currently, the TTS engine only supports DARPA and ignores the other values.

ph

The phoneme string in the specified phonetic alphabetic.

Usage

Parents Children
<audio>
<choice>
<emphasis>
<enumerate>
<p>
<paragraph>
<prompt>
<prosody>
<s>
<sentence>
<voice>

None

See Also

 •  SSML 1.0 Specification: <phoneme>
 •  Related tags: <break>, <emphasis>, <mark>, <paragraph>, <prosody>, <say-as>, <sentence>, <voice>

Example

 <?xml version="1.0" ?>
   <!DOCTYPE vxml PUBLIC "-//BeVocal Inc//VoiceXML 2.0//EN"
    "http://cafe.bevocal.com/libraries/dtd/vxml2-0-bevocal.dtd">
 
 <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:bevocal="http://www.bevocal.com/">
     <form>
         <block>
             <prompt>
                 <voice name="jennifer">
                     in good <phoneme ph="m eh 1 zh er 0"/>
                   </voice>
             </prompt>
         </block>
     </form>
 </vxml>

[Show Frames]   [FIRST] [PREVIOUS] [NEXT]
BeVocal, Inc. Café Home | Developer Agreement | Privacy Policy | Site Map | Terms & Conditions
Part No. 520-0001-02 | © 1999-2007, BeVocal, Inc. All rights reserved | 1.877.33.VOCAL