Prosody 类

定义

表示语音属性设置的集合,如 PitchRateVolumeRepresents a collection of settings for voice properties such as Pitch, Rate and Volume.

public ref class Prosody
public class Prosody
type Prosody = class
Public Class Prosody
继承
Prosody

注解

Prosody类表示对象的语音属性的集合 FragmentStateThe Prosody class represents a collection of voice properties on a FragmentState object. 对象的 FragmentState 属性中返回对象 State TextFragmentThe FragmentState object is returned in the State property on a TextFragment object.

构造函数

Prosody()

构造 Prosody 类的新实例。Constructs a new instance of the Prosody class.

属性

Duration

获取或设置 TextFragment 的持续时间(以毫秒为单位)。Gets or sets the duration of the TextFragment in milliseconds.

Pitch

获取或设置 TextFragment 的基线间距。Gets or sets the baseline pitch of the TextFragment.

Range

获取或设置 TextFragment 的范围间距。Gets or sets the pitch range of the TextFragment.

Rate

获取或设置 TextFragment 的语速。Gets or sets the speaking rate of the TextFragment.

Volume

获取或设置 TextFragment 的音量(大声)。Gets or sets the speaking volume (loudness) of the TextFragment.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetContourPoints()

返回包含 ContourPointsTextFragment 的数组。Returns an array containing the ContourPoints of the TextFragment.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
SetContourPoints(ContourPoint[])

设置 ContourPointsTextFragmentSets the ContourPoints of the TextFragment.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于