Partager via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

PromptEmphasis Enumeration

Enumerates values for the levels of speaking emphasis in prompts.

Namespace:  Microsoft.Speech.Synthesis
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public Enumeration PromptEmphasis
'Usage
Dim instance As PromptEmphasis
public enum PromptEmphasis

Members

Member name Description
NotSet Indicates that no emphasis value is specified.
Strong Indicates a strong level of emphasis.
Moderate Indicates a moderate level of emphasis.
None Indicates no emphasis.
Reduced Indicates a reduced level of emphasis.

Remarks

Members of the PromptEmphasis enumeration are used by the PromptStyle(PromptEmphasis) constructor, by the AppendText(String, PromptEmphasis) method, and by the StartStyle(PromptStyle) method to specify the level of emphasis for spoken text. The Emphasis property gets the emphasis for a PromptStyle object using a PromptEmphasis instance.

Note

The speech synthesis engines for the Microsoft Speech Platform do not support the PromptEmphasis at this time. Setting values for PromptEmphasis will produce no change in the synthesized speech output.

See Also

Reference

Microsoft.Speech.Synthesis Namespace

Prompt

PromptBuilder