<phoneme>

Description

Specifies a phonetic pronunciation for the contained text.  The format of the representation is vendor-specific, and does not always use the IPA alphabet.  See your vendor documentation for details.

Syntax

<phoneme
    ph="string"
    alphabet="ipa" | "vendor-specific format">
  text
</phoneme>

Attributes

Attribute

Description

ph

Specifies the phonetic string. Required.

alphabet

Specifies the alphabet to use. Optional.

Parents

Audio Emphasis Enumerate ForEach Paragraph Prompt Prosody Sentence Speak Voice

Children

#PCDATA

Limitations/Restrictions

Example

To include speech markup tags, insert the SSML tags inside one of the <prompt>, <audio>, <enumerate>, or <foreach> (within <prompt>) elements.

<prompt>
   <!-- If your TTS engine supports the 'ipa' alphabet, -->
   <!-- then this reads out "tomato" with a UK accent -->
   <phoneme alphabet="ipa" ph="t&#x252;m&#x251;to&#x28A;"/>
</prompt>