Share via


Note

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

PromptVolume Enumeration

Enumerates values for volume levels (loudness) in prompts.

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

Syntax

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

Members

Member name Description
NotSet Indicates that the volume level is not set.
Silent Indicates a muted volume level.
ExtraSoft Indicates an extra soft volume level.
Soft Indicates a soft volume level.
Medium Indicates a medium volume level.
Loud Indicates a loud volume level.
ExtraLoud Indicates an extra loud volume level.
Default Indicates the engine-specific default volume level.

Remarks

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

The Default setting for PromptVolume is full volume, which is the same as ExtraLoud. The other settings decrease the volume of speech output relative to full volume.

You can also set volume levels on the SpeechSynthesizer object. See TtsVolume and Volume.

See Also

Reference

Microsoft.Speech.Synthesis Namespace

Prompt

PromptBuilder