Constructor | Description |
---|---|
PolyTone (int Pitch, int Duration, int Volume) | Creates an instance of the PolyTone class with a specified pitch, duration, and volume for each tone in the sequence. Volume is defined by the range in Tone.VOLUME. |
PolyTone (int Pitch, int Duration, Tone.VOLUME Volume) | Creates an instance of the PolyTone class with a specified pitch, duration, and volume for each tone in the sequence. Volume is defined by an integer. |
Method | Description |
---|---|
Play | Plays each tone sequentially in the order specified by the constructor arguments. |
Property | Description |
---|---|
Count | Returns the number of valid tones contained in a PolyTone instance. |
CurrentVolume | Gets and sets the current volume of the tone sequence. |
EnableCtorExceptions | Determines whether or not exceptions can be raised by PolyTone constructors. |
EnableExceptions | Determines whether or not exceptions can be raised by PolyTone methods. |
IsPlayable | Returns a bool indicating whether or not a tone sequence is valid. |
LastResultMessage | Returns a string describing the results of the most recently called PolyTone.Play method or constructor. |