Platform SDK: Web Telephony Engine

Text-to-Speech Style Properties

The aural cascading style sheet (CSS) is part of the CSS2 standard defined by the World Wide Web Consortium (W3C). The WTE supports a number of properties specified in the aural CSS. The properties related to text to speech (TTS) include volume, speech rate, and pitch. The TTS engine uses these properties when rendering HTLM text to a caller. You can set any of these properties in a style sheet or on a particular HTML element. The following example shows how to set CSS properties in a style sheet:

<STYLE>
    body {
        pitch:190;
        volume:medium;
        speech-rate:180;
    }
</STYLE>

This example shows how to set CSS properties on an HTML element:

<BODY STYLE="pitch:190; volume:medium; speech-rate:180;">

For more information about the aural CSS supported by the WTE, see CSS Properties. For more information about CSS, see the Web Workshop on the Microsoft Developer Network (MSDN) Web site.