Partajați prin


Prosody Class

Definition

Represents a collection of settings for voice properties such as Pitch, Rate and Volume.

public ref class Prosody
public class Prosody
type Prosody = class
Public Class Prosody
Inheritance
Prosody

Remarks

The Prosody class represents a collection of voice properties on a FragmentState object. The FragmentState object is returned in the State property on a TextFragment object.

Constructors

Prosody()

Constructs a new instance of the Prosody class.

Properties

Duration

Gets or sets the duration of the TextFragment in milliseconds.

Pitch

Gets or sets the baseline pitch of the TextFragment.

Range

Gets or sets the pitch range of the TextFragment.

Rate

Gets or sets the speaking rate of the TextFragment.

Volume

Gets or sets the speaking volume (loudness) of the TextFragment.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetContourPoints()

Returns an array containing the ContourPoints of the TextFragment.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetContourPoints(ContourPoint[])

Sets the ContourPoints of the TextFragment.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to