#define PlayToneEx ( _freq,
_dur,
_vol,
_loop   )     __PlayToneEx(_freq,_dur,_vol,_loop)

Play a tone with extra options.

Play a single tone of the specified frequency, duration, and volume. The frequency is in Hz (see the Tone constants group). The duration is in 1000ths of a second (see the Time constants group). Volume should be a number from 0 (silent) to 4 (loudest). Play the tone repeatedly if loop is true.

Parameters:
_freq The desired tone frequency, in Hz.
_dur The desired tone duration, in ms.
_vol The desired tone volume.
_loop A boolean flag indicating whether to play the tone repeatedly.

Generated by  doxygen 1.6.2