Skip to content
DeviceCheckHub

Drum Machine

A free online drum machine and beat maker: tap out a beat on 11 drum sounds, start from rock, hip-hop, house, trap, funk and 9 more styles, add swing and accents, and download your beat in a WAV or MIDI file. It works in your browser with nothing to install.

Kick on 1 and 3, snare on the backbeat (2 and 4), eighth-note hi-hats: the beat under most rock songs.

Press Play, then tap the squares to change the beat: once for a hit, twice for an accent.

How to use the drum machine

  1. Press Play (or the space bar). The rock beat plays and a light runs across the steps.
  2. Tap any square to change it: once for a hit, twice for an accent (louder), three times to clear it. Tap a drum’s name to hear it on its own, and M to mute its row. The small slider next to each drum sets its volume.
  3. Choose a beat to start from a style, or Clear to start from nothing. Switch to 32 steps for a two-bar pattern with a fill at the end.
  4. Set the tempo with the slider or Tap tempo, and add swing for a looser, human feel.
  5. Download WAV for four bars of audio, Download MIDI for the notes, or Copy link to share the beat: the address holds every step, the tempo and the swing.

How a drum beat is built

A step sequencer splits one bar of 4/4 time into 16 sixteenth notes. Count them “1 e and a, 2 e and a, 3 e and a, 4 e and a”: steps 1, 5, 9 and 13 are the four beats (the darker columns), steps 3, 7, 11 and 15 are the “ands” (the offbeat eighth notes), and the rest are the sixteenths between.

Most popular music rests on three parts. The kick drum marks the strong beats, usually 1 and 3. The snare (or a clap) plays the backbeat on 2 and 4, steps 5 and 13, which is what makes you nod your head. The hi-hat keeps time in between, in eighth notes (every second step) or sixteenths (every step). Move one kick to the “and” before a beat, or add a quiet snare ghost note, and the groove changes completely.

Drum beats by style

Every beat in the list, written out step by step: x is a hit, X an accent, a dot a rest. Press a name to load it.

BeatBPMPattern (16 steps)
110BD X.......x.x.....SD ....X.......X...CH x.x.x.x.x.x.x.x.Kick on 1 and 3, snare on the backbeat (2 and 4), eighth-note hi-hats: the beat under most rock songs.
100BD X.....x.x.......SD ....X.......X...CH x.x.x.x.x.x.x.x.OH ..............x.A rock backbeat with a pushed kick before beat 3 and an open hi-hat leading back to the top.
90BD X......x..x.....SD ....X.......X...CH x.x.x.x.x.x.x.x.OH ...........x....The “boom bap” of classic hip-hop: a syncopated kick, a heavy snare on 2 and 4, and a little swing.
140BD X......x..x.....CP ........X.......CH xxxxxxxxxxxxxxxxOH ..............x.Half-time trap: the clap on beat 3, rolling sixteenth-note hi-hats and a sparse kick.
124BD X...X...X...X...CP ....x.......x...CH x...x...x...x...OH ..x...x...x...x.Four on the floor: a kick on every beat, claps on 2 and 4 and open hi-hats on the offbeats.
130BD X...X...X...X...CP ....x.......x...RS ...x.......x..x.CH ..x...x...x...x.A driving four-on-the-floor kick with offbeat hats and a rimshot for movement.
118BD X...X...X...X...SD ....x.......x...CH x...x...x...x...OH ..x...x...x...x.The disco beat: four on the floor with a snare backbeat and the open hi-hat on every offbeat.
100BD X.........x.....SD ....X..x.x..X...CH xxxxxxxxxxxxxxxxSixteenth-note hats, a kick on 1 and the “and” of 3, and quiet ghost notes on the snare between the backbeats.
76BD ........X.......RS ........X.......CH ..x...x...x...x.The one drop: nothing on beat 1, kick and rimshot together on beat 3, and offbeat hi-hats.
174BD X.........x.....SD ....X.......X...CH x.x.x.x.x.x.x.x.The two-step break of drum and bass: a fast tempo with the kick on 1 and the “and” of 3.
95BD X...X...X...X...SD ...x..x....x..x.CH x.x.x.x.x.x.x.x.The dembow rhythm: a steady kick on every beat with the snare in a 3-3-2 pattern around it.
130BD X..xX..xX..xX..xRS x..x..x...x..x..CH x.x.x.x.x.x.x.x.A Brazilian groove: the kick on the beat and just before it, and the bossa clave on the rimshot.
96BD X.......X.......SD ....X.......X...CH x.x.x.x.x.x.x.x.Swing set to a triplet feel turns straight eighth notes into the long-short shuffle of blues.
105BD X..x..x...x.....SD ....x.......x...RS ...x..x....x..x.CH x.xxx.xxx.xxx.xxA syncopated afrobeats groove with a 3-3-2 rimshot over a busy hi-hat.

The eleven drum sounds

Swing, accents and groove

A drum machine plays every note exactly on the grid and at the same volume, which can sound stiff. Two controls loosen it. Accents make chosen hits louder, so a hi-hat line can lean on the beats and soften in between, and a quiet snare between the backbeats becomes a ghost note. Swing pushes every second sixteenth note (or eighth note) a little late: 54% to 60% gives the lazy bounce of hip-hop, funk and house, and 66% gives the triplet shuffle of blues and swing. Try the boom bap beat with swing at 50% and then at 60% to hear the difference.

Tips for programming drums

Frequently asked questions

How do I make a beat?

Press Play, then tap the squares: each row is a drum and each column a sixteenth note, so a bar of 4/4 has 16 steps with the beats on steps 1, 5, 9 and 13. Tap a square once for a hit, twice for a louder accent and a third time to clear it. Or start from one of the beats by style and change it.

What is swing on a drum machine?

Swing delays every second sixteenth note (or eighth note) so the rhythm bounces instead of marching. At 50% the notes are straight; at 66% the late note sits two thirds of the way through its pair, a triplet feel used for shuffles. Hip-hop and funk often sit between 54% and 60%.

Can I use the beats in my songs?

Yes. Download a WAV file of four bars to drop into any DAW or video editor, or a MIDI file to play the beat with your own drum sounds in GarageBand, FL Studio, Ableton Live, Logic or any app that reads MIDI. The sounds are made by this page, so there are no sample licences to worry about.

How are the drum sounds made?

Each sound is built in your browser with the Web Audio API, the way classic analog drum machines built theirs: the kick is a sine wave falling quickly in pitch, the snare a tone with a burst of filtered noise, the hi-hats short bursts of high noise, and the toms falling sine waves. Nothing is downloaded.

What BPM should I use?

It depends on the style: about 70 to 90 BPM for reggae and slow hip-hop, 90 to 110 for boom bap, funk and pop, 110 to 130 for rock, disco and house, 130 to 150 for techno and trap (felt at half speed), and around 170 to 175 for drum and bass. Each beat in the list opens at a typical tempo, and Tap tempo sets it from your own taps.

Why does the closed hi-hat cut off the open one?

On a real drum kit the open and closed hi-hat are the same pair of cymbals, so closing them stops the open sound. Drum machines copy this “choke”, and so does this one: an open hi-hat rings until the next closed hi-hat.

Can I use it with a keyboard?

Yes. Press the space bar to start and stop, Tab to reach the grid, the arrow keys to move between steps, and Enter or Space to change a step. Screen readers hear each step’s drum, number and state.

Last updated · About DeviceCheckHub