Speech Synthesis Markup Language Reference (Microsoft.Speech)
Speech Synthesis Markup Language (SSML) is an XML-based markup language that application developers use to control various characteristics of synthetic speech (text-to-speech, or TTS) output including voice, pitch, rate, volume, pronunciation, and other characteristics.
The Microsoft implementation of SSML is based on World Wide Web Consortium Speech Synthesis Markup Language (SSML) Version 1.0.
All SSML elements belong to the ssml namespace. The following elements are implemented in the Microsoft Speech Platform SDK 11.
Supports the insertion of recorded audio files.
An empty element used to control the prosodic boundaries between words.
Increases the level of stress with which the contained text is spoken.
Specifies a lexicon document that contains the pronunciations for the content of the document.
Designates a specific reference point in the text sequence. This element can also be used to mark an output audio stream for asynchronous notification.
p and s
Denote the paragraph and sentence structure of the document.
Indicates the phonetic pronunciation for the contained text. Overrides the pronunciations in the lexicon, if one is specified.
Controls the pitch, rate, and volume of the speech output.
pitch, contour, range, rate, duration, volume
Indicates the type of text contained in the element (such as acronym, number, and date).
interpret-as, format, detail
The required root element for all SSML documents.
version, xmlns, xml:lang
Specifies a string of text that should be pronounced in place of the text contained in the element.
Specifies a voice and its attributes, to be used for synthesized speech, often used to change from one voice to another.
xml:lang, gender, age, variant, name