語言

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
實作

備註

音高輪廓定義為語音輸出中指定時間位置的目標陣列。 每個目標由三個參數定義。 第一個值是所包含文本期間的百分比(數字後接「%」)。 第二個數值則指定要提高或降低音高的數量。 第三個值指定第二個值中指定的數字所使用的單位;可以是百分比或赫茲(Hz)。

ContourPoint 物件由該方法取得 GetContourPoints ,或用來設定 a TextFragmentSetContourPoints 的音高輪廓。

建構函式

名稱 Description
ContourPoint(Single, Single, ContourPointChangeType)

建立一個新的類別實例 ContourPoint 。

屬性

名稱 Description
Change

得到代表在某 TextFragment點提升或降低音高的值。

ChangeType

取得ChangeType一個成員,指定物件參數中指定changeContourPoint數量的單位。

Start

得到Single一個,指定在某個點應用音高變化。TextFragment 這表示為該時段持續時間 TextFragment 的經過百分比。

方法

名稱 Description
Equals(ContourPoint)

判斷給 ContourPoint 定的某個實例是否等於當前的 ContourPoint實例。

Equals(Object)

判斷給定物件是否為 的 ContourPoint 實例,且等於 的 ContourPoint當前實例。

GetHashCode()

傳回這個實例的哈希碼。

運算子

名稱 Description
Equality(ContourPoint, ContourPoint)

判斷兩個 的 ContourPoint 實例是否相等。

Inequality(ContourPoint, ContourPoint)

判斷兩個 的 ContourPoint 實例是否不相等。

適用於