Generates the tone as a simple monotonic sound based on a specified pitch, volume and the CurrentDuration property of the Tone instance.
public int Play( int Pitch, VOLUME Vol )
Pitch
The tone's frequency specified in cycles-per-second (Hertz), subject to range limits defined by Tone.PITCH. The CurrentPitch property is not altered by the specified Pitch value.
Vol
The tone's volume, subject to range limits defined by Tone.VOLUME: OFF, LOW, NORMAL, LOUD, or VERY_LOUD. The CurrentVolume property is not affected by the specified Vol value.
A result code that indicates either success or a particular fault condition. This value can be tested with helper methods.