Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

Drum machine, up to 64 steps, eight drums.

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

A grid, a loop, a groove.

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.

02 / Sound

Made, not sampled

Drums are built from oscillators and noise the way analogue machines do it, so they play instantly with nothing to download.

03 / Swing

Push the off-beats

Swing delays every second sixteenth note a little, which turns a stiff beat into a groove.

Guide

How to make a beat, on a step sequencer.

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.

How to use the drum machine

  1. Pick a beat under Ready-made beats to start from, or click Clear for an empty grid.
  2. Press Play, or Space. A light runs across the grid to show the step that is playing.
  3. Click a step once for a normal hit, a second time for an accent (a louder hit), and a third time to clear it. Press and drag along a row to fill or clear several steps at once. Click a drum's name, or press its number from 1 (Kick) to 8 (Rim), to hear it on its own.
  4. Drag Tempo to set the speed in beats per minute, or click Tap in time with a song a few times to match it.
  5. Use M to mute a drum and S to solo it, so you can hear one part at a time.
  6. Under Save, choose a Length from 1 to 16 loops of the pattern and WAV or MP3 under Audio, then click Save audio or Save MIDI.
  7. Made a mistake? Undo, or Cmd+Z on a Mac and Ctrl+Z on Windows, steps back through your last 40 changes, including Clear and Surprise me.

Build a basic beat from scratch

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:

  • Kick on step 1 and step 9. This is the "one" and the "three".
  • Snare on step 5 and step 13, the "two" and the "four". This is the backbeat you clap along to. Make both accents.
  • Closed hat on every odd step: 1, 3, 5 and so on up to 15. That gives eighth notes, a steady tick between the big hits.

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.

The ready-made beats

Each beat sets its own tempo and swing. Load one, then change the hits to make it yours.

BeatTempoSwingWhat to listen for
Rock110 BPM0%Kick on steps 1, 9 and 11, accented snare on beats 2 and 4
Pop100 BPM0%Clap doubled with the snare, hats on every step
Hip hop90 BPM22%A kick on step 8 that swing pushes late, and an open hat at the end of the bar
House124 BPM0%Kick on every beat, open hat on the off-beats
Trap140 BPM0%One snare in the middle of the bar, quick hat rolls, rim clicks
Funk104 BPM12%Busy kick and extra snare hits between the backbeats
Reggaeton95 BPM0%Steady kick with the snare pattern landing around it
Disco118 BPM0%Four kicks with accented open hats between them
Breakbeat132 BPM8%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.

How swing works, with numbers

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.

Share a beat as a link

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, MP3 or MIDI

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

Good to know.

How do I make a beat?

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.

Can I use the beat in my video?

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.

What is the MIDI file for?

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.

Can I share my beat?

Yes. Click Copy link to this beat. The link holds the pattern, tempo and swing, so it opens the same beat for anyone.

What does swing do?

It plays every second step slightly late, which gives a shuffle or a laid-back hip hop feel. Try 15 to 30 percent.

Is my beat saved?

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.

How many steps can a pattern have?

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.

What tempo should I use?

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.

What is an accent?

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.

Which MIDI notes does it use?

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.

Why does my saved WAV not include one drum?

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.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch