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. 但是,任何特定合成语音引擎实现可以选择如何呈现的给定值的音频输出LoudHowever, any specific synthetic speech engine implementations may choose how to render audio output for a given value of Loud.

当前基卷设置为获取自定义复合语音引擎ProsodyVolume值通过Volume属性上的Volume提供给该引擎的站点。The current base volume setting for a custom synthetic speech engine is obtained as a ProsodyVolume value through the Volume property on the Volume site supplied to that engine. ProsodyVolumeProsodyVolume.

精确地优化并根据特定的管理输出量调制TextFragment对象,使用的成员ProsodyVolume若要设置Volume的实例上的属性Volume中创建或修改使用FragmentState对象实例的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 Volume used in creating or modifying the FragmentState object for the instance of TextFragment.

适用于