语言

Prosody 类

定义

表示语音属性的设置集合,例如 Pitch和 RateVolume。

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

注解

该 Prosody 类表示对象上的 FragmentState 语音属性集合。 对象FragmentState在对象的属性State中TextFragment返回。

构造函数

名称 说明
Prosody()

构造类的新实例 Prosody 。

属性

名称 说明
Duration

获取或设置以毫秒为单位的 TextFragment 持续时间。

Pitch

获取或设置该 TextFragment对象的基线间距。

Range

获取或设置 . 的 TextFragment音调范围。

Rate

获取或设置该 TextFragment对象的说话速率。

Volume

获取或设置说话音量(音量)。TextFragment

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetContourPoints()

返回一个数组,其中包含 ContourPoints .TextFragment

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

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

设置 .ContourPointsTextFragment

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于