Fourier Audio Toy

Rotating epicycles draw a waveform. The same generated waveform can also be played as sound. First draft: visual presets, harmonics, speed, trace length and Web Audio output.

Paused
Audio off

Current formula

Note: the drawn Y value is treated as amplitude for audio. The sliders let you change how many sine components are included and how quickly the animation advances.