This doesn't mean that you have to be content with mere beeps, however. Using low-grade wizardry, you'll be able to vary the pitch and length of each tone. As such, you'll soon have the ability to play a simple melody by typing a few brief commands. It will also be trivial to include these sounds within your programs. The first, beep.c, takes commands from a file, whereas beep.c.direct can be accessed directly from the command line.
Usage is simple.
This will play a 440 Hz tone for 200 milliseconds, or a fifth of a second. Corp. All Rights Reserved.