Tone.CurrentDuration Property

Gets or sets the tone duration.

Syntax

public int CurrentDuration

Notes

CurrentDuration is subject to range limits { DURATION.MIN - DURATION.MAX } as defined in the Range Constants.

Only constructors and assignments set this property. Other methods such as Play may use this property but do not update it with values from their argument list.

More Information

Tone Class