O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Speech Synthesis Markup Language File

In addition to allowing TTS with strings, the speech synthesizer allows you to define speech using the Speech Synthesis Markup Language (SSML). SSML offers a powerful language for authoring TTS scripts.

The structure of an SSML document consists of a root speak element, which has an xml:lang attribute that determines the default speaking voice used. See Listing 23.18.

Voice elements define sections of speech that allow the speaking voice to be customized, including gender and language.

The stress and intonation of the speech can be modified using the prosody element, allowing you to vary the volume and pitch of a word or speech fragment. For more detailed information on the prosody element, see ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required