Tiny Synth
A hand-written WebAssembly module generates every sample. Oscillators, envelopes and a lowpass filter run inside an AudioWorklet, with no audio libraries and no JavaScript in the sample loop.
Click "Start audio", then play with the keys A to K, or tap the on-screen keyboard. The source of the module is shown on the page.