← /lab

// 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.

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.