Free, in your browser, no sign-up

Online Drum Machine

This online drum machine is a step grid with a row for every drum: click the steps, press play and the beat loops on a recorded kit or an 808‑style or 909‑style kit. Add swing, chain four patterns into a longer part, and download the beat as MIDI, WAV or MP3, free in your browser with no sign-up.

Start from a groove

Open in the studio

Play the beat on any kit

ChainAAAB
Crash
Ride
Open hat
Hi-hat
Pedal
High tom
Mid tom
Floor tom
Clap
Rimshot
Snare
Kick

Click a step: normal, then accent, then soft, then off. Changes play from the next step.

steps a bar, each normal, accent or soft
16 or 32
strokes on time with the page frozen a quarter of every second
120 of 120
chained in any order into a longer part
4 patterns
a recorded acoustic kit, 808‑style and 909‑style
3 kits
by style, ready to load and change
24 grooves
MIDI, WAV and MP3 of 2 to 16 bars, free
3 formats

What is an online drum machine?

An online drum machine is a step sequencer in your browser: each drum has a row of steps, and the steps you switch on play in a loop at the tempo you set. This drum machine online plays a recorded kit or 808‑style and 909‑style sounds, keeps time on the audio thread, chains four patterns and downloads MIDI, WAV and MP3, free.

How to make a beat on the online drum machine

A beat in three moves: start from a groove or a blank grid, shape it, and take it with you.

  1. Load a groove or start empty

    Pick one of 24 grooves, from house to bossa nova, or clear pattern A and begin with the kick on beat 1. Press play and the drum machine loops the bar.

  2. Click steps and set the feel

    Each click moves a step from normal to accent to soft to off. Set the tempo, add swing, and write a fill in pattern B, then chain A A A B.

  3. Download the beat

    Choose how many bars, then download MIDI for your DAW, with one track or a track for every drum, or the sound as WAV or MP3.

A free drum machine that keeps the groove

What makes a drum machine worth using: a clear grid, steady timing, real control of the feel, and files that go straight into the rest of your music.

Sunlight casting a grid of squares across a terracotta tile floor

A step grid with a row for every drum

The drum machine shows one bar as a grid: a row for each drum of the kit, from crash to kick, and a column for each step. Steps are grouped by beat, the step playing now is lit, and each row has its own mute and solo, so you can hear the kick and snare alone while you shape them.

It keeps time even when the page is busy

Most drum machines in a browser book their next strokes from the page, so a busy tab can push them late. This one places every step on the audio thread, sample by sample. In our runs with the page frozen for 250 ms every second, all 120 strokes in 30 seconds landed on their steps, to the sample.

Swing from straight to heavy

Swing moves the second note of every pair later, from 50%, perfectly straight, to 75%, a hard shuffle, measured as the share of the pair where the second note lands. Swing by sixteenths or by eighths: around 54% on sixteenths loosens funk, and boom bap and lo-fi swing their hi-hat eighths at 58% to 62% to get their lean. The drum machine applies it on the audio thread too.

Four patterns chained into a longer part

Write up to four patterns, A to D, and chain them in any order, up to sixteen links: A A A B puts a fill at the end of every four bars, A B A C turns two variations into a phrase. Loop one pattern while you edit it, then play the chain to hear the whole part.

Real drums or 808‑style and 909‑style sounds

Play the same grid on a recorded acoustic kit, each drum in three velocity layers, or switch to the 808‑style kit for long, deep kicks and claps or the 909‑style kit for punchy house drums. The electronic kits are made in your browser and load nothing.

24 grooves to start from

Rock, funk, disco, boom bap, trap, house, techno, drum and bass, dembow, afrobeat, bossa nova, a 6/8 ballad, a waltz, jazz swing and a blues shuffle, each with its own tempo, meter and swing. Load one into the drum machine and change any step.

Record into the grid from the pads or MIDI drums

Turn on Record into the grid and play the pads, your computer keys or an electronic drum kit while the beat runs: each stroke lands on the nearest step of the pattern playing, loud strokes as accents and soft ones as ghost notes.

Download MIDI, WAV or MP3, free

Download 2 to 16 bars of the beat: a MIDI file on the General MIDI drum channel, with one track or a track for every drum, a 16-bit WAV or a 192 kbps MP3, rendered by the same code that plays it.

Drum patterns to load into the drum machine

The 24 grooves of this online drum machine, each one bar written as a grid and as a text grid, with its meter, tempo and swing. Press play to hear it, or open it in the drum machine and make it yours.

  • Basic rock beat

    4/4 · 100 BPM · Acoustic

    Kick on 1 and 3, snare on 2 and 4, eighth notes on the closed hi-hat.

    H  |X-x-|X-x-|X-x-|X-x-|
    S  |----|x---|----|x---|
    K  |x---|----|x---|----|
    Open in the drum machine
  • Rock with ghost notes

    4/4 · 100 BPM · Acoustic

    The rock beat with soft snare strokes between the backbeats and an open hi-hat that the next closed hat stops.

    O  |----|----|----|--x-|
    H  |X-x-|X-x-|X-x-|X---|
    S  |----|X--o|-o--|X--o|
    K  |x---|----|x-x-|----|
    Open in the drum machine
  • Half-time rock

    4/4 · 140 BPM · Acoustic

    The snare moves to beat 3, so the song feels half as fast over the same hi-hat.

    Rd |x-x-|x-x-|x-x-|x-x-|
    S  |----|----|X---|----|
    K  |x---|----|--x-|----|
    Open in the drum machine
  • Fast punk beat

    4/4 · 180 BPM · Acoustic

    Kick on every beat and snare on every offbeat eighth, very fast.

    Cr |x---|----|----|----|
    H  |--x-|x-x-|x-x-|x-x-|
    S  |--X-|--X-|--X-|--X-|
    K  |x---|x---|x---|x---|
    Open in the drum machine
  • Double kick metal

    4/4 · 150 BPM · Acoustic

    Sixteenth notes on the kick under a ride and a backbeat on 2 and 4.

    Cr |X---|----|----|----|
    Rd |--x-|x-x-|x-x-|x-x-|
    S  |----|X---|----|X---|
    K  |xxxx|xxxx|xxxx|xxxx|
    Open in the drum machine
  • Funk sixteenths

    4/4 · 98 BPM · swing 54% on sixteenths · Acoustic

    Sixteenths on the hi-hat with accents on the eighths, ghost notes on the snare and a kick that skips ahead.

    H  |Xoxo|Xoxo|Xoxo|Xoxo|
    S  |----|X--o|-o--|X--o|
    K  |x-x-|----|--x-|-x--|
    Open in the drum machine
  • Disco

    4/4 · 118 BPM · Acoustic

    Four on the floor with the open hi-hat on every offbeat.

    O  |--x-|--x-|--x-|--x-|
    H  |x---|x---|x---|x---|
    S  |----|X---|----|X---|
    K  |x---|x---|x---|x---|
    Open in the drum machine
  • Boom bap

    4/4 · 90 BPM · swing 58% on eighths · Acoustic

    A heavy kick and snare with swung eighth notes on the hi-hat, the classic hip hop groove.

    H  |x-x-|x-x-|x-x-|x-x-|
    S  |----|X---|----|X---|
    K  |x---|---x|--x-|----|
    Open in the drum machine
  • Lo-fi hip hop

    4/4 · 80 BPM · swing 62% on eighths · Acoustic

    Hi-hat eighths with a lazy swing, soft on the beat, the side stick on the backbeat.

    H  |o-x-|o-x-|o-x-|o-x-|
    X  |----|x---|----|x---|
    K  |x---|----|x-x-|----|
    Open in the drum machine
  • Trap

    4/4 · 140 BPM · 808‑style

    Half-time snare and clap on beat 3, long 808-style kicks and hi-hat rolls in thirty-second notes.

    H  |x-x-x-x-|x-x-xxxx|x-x-x-x-|x-xxx-x-|
    C  |--------|--------|X-------|--------|
    S  |--------|--------|x-------|--------|
    K  |x-------|--x-----|--------|x-----x-|
    Open in the drum machine
  • Electro

    4/4 · 120 BPM · 808‑style

    Syncopated 808‑style kicks, a clap on 2 and 4 and a cowbell on the and of 1 and the and of 3.

    Cb |--x-|----|--x-|----|
    H  |xoxo|xoxo|xoxo|xoxo|
    C  |----|x---|----|x---|
    K  |x---|--x-|x---|--x-|
    Open in the drum machine
  • Four on the floor house

    4/4 · 124 BPM · 909‑style

    Kick on every beat, clap on 2 and 4, open hi-hat on every offbeat.

    O  |--x-|--x-|--x-|--x-|
    H  |x---|x---|x---|x---|
    C  |----|x---|----|x---|
    K  |x---|x---|x---|x---|
    Open in the drum machine
  • Techno

    4/4 · 130 BPM · 909‑style

    A steady kick, ride eighths, an open hi-hat on the offbeats and a rimshot that skips around.

    Rd |x-x-|x-x-|x-x-|x-x-|
    O  |--x-|--x-|--x-|--x-|
    C  |----|x---|----|x---|
    R  |---x|--x-|---x|--x-|
    K  |x---|x---|x---|x---|
    Open in the drum machine
  • Drum and bass

    4/4 · 174 BPM · Acoustic

    Fast two-step with a break’s feel: the kick on 1 and the and of 3, the snare on 2 and 4 with ghost notes around it, busy hi-hats.

    H  |x-xo|x-x-|x-xo|x-xo|
    S  |----|X--o|-o--|X-o-|
    K  |x---|----|--x-|----|
    Open in the drum machine
  • Breakbeat

    4/4 · 105 BPM · swing 55% on eighths · Acoustic

    Two kicks up front, ghost notes around the snare and the hi-hat eighths swung a little.

    H  |x-x-|x-x-|x-x-|x-x-|
    S  |----|X--o|-o--|X--o|
    K  |x-x-|----|--x-|----|
    Open in the drum machine
  • Reggae one drop

    4/4 · 76 BPM · swing 64% on eighths · Acoustic

    Nothing on beat 1: the kick and a side stick land together on beat 3, under swung hi-hats.

    H  |x-x-|x-x-|x-x-|x-x-|
    X  |----|----|x---|----|
    K  |----|----|x---|----|
    Open in the drum machine
  • Dembow

    4/4 · 95 BPM · 808‑style

    Kick on every beat and the snare on the and-a of each half bar, the reggaeton pulse.

    H  |x-x-|x-x-|x-x-|x-x-|
    S  |---x|--x-|---x|--x-|
    K  |x---|x---|x---|x---|
    Open in the drum machine
  • Afrobeat

    4/4 · 110 BPM · swing 52% on sixteenths · Acoustic

    A busy sixteenth hi-hat with accents, a kick that answers itself and soft snare strokes.

    H  |XoxX|oxXo|XoxX|oxXo|
    S  |----|x--o|--o-|x---|
    K  |x---|--x-|x---|--x-|
    Open in the drum machine
  • Bossa nova

    4/4 · 130 BPM · Acoustic

    The side stick plays the bossa rhythm over a two-beat kick and steady eighths.

    H  |x-o-|x-o-|x-o-|x-o-|
    X  |x--x|--x-|--x-|-x--|
    K  |x--x|x--x|x--x|x--x|
    Open in the drum machine
  • Country train beat

    4/4 · 110 BPM · Acoustic

    Sixteenths on the snare, soft except the accents on 2 and 4, like a train on the rails.

    S  |oooo|Xooo|oooo|Xooo|
    K  |x---|----|x---|----|
    Open in the drum machine
  • 6/8 ballad

    6/8 · 60 BPM · Acoustic

    Two beats a bar of three eighths each: kick on 1, snare on 4, eighths on the hi-hat.

    H  |x-x-x-|x-x-x-|
    S  |------|x-----|
    K  |x-----|------|
    Open in the drum machine
  • Waltz

    3/4 · 140 BPM · Acoustic

    Three beats a bar: the kick on 1, the hi-hat on 2 and 3.

    H  |----|x---|x---|
    K  |x---|----|----|
    Open in the drum machine
  • Jazz ride swing

    12/8 · 120 BPM · Acoustic

    The ride’s swing pattern in triplets, the hi-hat pedal on 2 and 4 and a light kick on every beat.

    Rd |x--|x-x|x--|x-x|
    P  |---|x--|---|x--|
    S  |---|--o|---|---|
    K  |o--|o--|o--|o--|
    Open in the drum machine
  • Blues shuffle

    12/8 · 90 BPM · Acoustic

    Long and short notes in triplets on the hi-hat, the backbeat on 2 and 4.

    H  |x-x|x-x|x-x|x-x|
    S  |---|X--|---|X--|
    K  |x--|---|x--|---|
    Open in the drum machine

Hear nine beats made on this online drum machine

Each example was rendered by the drum machine itself, the same schedule and sounds you play: two patterns chained, disco, techno on the 909‑style kit, electro on the 808‑style kit, drum and bass, bossa nova, a blues shuffle in 12/8, a 6/8 ballad, and one pattern played straight and then swung.

How a step sequencer works

A step sequencer divides a bar into equal steps and gives each drum a row of them. In 4/4 at 16 steps a bar every step is a sixteenth note, so steps 1, 5, 9 and 13 are the four beats. A step that is on plays its drum when the loop reaches it; a step that is off stays silent.

This online drum machine adds a strength to every step: one click for a normal stroke, two for an accent, three for a soft ghost note, four to clear it. The drums play those strengths from their own recorded layers, so an accent sounds harder, not only louder.

Click a step while the beat is stopped and you hear it at once, so you can find the sound before you press play.

Steps, meters and tempo

Switch to 32 steps for thirty-second notes, which hi-hat rolls in trap need. In 3/4 and 6/8 a bar holds 12 steps, or 24; in 12/8 its 12 steps are the eighth notes of four triplet beats, the grid of a shuffle or a jazz ride pattern.

The tempo runs from 40 to 300 BPM and counts the meter’s beat: a quarter note in 4/4 and 3/4, a dotted quarter in 6/8 and 12/8. A new tempo takes over at the start of the next swing pair, so the loop keeps its stride while you change it.

What swing does to a beat

Straight notes split each pair evenly. Swing pushes the second of each pair later, written as the share of the pair where it lands: 50% is straight, 66% is a full triplet feel and 75% a hard shuffle. Pick what pairs up: sixteenths, for busy hi-hats and ghost notes, or eighths, for hi-hats in eighths, where swing by sixteenths would leave every hat in place. Small amounts, 52% to 56%, are felt more than heard and make a programmed beat breathe.

Hear it in the examples above: the same lo-fi pattern plays two bars straight, then two bars with its hi-hat eighths swung to 62%. The 12/8 meter is already in threes, so it plays without the swing control.

Building a song part with patterns and the chain

Most drum parts repeat a bar with small changes. Write the main groove in pattern A, a fill in B, perhaps a variation in C, and chain them: A A A B ends every fourth bar with the fill, A A B C builds into a change. The chain shows which link is playing, and the lit step follows whichever pattern you have open.

Loop this pattern plays only the pattern you are editing, useful while you work on a fill. Play the chain returns to the whole part.

  1. 1Write the groove in pattern A and listen with Loop this pattern.
  2. 2Open pattern B, write the same groove, and replace its last beat with a fill.
  3. 3Set the chain to A A A B and switch to Play the chain.

Programming three classic beats

House: kick on every beat, clap on 2 and 4, open hi-hat on every offbeat sixteenth 3, 7, 11 and 15, and a closed hat on each beat to stop it, at 120 to 128 BPM on the 909‑style kit.

Boom bap: kick on 1 and the and of 2 or 3, snare on 2 and 4, closed hi-hat eighths swung by eighths to about 58%, at 85 to 95 BPM. Trap: 32 steps, snare and clap together on beat 3, sparse long kicks on the 808‑style kit, and closed hi-hats in sixteenths with short rolls of thirty-seconds, at 130 to 150 BPM.

Recording into the grid as you play

Some beats are easier to play than to click. Turn on Record into the grid, start the loop and play along on the pads, the computer keys or an electronic drum kit: every stroke is written to the nearest step of the pattern playing. A hard stroke becomes an accent and a soft one a ghost note.

Clicked steps and played steps sit side by side, so you can play the hi-hat part and then click in the kick. Mute a row while you record its replacement.

Choosing a kit

The acoustic kit is a real drum set recorded drum by drum, with crash, china, ride and its bell, three hi-hat sounds, three toms, snare, rimshot, side stick and kick. Choose it for rock, funk, pop, jazz and anything that should sound played.

The 808‑style kit has a long, pitched kick, snappy snare, clap, metallic hats, three toms, a cymbal and a cowbell; the 909‑style kit a punchier kick, a brighter snare, clap, hats, toms, crash and ride. Both are made in your browser the way analogue drum machines made their sounds, and a groove keeps its steps when you switch kits.

Taking the beat into your DAW

The MIDI download writes each stroke on General MIDI’s drum channel, with its note and velocity, at 480 ticks a quarter note with the tempo and meter of the beat. Any DAW plays it on its own drum instrument. Choose a track per drum to get the kick, snare and hats on separate tracks, ready to mix or replace.

WAV and MP3 are the drum machine’s own sound, rendered sample for sample as it plays. Choose 2, 4, 8 or 16 bars, and the cymbals ring out after the last bar.

The address of the studio holds the whole beat, so a bookmark or a shared link brings back every step.

Using the drum machine on a phone

The grid works with a finger: tap a step to change it, and scroll the grid sideways at 32 steps. Turn the phone sideways for a wider grid. In the studio the pads sit under the grid for recording.

On an iPhone, turn up the media volume, which is separate from the ringer. The drum machine plays as media, so the silent switch leaves it playing.

Practising and writing with a drum loop

A loop that stays on time is a good practice partner for bass, guitar and keys. Set the tempo, pick a groove and play over it, or turn on the click for a steady pulse.

For a drummer’s view of the same sounds, play them live on the virtual drums. Keep strict time with the online metronome, and find chords for your beat with the chord progression generator.

Ways to use the online drum machine

Song sketches, dance loops, hip hop grooves and MIDI drum tracks, all from one free drum machine.

A sharpened pencil and its shavings on a blank sheet of paper

Sketching drums for a new song

Load the rock beat, change the kick to fit your riff, write a fill in pattern B and chain it. Download the MP3 to send to your band with the idea.

A concrete passage with a row of blue lights repeating into the distance

Building a house or techno loop

Start from four on the floor on the 909‑style kit, add open hats on the offbeats and a skipping rimshot, and let the drum machine loop while you shape the rest of the track.

An outdoor basketball hoop with a chain net over an empty court at golden hour

Finding the swing of a hip hop beat

Load boom bap or lo-fi and move the swing a percent at a time until the hi-hats sit right, then try the same pattern straight to hear the difference.

Sheets of tinted glass leaning on a wall, casting overlapping colours on the floor

Drum tracks for your DAW

Program the beat here and download MIDI with a track for every drum, then open it in your DAW and choose any drum sound you like.

Two tennis balls at the foot of a practice wall on a clay court

A practice loop for bass or guitar

Choose a groove in the style you are learning, set the tempo a little under the song, and play along with a beat that stays on time.

Three pine cones standing in a row on a wooden bench

Showing how rhythm works

The grid makes beats visible: each step a sixteenth, each beat four steps. Switch between 4/4, 3/4 and 6/8 and hear the same idea in another meter.

Online drum machine FAQ

Open the online drum machine in the studio

Program beats on the full grid, chain patterns, record from the pads and download MIDI, WAV or MP3 from the drum machine.

Open the drum machine