01 / Steps
Sixteen per bar
Each row is a drum and each column a sixteenth note. Every fourth step is a beat, so it is easy to count.
Free tool
Click the steps to build a beat, press Play and change it while it loops. Eight drums made in the page: kick, snare, clap, closed and open hi-hat, two toms and a rim shot. Set the tempo or tap it, add swing for a laid-back groove, mute or solo any drum, or start from a ready-made beat like house, hip hop or reggaeton. Save it as a WAV for your video or a MIDI file for your music app.
Need a custom tool, app or website? Contact us →Click a step for a hit, again for an accent, again to clear, or drag across steps to fill them. Click a drum name, or press 1 to 8, to hear it. Space plays and stops, Cmd or Ctrl+Z undoes.
Ready-made beats
Save
The beat is made and saved in your browser. Your pattern is kept on this computer, and in the link only if you share it.
How it works
01 / Steps
Each row is a drum and each column a sixteenth note. Every fourth step is a beat, so it is easy to count.
02 / Sound
Drums are built from oscillators and noise the way analogue machines do it, so they play instantly with nothing to download.
03 / Swing
Swing delays every second sixteenth note a little, which turns a stiff beat into a groove.
Guide
An online drum machine lets you build a drum beat on a grid in your browser and loop it while you change it. Each row is a drum and each of the 16 columns is a sixteenth note, so one row of the grid is one bar of music. This one has eight drums made in the page, tempo and swing controls, nine ready-made beats, and saves your beat as WAV, MP3 or MIDI. You can share a beat as a link.
Steps 1, 5, 9 and 13 are the four beats of the bar, and they are marked on the grid so you can count "one, two, three, four". Most pop and rock beats start from the same three parts:
Press Play and you have a working beat. Now change one thing at a time. Add a kick on step 11 to push the second half. Move the hats onto every step for a busier feel. Put an Open hat on step 15 to lead back into the loop. The closed hat cuts an open hat short when it plays, as on a real kit, so an open hat right before a closed one sounds clipped on purpose.
Each beat sets its own tempo and swing. Load one, then change the hits to make it yours.
| Beat | Tempo | Swing | What to listen for |
|---|---|---|---|
| Rock | 110 BPM | 0% | Kick on steps 1, 9 and 11, accented snare on beats 2 and 4 |
| Pop | 100 BPM | 0% | Clap doubled with the snare, hats on every step |
| Hip hop | 90 BPM | 22% | A kick on step 8 that swing pushes late, and an open hat at the end of the bar |
| House | 124 BPM | 0% | Kick on every beat, open hat on the off-beats |
| Trap | 140 BPM | 0% | One snare in the middle of the bar, quick hat rolls, rim clicks |
| Funk | 104 BPM | 12% | Busy kick and extra snare hits between the backbeats |
| Reggaeton | 95 BPM | 0% | Steady kick with the snare pattern landing around it |
| Disco | 118 BPM | 0% | Four kicks with accented open hats between them |
| Breakbeat | 132 BPM | 8% | Broken kick, extra snares and a tom fill at the end |
Stuck for ideas? Surprise me fills the grid at random, but always keeps a kick on step 1 and snares on steps 5 and 13 so the result still feels like a beat.
Swing plays every second sixteenth note a little late. The amount depends on the tempo. At 100 BPM one beat lasts 0.6 seconds, so one step lasts 0.15 seconds, or 150 milliseconds. At 30% swing, this tool delays steps 2, 4, 6 and so on by 30% of two thirds of a step: 0.30 times 0.66 times 150, about 30 milliseconds. That small push is enough to turn a stiff, even pattern into a shuffle. Swing only changes hits on the in-between steps, so a beat with hats only on odd steps will not swing much. Add some hats or kicks on even steps to hear it.
The address bar holds the whole pattern after the # sign, with the tempo and swing, for example #beat=100-0-kick.1000000010100000_snare.0000200000002000. Each drum gets 16 digits: 0 for no hit, 1 for a hit, 2 for an accent. Click Copy link to this beat and send it; whoever opens it gets the same beat. The part after # is never sent to a server, so the beat stays between you and the person you send it to.
WAV is the finished sound, ready to drop into a video editor or under a voice-over. MP3 is the same sound at 192 kbps, much smaller, for sending or for a phone. Its length is the number of loops you pick times the length of the pattern, plus one second so the last hit can ring out. Four loops of a 16 step pattern at 100 BPM is 64 steps of 0.15 seconds, which is 9.6 seconds, so the file is about 10.6 seconds long. A file over 15 minutes is refused. The file is named with the tempo, such as beat-100bpm.wav, which helps when you line it up with other music.
MIDI holds the hits, not the sound. Open it in a music app and it plays your pattern on that app's drums, where you can swap the kit, change single hits or extend the arrangement. Accents come through as louder notes, swing is kept, and muted drums are left out of both files.
To count in before you play along, use the metronome. To find the tempo of a song you want to match, try the BPM finder, and to add a melody over your drums, open the song maker.
Questions
Start with the kick on steps 1 and 9, the snare on 5 and 13, and hats on every other step. Press Play and add or remove hits while it loops.
Yes. Save it as a WAV and add it in your editor. The sounds are made in the page, so there are no sample rights to clear.
It holds the notes, not the sound, using General MIDI drum notes on channel 10, so GarageBand, Logic, Ableton or FL Studio can play it with their own drum kits.
Yes. Click Copy link to this beat. The link holds the pattern, tempo and swing, so it opens the same beat for anyone.
It plays every second step slightly late, which gives a shuffle or a laid-back hip hop feel. Try 15 to 30 percent.
Yes, in this browser, so it is there when you come back. Copy link to this beat to keep it as a bookmark, or save a WAV, MP3 or MIDI file.
8, 12, 16, 24, 32, 48 or 64, chosen under Steps in the pattern. Each step is a sixteenth note, so 16 steps is one bar of 4/4 and 64 steps is four bars. Going to a longer pattern repeats what you have, when the new length is a whole multiple, so you can then change the second half. A pattern longer than 16 steps scrolls sideways inside its box and follows the playing step. Undo brings back the old length.
The ready-made beats give a starting point: about 90 BPM for hip hop, 124 for house and 140 for trap. You can set anything from 40 to 300 BPM with the slider or by typing a number, and the Tap button lets you match a song by ear.
An accent is a louder hit. Click a step twice to make one. Accents on the snare backbeat or on every fourth hat make a pattern feel less flat.
Standard General MIDI drum notes on channel 10: kick 36, rim 37, snare 38, clap 39, closed hat 42, low tom 45, open hat 46 and high tom 50.
That drum is muted, or another drum is soloed. The WAV and MIDI only include what you can hear, so clear the M and S buttons before you save.