ProsodyVolume 枚举

定义

枚举特定 Volume 对象的 Prosody 属性的值。Enumerates values for the Volume property of a Prosody object.

public enum class ProsodyVolume
public enum ProsodyVolume
type ProsodyVolume = 
Public Enum ProsodyVolume
继承
ProsodyVolume

字段

Default -1

当前默认音量值,与支持该引擎的 Volume 站点上的 ITtsEngineSite 属性返回的值相同。Current default volume value, same as the value returned by the Volume property on the ITtsEngineSite site supplied to that engine.

ExtraLoud -7

最大体积。Maximum volume.

ExtraSoft -3

大约最大体积的 20%。Approximately 20% of maximum volume.

Loud -6

大约最大体积的 80%。Approximately 80% of maximum volume.

Medium -5

大约最大体积的 60%。Approximately 60% of maximum volume.

Silent -2

静音。Volume off.

Soft -4

大约最大体积的 40%。Approximately 40% of maximum volume.

注解

通常 ProsodyVolume 的成员定义的综合语音引擎输出卷对应于响度的最大输出百分比。Typically synthetic speech engine output volume as defined by the members of ProsodyVolume correspond to a percent of the maximum possible output loudness. 例如,Loud 对应于最大容量的大约80%。For instance, Loud corresponds to approximately 80% of the maximum volume. 但是,任何特定的综合语音引擎实现可以选择如何为指定值 ProsodyVolume 呈现音频输出。However, any specific synthetic speech engine implementations may choose how to render audio output for a given value of ProsodyVolume.

自定义合成语音引擎的当前基本卷设置通过提供给该引擎的 ITtsEngineSite 站点上的 Volume 属性,获取为 @no__t 0 值。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.

输出卷的精细调整和调制根据特定 @no__t 0 对象进行管理,使用 ProsodyVolume 的成员在为 TextFragment 实例创建或修改 @no__t 对象时所用的 Prosody 实例上设置 Volume 属性。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.

适用于