ProsodyVolume ProsodyVolume ProsodyVolume ProsodyVolume Enum

定义

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

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

字段

Default Default Default 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 ExtraLoud ExtraLoud ExtraLoud -7

最大体积。Maximum volume.

ExtraSoft ExtraSoft ExtraSoft ExtraSoft -3

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

Loud Loud Loud Loud -6

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

Medium Medium Medium Medium -5

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

Silent Silent Silent Silent -2

数目Volume off

Soft Soft Soft 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.

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

TextFragment使用的Volume Prosody FragmentState成员在创建或修改对象时使用的实例上设置属性, 对输出卷进行微调和调制管理ProsodyVolume的实例TextFragmentFine 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.

适用于