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.

輸出磁片區的微調和相應放大是根據特定的 TextFragment 物件進行管理,使用 ProsodyVolume 的成員,在用於建立或修改 TextFragment 實例之 FragmentState 物件的 Prosody 實例上設定 @no__t 2 屬性。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.

適用於