ContourPoint 結構

定義

代表 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)
繼承
ContourPoint
實作

備註

音調分佈會定義為語音輸出中指定時間位置的目標陣列。 每個目標都是由三個參數所定義。 第一個值是包含文字句點的百分比, (數位後面接著 「%」) 。 第二個值會指定要提高或降低音調的數量。 第三個值會指定要用於第二個值中所指定數位的單位;百分比或 hertz (Hz) 。

ContourPoint 物件是由 GetContourPoints 方法取得,或用來設定 方法的 TextFragmentSetContourPoints 音調分佈。

建構函式

ContourPoint(Single, Single, ContourPointChangeType)

建立 ContourPoint 類別的新執行個體。

屬性

Change

取得值,代表在 TextFragment 中某點提高或降低音調的量。

ChangeType

取得 ChangeType 的成員,這會指定要用於 ContourPoint 物件的 change 參數中所指定數字的單位。

Start

取得指定要在 Single 中套用聲調變更之位置點的 TextFragment。 這是表示為 TextFragment 持續時間在該點上已耗用的百分比。

方法

Equals(ContourPoint)

判斷指定的 ContourPoint 執行個體是否等於目前的 ContourPoint 執行個體。

Equals(Object)

判斷指定的物件是否為 ContourPoint 執行個體並等於目前 ContourPoint 執行個體。

GetHashCode()

傳回這個執行個體的雜湊碼。

運算子

Equality(ContourPoint, ContourPoint)

判斷 ContourPoint 的兩個執行個體是否相等。

Inequality(ContourPoint, ContourPoint)

判斷 ContourPoint 的兩個執行個體是否不相等。

適用於