// live demo
Audio Worklet
A generative drone-and-arpeggio synth where every sample is computed
inside an AudioWorkletProcessor running on the browser's
dedicated audio render thread — band-limited oscillators, a cascaded
lowpass with a slow LFO, soft-clip. The main thread only nudges a few
AudioParams; an AnalyserNode drives the canvas.
- AudioWorklet
- AudioWorkletProcessor
- AudioParam
- AnalyserNode
- Canvas 2D
Heads up: click start to allow audio — browsers
block AudioContext until a user gesture. The whole synth
runs on the audio render thread, so it stays smooth even under main-thread
load. Modest volume by default; headphones recommended.
Not supported here. This browser doesn't expose
AudioWorklet, so the off-thread DSP can't run. The visualizer
below shows a calm idle frame instead.