[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function Tone - play a tone
Syntax void Tone(unsigned frequency, unsigned duration);
Prototype in sound.h
Remarks Tone() will play a tone of a specific frequency for
duration milliseconds. See sound.h for definitions
of common tones.
Return value returns nothing.
See also beep()
Example #include <sound.h>
main()
{
Tone(sA4s,2000u);
/* play A sharp for 2 seconds */
}
See Also:
beep()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson