ContourPoint ContourPoint ContourPoint ContourPoint Struct

定義

代表 TextFragment 語音內容的音調變更。Represents changes in pitch for the speech content of a TextFragment.

public value class ContourPoint : IEquatable<System::Speech::Synthesis::TtsEngine::ContourPoint>
public struct ContourPoint : IEquatable<System.Speech.Synthesis.TtsEngine.ContourPoint>
type ContourPoint = struct
Public Structure ContourPoint
Implements IEquatable(Of ContourPoint)
繼承
ContourPointContourPointContourPointContourPoint
實作

備註

音調輪廓會定義為語音輸出中指定時間位置的目標陣列。The pitch contour is defined as an array of targets at specified time positions in the speech output. 每個目標都是由三個參數所定義。Each target is defined by three parameters. 第一個值是包含文字的期間百分比 (後面接著 "%" 的數位)。The first value is a percentage of the period of the contained text (a number followed by "%"). 第二個值指定要提高或降低音調的數量。The second value specifies the amount to raise or lower the pitch. 第三個值會指定要用於第二個值中所指定之數位的單位;百分比或赫茲 (Hz)。The third value designates the unit to use for the number specified in the second value; either percentage or hertz (Hz).

ContourPoint物件是由GetContourPoints方法取得, 或用來設定SetContourPoints方法的間距分佈TextFragmentContourPoint objects are obtained by the GetContourPoints method, or used to set the pitch contour for a TextFragment by the SetContourPoints method.

建構函式

ContourPoint(Single, Single, ContourPointChangeType) ContourPoint(Single, Single, ContourPointChangeType) ContourPoint(Single, Single, ContourPointChangeType) ContourPoint(Single, Single, ContourPointChangeType)

建立 ContourPoint 類別的新執行個體。Creates a new instance of the ContourPoint class.

屬性

Change Change Change Change

取得值,代表在 TextFragment 中某點提高或降低音調的量。Gets the value that represents the amount to raise or lower the pitch at a point in a TextFragment.

ChangeType ChangeType ChangeType ChangeType

取得 ChangeType 的成員,這會指定要用於 ContourPoint 物件的 change 參數中所指定數字的單位。Gets a member of ChangeType that specifies the unit to use for the number specified in the change parameter of a ContourPoint object.

Start Start Start Start

取得指定要在 Single 中套用聲調變更之位置點的 TextFragmentGets a Single that specifies the point at which to apply the pitch change in a TextFragment. 這是表示為 TextFragment 持續時間在該點上已耗用的百分比。This is expressed as the elapsed percentage of the duration of the TextFragment at that point.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否為 ContourPoint 執行個體並等於目前 ContourPoint 執行個體。Determines if a given object is an instance of ContourPoint and equal to the current instance of ContourPoint.

Equals(ContourPoint) Equals(ContourPoint) Equals(ContourPoint) Equals(ContourPoint)

判斷指定的 ContourPoint 執行個體是否等於目前的 ContourPoint 執行個體。Determines if a given instance of ContourPoint is equal to the current instance of ContourPoint.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

傳回這個執行個體的雜湊碼。Returns a hash code for this instance.

運算子

Equality(ContourPoint, ContourPoint) Equality(ContourPoint, ContourPoint) Equality(ContourPoint, ContourPoint) Equality(ContourPoint, ContourPoint)

判斷 ContourPoint 的兩個執行個體是否相等。Determines if two instances of ContourPoint are equal.

Inequality(ContourPoint, ContourPoint) Inequality(ContourPoint, ContourPoint) Inequality(ContourPoint, ContourPoint) Inequality(ContourPoint, ContourPoint)

判斷 ContourPoint 的兩個執行個體是否不相等。Determines if two instances of ContourPoint are NOT equal.

適用於