https://turbowarp.org/880432576/fullscreen?fps=250&hqpen&limitless This uses 32 sine waves to simulate a synth in scratch. The conversion between a wavetable to sine waves is just a discrete fourier transform.