Last reviewed: 3/23/2024 11:27:25 AM

<phoneme>

The phoneme element represents a phonetic pronunciation of the words for the voice to use when synthesizing the text.

<?xml version="1.0"?>
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
                   http://www.w3.org/TR/speech-synthesis/synthesis.xsd"
         xml:lang="en-US">
  <phoneme alphabet="ipa" ph="t&#x259;mei&#x325;&#x27E;ou&#x325;"> tomato </phoneme>
  <!-- This is an example of IPA using character entities -->
  <!-- Because many platform/browser/text editor combinations do not
       correctly cut and paste Unicode text, this example uses the entity
       escape versions of the IPA characters.  Normally, one would directly
       use the UTF-8 representation of these symbols: "t?mei??ou??". -->
</speak>

Attributes

alphabet

Optional. Specifies the phonemic/phonetic alphabet as "ipa" or vendor-defined strings of the form "x-organization" or "x-organization-alphabet".

ph

String representing the phonemes to use in formulating the pronunciation when synthesizing.

Children

none

Parents

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

Source: Speech Synthesis Markup Language (SSML) Version 1.0