"phoneme" Element

Description

Alters the pronunciation of text using phonetic symbols. The phoneme element may be empty. However, it is recommended that the element contain human-readable text that can be used for non-spoken rendering of the document.

This element is only supported with the TTS1 product set.

Syntax

<phoneme
  alphabet = "ipa" | "x-sampa"
  ph = "string">
  alternate text
</phoneme>

Attributes

AttributeDescription
alphabetSPR (Symbolic Phonetic Representation) to use for interpreting ph. Defaults to "ipa" if not specified. Optional field.
phText of the pronunciation variant. Mandatory field.

Parent

<audio>, <emphasis>, <p>, <prosody>, <s>, <speak>, <voice>

Children

#TEXT, #CDATA-SECTION

Limitations/Restrictions

The synthesizer only supports IPA and X-SAMPA phonetic alphabet formats. A limited subset of phonemes is valid for each language. For details, see the phonetic alphabets documentation.

Lowercase characters must be used to specify the alphabet attribute.

If the alphabet attribute is omitted, the default value is "ipa".

The maximum length of ph must be fewer than 64 phonetic symbols.

Example



Was this article helpful?