This topic has not yet been rated Rate this topic

ssml:phoneme Element

Speech Server 2007

Indicates the phonetic pronunciation for the contained text.

<ssml:phoneme alphabet="x-microsoft-ups" ph="string"> </ssml:phoneme>

Term Definition

alphabet

Optional. Specifies the phonemic alphabet to use when synthesizing the pronunciation of the phoneme string. The string specifying the alphabet is case-sensitive and must be represented in lowercase letters.

ph

Required. Specifies the phoneme string to pronounce. The phonemes in the specified phoneme string must be space-delimited. If the phonemes are not space-delimited or the specified string contains an unrecognized phoneme, the text-to-speech (TTS) engine rejects the entire SSML document and produces none of the speech output specified in the document.

Custom pronunciations for TTS engines are expressed in phonemes specific to the language of the engine. If explicitly specified, values must be specified in uppercase letters. For a list of phonemes, see.

Even though the TTS engine ignores the content of the ssml:phoneme element (instead producing a pronunciation of the string specified in the ph attribute), place the text content in the element so that devices without speech capability can still render something intelligible in place of speech.

<?xml version="1.0" encoding="ISO-8859-1"?>
<ssml:speak version="1.0"
 xmlns:ssml="http://www.w3.org/2001/10/synthesis"
 xml:lang="en-US">

<ssml:sentence>
His name is Mike
<ssml:phoneme alphabet="x-microsoft-ups" ph="JH OW">Zhou</ssml:phoneme>
</ssml:sentence>

</ssml:speak>
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ