ContourPoint 構造体
定義
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)
- 継承
- 実装
注釈
ピッチの輪郭は、音声出力の指定した位置にあるターゲットの配列として定義されます。The pitch contour is defined as an array of targets at specified time positions in the speech output. 各ターゲットは、3つのパラメーターによって定義されます。Each target is defined by three parameters. 最初の値は、含まれているテキストの期間の割合です (数字の後に "%" が続きます)。The first value is a percentage of the period of the contained text (a number followed by "%"). 2番目の値は、ピッチを増減する量を指定します。The second value specifies the amount to raise or lower the pitch. 3番目の値は、2番目の値に指定された数値に使用する単位を指定します。パーセンテージまたはヘルツ (Hz)。The third value designates the unit to use for the number specified in the second value; either percentage or hertz (Hz).
ContourPoint オブジェクトは、メソッドによって取得される GetContourPoints か、 TextFragment メソッドによってのピッチの輪郭を設定するために使用され SetContourPoints ます。ContourPoint 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 クラスの新しいインスタンスを作成します。Creates a new instance of the ContourPoint class. |
プロパティ
Change |
TextFragment のポイントのピッチを増減する量を示す値を取得します。Gets the value that represents the amount to raise or lower the pitch at a point in a TextFragment. |
ChangeType |
ChangeType オブジェクトの |
Start |
Single でピッチの変更を適用するポイントを指定する TextFragment を取得します。Gets 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(ContourPoint) |
指定した ContourPoint のインスタンスが、現在の ContourPoint インスタンスと等しいかどうかを判定します。Determines if a given instance of ContourPoint is equal to the current instance of ContourPoint. |
Equals(Object) |
指定されたオブジェクトが ContourPoint のインスタンスで、現在の ContourPoint のインスタンスと等しいかどうかを判定します。Determines if a given object is an instance of ContourPoint and equal to the current instance of ContourPoint. |
GetHashCode() |
このインスタンスのハッシュ コードを返します。Returns a hash code for this instance. |
演算子
Equality(ContourPoint, ContourPoint) |
ContourPoint の 2 つのインスタンスが等しいかどうかを判断します。Determines if two instances of ContourPoint are equal. |
Inequality(ContourPoint, ContourPoint) |
ContourPoint の 2 つのインスタンスが等しくないかどうかを判断します。Determines if two instances of ContourPoint are NOT equal. |