A free browser drum machine — program a step pattern, hit play, and download the loop as a WAV file. No account, no install, no server.
The sequencer divides each bar into equal time slices called steps. At each step, any active track fires its drum sound. The timing engine uses the Web Audio API — specifically a lookahead scheduler — to queue sounds ahead of the clock by a small buffer (~25 ms), so playback stays perfectly in time regardless of browser repaint lag.
OfflineAudioContext at 44 100 Hz stereo, then encodes the PCM data into a standard 16-bit WAV file and triggers a browser download — no server involved.
Step duration formula: stepSec = 60 / bpm / 4. For 16 steps at 120 BPM: 60/120/4 = 0.125 s per step → loop = 2.0 s.
OfflineAudioContext that renders every step of the loop at CD quality (44 100 Hz, 16-bit stereo). The raw PCM samples are then packed into a standard WAV container and downloaded as a file. The resulting file is a plain 44.1 kHz stereo WAV — compatible with every DAW (Ableton, Logic Pro, FL Studio, GarageBand, Reaper, and others) as a loop or one-shot sample. You can import it, time-stretch it, or layer it with other tracks.