ContourPoint ContourPoint ContourPoint ContourPoint Struct

Definition

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)
Inheritance
ContourPointContourPointContourPointContourPoint
Implements

Remarks

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. The third value designates the unit to use for the number specified in the second value; either percentage or hertz (Hz).

ContourPoint objects are obtained by the GetContourPoints method, or used to set the pitch contour for a TextFragment by the SetContourPoints method.

Constructors

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

Creates a new instance of the ContourPoint class.

Properties

Change Change Change Change

Gets the value that represents the amount to raise or lower the pitch at a point in a TextFragment.

ChangeType ChangeType ChangeType ChangeType

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

Gets a Single that specifies the point at which to apply the pitch change in a TextFragment. This is expressed as the elapsed percentage of the duration of the TextFragment at that point.

Methods

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

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)

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.

Operators

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

Determines if two instances of ContourPoint are equal.

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

Determines if two instances of ContourPoint are NOT equal.

Applies to