The Man who Sold the Amp: How to Process Music with JS
summary
Live code shows how to take a guitar into the browser and process it in real time using Web Audio API and getUserMedia with audio constraints to disable echo cancellation and reduce latency. It implements volume with GainNode, harmonic shaping via WaveShaperNode with recalculated lookup tables, cabinet color with impulse response convolution, a three‑band EQ (low/high shelf and peaking filters) and a wet/dry reverb path. The demo is open source and runs live, recreating wah, overdrive and distortion flavors.
AI-written summary · about
chapters (12)
- 0:00Start
- 2:38Guitar Stack
- 3:58Media Stream Constraints
- 5:44Gain Node
- 9:30Overdrive vs Distortion vs Fuzz
- 10:09Wave Shaper Node
- 16:38Impulse Response
- 17:20Convolver Node
- 18:34Biquad Filter Nodes
- 24:20Connect Nodes
- 27:58Recap
- 28:37Rock it!
related talks
25mJavaScript, JavaScript…. Rocks You!
29mJavaScript, JavaScript…. Rocks You!
29mCode, Play & Rock 'n' Roll: A WebAudio Experiment
34mBuilding a Guitar Amplifier Using the Web Audio API
33mCode, Play & Rock 'n' Roll: A WebAudio Experiment
21mChanging live audio with the web-audio-api
19mChanging live audio with the web-audio-api
28mChannel your inner rockstar with the web audio API
