r/webaudio • u/Longjumping_Abroad_2 • 4h ago
I built a small subtractive synth to learn the basics, with a Scope and a Spectrum after every stage (native Web Audio nodes, no audio libraries)

Hi! I've been playing with synths as a hobby for a while, and I always wanted to *see* what each knob actually does to the sound. So I built a small synth that runs in the browser: under every stage (the oscillators, the filter, the amp) there's a Scope showing the wave and a Spectrum showing its harmonics, both live as you play. Turn the Cutoff and you watch the harmonics go, and the wave's corners round off with them.
It's TypeScript, React and Vite on the browser's native Web Audio nodes, no audio libraries. Each stage is tapped by an AnalyserNode for its Scope and Spectrum. The part that took the most work was keeping the Scope's trace still: a zero-crossing trigger falls apart once resonance makes the wave ring through zero several times a cycle, so the trace is locked to the fundamental's phase instead, followed through vibrato and glide.
It's a plain subtractive synth, nothing new in the sounds. The idea is to help people get the basics: a short Tour, and nine Tutorials that rebuild a sound one knob at a time.
Play it (free, nothing to install, best in Chrome or Edge): https://gijom33.github.io/limpide/?campaign=r-musicprogramming-intro-2026-11
The code (MIT): https://github.com/gijom33/limpide
The Demo, 3 minutes, the synth playing on its own: https://youtu.be/WqUruWKtKus
The code is written with Claude Code, under my direction; the design, the sound and the testing are mine.
I'd love to hear what you think, especially from anyone who has fought Web Audio scheduling or analyser timing.






