I'd like to see a function similar to beep() that (A) works and (2) allows the caller to specify pitch, amplitude, and duration. With a sequence of calls to such a function, simple musical melodies could be generated.

Dr. Phillip M. Feldman