This program demonstrates how to use the waveOut
APIs to produce sounds of different frequencies.
Two classes can play sounds asynchronously (with some differences in implementation), and one show works in plain
synchronous mode.
The sample program takes a string you supply, converts it into Morse code, and then plays this code. You can
customize the frequency and duration of the sounds produced.
Using the asynchronous classes, it is possible to change frequency smoothly when sounds are playing, but sound
quality is not very good.
This code was tested only on VC++ 6.0 and Windows 98.