r/creativecoding • u/lukehaas • 1h ago
I built an interactive article that derives music theory from scratch in raw Web Audio
I can't play an instrument, so I worked out music theory from first principles in JavaScript instead, starting from a single oscillator.
Every example is editable and runs in the page, so you can change a number and hear it. No audio libraries, just raw Web Audio.
