f(x) =

This program graphs the function represented by the text in the first box when "Process Function" is pressed. By default, it is set to a function which, when played with the "Play Sound" button (after being graphed) will play a sin wave at the frequency (hertz) represented by the number being divided by s. s will always equal the sample rate of the tone generator. math.js is used to parse the function, and thus only syntax within math.js may be used to write the function. Any type of function may be used, but not all will produce tones.