Share via


Note

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

PromptStyle.Volume Property

Gets or sets the setting for the volume (loudness) of the style.

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

Syntax

'Declaration
Public Property Volume As PromptVolume
    Get
    Set
'Usage
Dim instance As PromptStyle
Dim value As PromptVolume

value = instance.Volume

instance.Volume = value
public PromptVolume Volume { get; set; }

Property Value

Type: Microsoft.Speech.Synthesis.PromptVolume
Returns the setting for the volume (loudness) of the style.

Remarks

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.

See Also

Reference

PromptStyle Class

PromptStyle Members

Microsoft.Speech.Synthesis Namespace