Online Drum Machine — Step Sequencer with | LazyTools
Music Tool

Online Drum Machine — Step Sequencer & Polyrhythm Mode

A free 16-step drum machine with 8 synthesised tracks — kick, snare, hi-hat, open hi-hat, clap, tom, rim and cowbell. Furthermore, the unique Polyrhythm mode lets each track run at a different step count (8, 12 or 16) — creating cross-rhythms impossible in standard step sequencers. Five genre presets (Rock, Four on the Floor, Hip Hop, Bossa Nova) and a randomise button provide instant starting patterns.

8 tracks, 16 stepsSwing controlPolyrhythm mode5 genre presetsRandomise button

Polyrhythm mode lets each track have a different step count (8, 12 or 16) — creating cross-rhythms between drum tracks.

How to use the Online Drum Machine

1

Load a preset or start blank

Select a genre preset from the dropdown — Rock, Four on the Floor, Hip Hop or Bossa Nova loads a pattern instantly. Furthermore, "Blank" clears all steps. The Randomise button fills all tracks with a random pattern weighted by typical density for each instrument.

2

Toggle steps on and off

Click any green button to toggle a step on. Furthermore, clicking an active (green) step turns it off. Each row is a drum track — kick on row 1, snare on row 2 and so on. Steps light up briefly as they play in the sequencer.

3

Adjust BPM and swing

Change the BPM by editing the tempo field. Furthermore, the Swing slider delays the even-numbered steps slightly — creating a shuffle or groove feel. 0% swing is quantised; higher values create a progressively stronger shuffle. Hip-hop and jazz patterns benefit most from added swing.

4

Enable Polyrhythm mode

Select Polyrhythm mode from the Mode dropdown. Furthermore, a step count selector (8, 12 or 16) appears next to each track. Setting kick to 16 steps and hi-hat to 12 steps creates a polyrhythm — the patterns phase in and out of alignment over a 48-step cycle.

5

Press Play and adjust in real time

Click Play to start the sequencer. Furthermore, steps can be toggled while the sequencer is running — changes take effect immediately. The playhead indicator shows the current position in each track during playback.

Step sequencer patterns across genres

Different genres have distinct rhythmic patterns that define their sound. Furthermore, understanding these patterns helps you build authentic-sounding grooves in any style.

GenreKick patternSnareHi-hatCharacter
Basic RockSteps 1, 5, 9, 13Steps 5, 13 (beats 2, 4)Every even stepDriving, 4/4 feel
Four on FloorAll 4 beats (1,5,9,13)Steps 5, 1316th note patternHouse, techno, disco
Hip HopSteps 1, 9 (half time)SyncopatedDense 16th notesSlow, heavy, trap
Bossa NovaSyncopated kickCross-stickOffbeat 8thsBrazilian, Latin

What is swing?

Swing delays even-numbered 16th notes relative to the straight grid. Furthermore, at 50% swing, the off-beats land at the triplet position — creating a shuffle feel. At 33% swing, off-beats land between the straight and triplet positions — a subtle groove feel. Moreover, swing is fundamental to jazz, hip-hop and funk drumming. Most simple drum machines lack swing; this one includes it as a slider.

How a 16-step sequencer works

A 16-step sequencer divides one bar into 16 equal time slots — each representing a 16th note. Furthermore, at 120 BPM, each step lasts exactly 125 milliseconds. The sequencer cycles through steps 1–16, triggering any active steps as it passes.

Step duration (ms) = 60,000 ÷ BPM ÷ 4
120 BPM = 60,000 ÷ 120 ÷ 4 = 125 ms per 16th note step
Swing even step = straight position + (swing% × step duration)
One bar = 16 steps = 2,000 ms at 120 BPM
Polyrhythm cycle = LCM(step count A, step count B) — e.g. LCM(12,16) = 48 steps

Polyrhythm explained

Polyrhythm occurs when two patterns of different lengths run simultaneously. Furthermore, a kick on 16 steps and a hi-hat on 12 steps creates a pattern that repeats every 48 steps — three times the length of a standard bar. This phasing relationship creates rhythmic complexity that evolves over time. Moreover, West African drumming, Indian classical music and many progressive rock compositions use polyrhythm as a structural foundation.

Worked example: building a polyrhythm pattern

A producer wants to create a groove where the kick pattern phases against the hi-hat. Enabling Polyrhythm mode:

TrackStep countPatternResult
Kick16Steps 1, 5, 9, 13Standard four-on-the-floor feel
Hi-hat12Every 3 steps (1, 4, 7, 10)Triplet feel — 4 hits per 12-step loop
Snare16Steps 5, 13 onlyStandard backbeat
The kick (16 steps) and hi-hat (12 steps) complete a full cycle every 48 steps — three bars. Furthermore, each bar sounds slightly different as the hi-hat phases relative to the kick. This creates the feel of rhythmic evolution without changing the pattern. Load the Four on the Floor preset and enable Polyrhythm mode to hear this effect immediately.

What is a drum machine step sequencer?

A drum machine step sequencer programs percussion patterns by switching steps on or off in a grid. Furthermore, each row represents a drum sound; each column represents a time step. The sequencer plays through the grid repeatedly, triggering active steps as a playhead advances. This method of pattern programming was introduced with the Roland TR-808 in 1980.

The TR-808 and TR-909 defined the sound of hip-hop, house, techno and electronic music. Furthermore, their synthesised kick, snare and hi-hat sounds remain iconic fifty years after their introduction. Modern software step sequencers replicate this workflow. Moreover, this browser version uses the Web Audio API to synthesise all sounds — no audio samples are downloaded, making it fast and offline-capable after the first page load.

Who uses drum machines?

Bedroom producers use drum machines to create beats without a drummer. Furthermore, electronic music producers build entire arrangements from step-sequenced patterns. Live DJs use portable drum machines for improvised performance. Moreover, music teachers use them to demonstrate rhythm concepts — the visual grid makes beat construction immediately understandable for students who cannot yet play drums.

Why drum patterns matter in music production

The drum pattern defines the energy and feel of a track. Furthermore, a four-on-the-floor kick drives dance music forward. A half-time snare creates the slow, heavy feel of trap music. An offbeat hi-hat creates the syncopated funk groove. Moreover, choosing the right drum pattern for the genre and tempo is the first decision in beat production — everything else is built on this foundation.

Swing transforms a mechanical quantised pattern into something organic. Furthermore, the subtle delay of off-beats — even at just 20–30% swing — adds the feel of a human drummer. Many classic hip-hop productions use specific swing percentages as part of their signature sound. Moreover, the difference between a pattern at 0% and 33% swing is often the difference between a pattern that sounds robotic and one that feels alive.

Polyrhythm in modern music

Polyrhythm has moved from avant-garde territory into mainstream production. Furthermore, modern trap and Afrobeats productions frequently use conflicting rhythmic cycles between the kick, hi-hat and melodic elements. Looped ambient music uses long polyrhythm cycles — sometimes 64 bars or more — to create gradual rhythmic evolution. Moreover, the Polyrhythm mode in this drum machine makes these advanced techniques accessible without any music theory prerequisites.

Frequently asked questions

A 16-step sequencer divides one bar of music into 16 equal time divisions — each representing a 16th note. Furthermore, you toggle each step on or off for each drum track. The sequencer cycles through all 16 steps repeatedly, triggering active sounds at the correct timing. At 120 BPM, each step lasts 125 milliseconds and a complete 16-step bar lasts 2 seconds.
Swing delays even-numbered 16th note steps relative to their mathematically exact positions. Furthermore, at 50% swing (maximum), off-beats land exactly on triplet positions — creating a full shuffle feel. At lower swing values, the delay is subtler but still adds a human-like groove quality. Most styles of hip-hop, jazz and funk use significant swing. Moreover, removing all swing (0%) creates the mechanical feel of electronic dance music.
Polyrhythm mode lets each track loop at a different step count. Furthermore, a kick on 16 steps and a hi-hat on 12 steps create patterns that only align every 48 steps — LCM(16,12) = 48. This means the groove evolves over three bars before returning to its starting configuration. Moreover, this phasing technique creates rhythmic complexity and interest without the producer needing to manually program 48 individual steps.
Hip-hop and trap typically run 70–100 BPM. Furthermore, house music uses 120–130 BPM. Techno ranges from 130–150 BPM. Drum and Bass runs 160–180 BPM. Rock sits at 100–140 BPM. Moreover, the genre presets in this machine all work well at their default 120 BPM starting point — adjust the tempo from there to match your target genre.
Synthesised sounds require no audio file download and work completely offline after the first page load. Furthermore, they also avoid any sample licensing concerns. The synthesis models approximate the characteristic sounds of kick, snare, hi-hat and percussion using oscillators and envelopes — the same approach used by the original Roland TR-808 and TR-909 hardware machines. Moreover, the synthesised sounds are deliberately simple and clean, making them easier to mix than heavily processed samples.

Related music tools

BPM Tap Tempo

Find the BPM to set your drum machine. Furthermore, the delay calculator converts BPM to ms for all note values.

Online Metronome

Practice along with a steady click. Furthermore, the Progressive Trainer builds tempo speed gradually.

Chord Progression Library

Add chords on top of your drum pattern. Furthermore, 20 progressions across 8 genres are ready to play.

Waveform Visualizer

Visualise audio you record over your pattern. Furthermore, export as PNG for documentation or sharing.

Audio Spectrum Analyzer

Analyse the frequency content of your beats. Furthermore, freeze frame captures a snapshot for detailed review.

Circle of Fifths

Choose keys and chords to play over your beats. Furthermore, click any key to hear its chord immediately.

Rate this tool

4.3
out of 5
184 ratings
5 ★
65%
4 ★
20%
3 ★
7%
2 ★
1%
1 ★
7%
How useful was this tool?