Web Audio · Timing
Sequencer
Sample-accurate drum machine with synthesised voices
Click the grid to edit. Space plays and stops.
Nothing here is a sample. The kick is a sine sweeping from 150 Hz to 48 Hz, the snare is band-passed noise over a short triangle body, and the clap is three noise bursts a few milliseconds apart with a longer tail — which is what a clap physically is.
The swing control delays every second step. It shifts when a note is reported, not the grid it sits on, so the downbeats stay exactly where they were no matter how long you leave it running.
How it works
A step sequencer whose timing does not drift, does not stutter under load, and does not fall apart in a background tab. Every drum sound is synthesised from oscillators and shaped noise, so the whole instrument ships as zero bytes of audio assets.
Read the full case study