emphasis Element (Microsoft.Speech)

Microsoft Speech Platform SDK 11

Collapse image Expand Image Copy image CopyHover image

Increases the level of stress (prominence) with which the contained text is spoken.

Syntax

XML Copy imageCopy Code
<emphasis level="string"> </emphasis>

Attributes

Attribute

Description

level

Indicates the strength of emphasis to be applied, using one of the following enumeration values: strong, moderate, none, reduced. The default level is moderate.

Remarks

The rendering of the contents of the emphasis element can vary depending on the speech synthesis engine, in particular among speech synthesis engines of different languages. Emphasis may be implemented using one or more of pitch change, timing changes, loudness, or other acoustic differences. A value of none in the level attribute can be used to prevent the speech synthesis engine from emphasizing words that it might typically emphasize.

Example

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

<sentence>
Please speak <emphasis level="strong"> loudly </emphasis>
</sentence>

</speak>