ProsodyVolume Enumeration

Enumerates values for the Volume property of a Prosody object.

Namespace:  System.Speech.Synthesis.TtsEngine
Assembly:  System.Speech (in System.Speech.dll)

public enum ProsodyVolume

Member nameDescription
DefaultCurrent default volume value, same as the value returned by the Volume property on the ITtsEngineSite site supplied to that engine.
ExtraLoudMaximum volume.
ExtraSoftApproximately 20% of maximum volume.
LoudApproximately 80% of maximum volume.
MediumApproximately 60% of maximum volume.
SilentVolume off
SoftApproximately 40% of maximum volume.

Typically synthetic speech engine output volume as defined by the members of ProsodyVolume correspond to a percent of the maximum possible output loudness. For instance Loud corresponds to approximately 80% of the maximum volume. However, any specific synthetic speech engine implementations may choose how to render audio output for a given value of ProsodyVolume.

The current base volume setting for a custom synthetic speech engine is obtained as a ProsodyVolume value through the Volume property on the ITtsEngineSite site supplied to that engine. [T:System.Speech.Synthesis.TtsEngine.ProsodyVolume.]

Fine tuning and modulation of output volume is managed on the basis of particular TextFragment objects, using members of ProsodyVolume to set the Volume property on instances of Prosody used in creating or modifying the FragmentState object for the instance of TextFragment.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft