Play 16 drum and percussion pads, then build a looping 16-step beat with tempo, swing and ready-made rhythms.
Pads tried 0 of 16
Beat for Kick
on: a filled circle off: a small hollow square playing now: a bright frame
Tap a pad to play it. Keys: 1 2 3 4, Q W E R, A S D F and Z X C V play the pads in the same layout. Arrow keys move between pads and Enter or Space plays one. The pad you play last is the sound the steps below belong to. Tap steps to put that sound in the loop, then press Play (or the P key). Sound starts off, so press the Sound button first. Nothing is saved; the page address holds your beat so you can send it as a link.
Nothing is recorded. A kick is a sine wave whose pitch drops fast from 150 Hz to 45 Hz. A snare mixes a short triangle tone with filtered noise. Hats are noise with the low sounds filtered out. Each sound fades out after a fraction of a second, and at most 12 sounds can play at once.
The loop has 16 steps, four to a beat. A timer wakes every 25 milliseconds and looks 100 milliseconds ahead on the audio clock. Steps that fall inside that window are given an exact start time, so a late timer does not make the beat wobble. Swing holds back every second step by a share of one step.
As-is, no warranty. These apps are free under their listed license and run entirely in your browser. Use at your own risk — don't blame me if your PC catches fire, your dog runs away, or the math turns out wrong. Verify anything that actually matters. None of this is professional financial, medical, legal, or engineering advice.
Press the Sound button first. Sound starts off, so the pads only light up until you turn it on. Then tap any of the 16 pads to hear it. The pads come in four colour families, and every pad also has its own shape and name, so colour is never the only clue:
| Row | Family | Pads |
|---|---|---|
| 1 | Drums (rose) | Kick, Snare, Clap, Rim |
| 2 | Cymbals and shakers (amber) | Hat, Open hat, Shaker, Cowbell |
| 3 | Toms (sky) | Floor tom, Low tom, Mid tom, High tom |
| 4 | Bass notes (violet) | Bass C, Bass E, Bass G, Bass C high |
On a keyboard the pads follow the same layout: 1 2 3 4, Q W E R, A S D F and Z X C V. You can also use the arrow keys to move between pads and Enter or Space to play one. Keys only work after you have clicked or tapped inside the game, so they never take over the rest of the page.
The pad you played last is the one the sixteen step buttons belong to. Tap a step to put that sound in the loop; a filled circle means on and a small hollow square means off. The steps form four rows, and each row is one beat. Press Play (or the P key) to hear the loop, and a bright frame follows the beat. A small dot on a pad tells you it already has steps.
If you play all 16 pads, the counter under the grid lights up.
Nothing is recorded or downloaded. Each sound is a small recipe of numbers, and the page turns the recipe into audio when a pad is hit:
The noise comes from a seeded random number generator, so a snare sounds the same every time. Every recipe is checked by a test: all numbers are finite, every frequency is between 20 Hz and 20 kHz, and no sound lasts longer than one second.
A web page’s timers are not exact; they can be late by tens of milliseconds when the page is busy. So the sequencer does not play a sound when its timer fires. Instead a timer wakes every 25 milliseconds, looks 100 milliseconds ahead on the audio clock, and gives each step that starts inside that window an exact start time. The sound itself is then placed on the audio clock, which runs on its own thread and does not wobble.
The step arithmetic is a pure function. One step is a sixteenth note, so it lasts 15 divided by the tempo in seconds: exactly 0.125 s at 120 BPM and 0.25 s at 60 BPM. Swing delays every second step by a percentage of that length, at most half a step, so steps never swap order. The tests simulate the 25 ms timer for several seconds at many tempos and swings, and check each step against a closed-form formula. If the page is frozen for more than a quarter of a second, the scheduler restarts from the present rather than firing a burst of old steps. A tempo change takes effect from the very next step.
Your beat is saved only in the page address. It has the tempo, the swing and a 64-digit code: four hex digits for each pad, one bit per step. A code that is not exactly 64 lower-case hex digits is ignored and the rock beat loads instead. The tests round-trip thousands of random patterns through this code.
Nothing is uploaded, there is no account, and nothing is kept on your device. Everything runs locally in your browser.
For informational purposes only. Not financial, medical, or legal advice. You are solely responsible for how you use these tools.