tone-generator icon indicating copy to clipboard operation
tone-generator copied to clipboard

This is a simple tone generator. It plays a given frequency for a given time. Includes a Tcl/Tk Gui.

Tone Generator

This program has two parts. First, it has the command line version, called generator. Second, it has the gui version, called Gui.tcl.

Generator is called with the form generator freq [duration] freq is the frequency of the tone in Hz. duration is the duration the tone will play in seconds. If duration isn't given, it is assumed to be 1 second.

The gui is just two text boxes that fill in this data and call generator.