次の方法で共有


ProsodyVolume Enum

Definition

Enumerates values for the Volume property of a Prosody object.

public enum class ProsodyVolume
public enum ProsodyVolume
type ProsodyVolume = 
Public Enum ProsodyVolume
Inheritance
ProsodyVolume

Fields

Name Value Description
ExtraLoud -7

Maximum volume.

Loud -6

Approximately 80% of maximum volume.

Medium -5

Approximately 60% of maximum volume.

Soft -4

Approximately 40% of maximum volume.

ExtraSoft -3

Approximately 20% of maximum volume.

Silent -2

Volume off.

Default -1

Current default volume value, same as the value returned by the Volume property on the ITtsEngineSite site supplied to that engine.

Remarks

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.

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.

Applies to