Random Drum Pattern Generator
Lays out a drum pattern on a step grid — the same way a drum machine or a DAW shows one — so you can read it, play it or program it. The pattern is generated bar by bar within the time signature you choose, so what comes out is always a complete bar rather than a loop that runs short.
What this generator does
Produces a grid where each row is a drum and each column a step in the bar. Reading down a column tells you what is hit at that moment; reading across a row tells you what one drum is doing through the bar. It is generated within the time signature rather than as a fixed sixteen steps, which is why it works in 6/8 and 7/8 as well as 4/4 — a great many pattern generators assume four-four and silently break everywhere else.
How to use this tool
- Choose a time signature and how many bars.
- Choose the difficulty, which controls how busy the pattern gets.
- Press Generate pattern.
- Read it left to right — each column is one step, each row one drum.
Understanding the controls
- Time signature
- Sets how many steps a bar has and how they group. 4/4 gives sixteen sixteenth-note steps in four groups; 6/8 gives twelve in two groups of three, which is why the grid looks different.
- Bars
- How many bars in the pattern. Two bars lets a fill or a variation happen in the second, which is closer to how real parts are written.
- Difficulty
- Sets the rhythm the kick and snare are read from. Easy uses quavers and longer values and keeps every hit inside its beat group. Medium adds semiquavers and lets a note run across the next beat. Hard draws from the shorter values and leaves more rests, so more open space. The hi-hat is the same at every level.
- Seed
- Makes the pattern reproducible, so you can recover one you liked or hand the same one to a student.
- Appears once a pattern has been generated, and prints the grid without the controls.
Worked examples
- 4/4, easy, bar 1, seed round9
- Sixteen steps. Kick on steps 5, 9 and 13 — beats two, three and four, with beat one left as a rest. No snare. Hi-hat on steps 1, 3, 5, 7, 9, 11, 13 and 15, which is every quaver.
- 4/4, hard, bar 1, seed round9
- Sixteen steps. Kick on step 5; snare on steps 12 and 15; hi-hat on every quaver. Far more open space than the easy bar.
- 6/8, easy, bar 1, seed round9
- Twelve steps. Kick on step 7, the second dotted beat; snare on step 11; hi-hat on all six quavers.
Common use cases
- Practising reading a step grid, which is how most modern drum parts are written
- Programming a beat when you want a starting point rather than a blank sequencer
- Drummers working on independence between limbs
- A producer looking for a pattern that is not the one they always reach for
- Teaching how a groove is built from separate parts rather than one line
How this generator works
The bar is divided into subdivision steps by the time signature — sixteen in 4/4, twelve in 6/8 — and the rows are filled within that grid. The kick and snare are read off one generated rhythm that must total the bar exactly, the same construction the rhythm generator uses, so a pattern is never short or over-full. The hi-hat is laid on every quaver, because that is what a hi-hat almost always does and randomising it produces something that reads as a mistake rather than a groove.
Randomness and fairness
Kick and snare placement is drawn with the browser's cryptographic random number generator, constrained so the bar totals exactly. The hi-hat is not random — it plays every quaver at every difficulty. A seed switches to a reproducible generator so a pattern can be recovered from a word. That recovery is the whole purpose, and it is deterministic, not cryptographic — a seeded pattern is predictable to anyone holding the word.
For how randomness is produced across the whole site, see how Generate Random works.
Limitations and good to know
- There is no audio. The pattern is a grid to read or to enter into a sequencer, not something you can hear here.
- Only kick, snare and hi-hat are generated. Toms, crashes, rides and fills are the parts that make a drum part personal, and they are left to you.
- Nothing here knows whether a pattern is physically comfortable to play — a hard pattern may put the kick and hi-hat in a place that is awkward on a real kit.
- Dynamics are not generated — every hit carries the same weight; ghost notes are a large part of what makes a groove feel alive and are not represented.
- A generated pattern is a starting point. It has no sense of the song it belongs to, which is what should actually decide the part.
Common mistakes
- Playing the grid without counting
- Count the subdivision out loud while you play. A step grid is a map of where things fall in the count, and losing the count loses the pattern.
- Playing every hit at the same volume
- A pattern played flat sounds like a machine. The kick and snare carry the accent, and the hi-hat sits underneath.
- Assuming a 4/4 grid works in 6/8
- It does not — the number of steps and how they group are both different. Generate in the signature you are actually playing.
Practical tips
- Play each row on its own first, then combine two, then all three. Independence is built one limb at a time.
- Program the pattern into a sequencer at half speed and raise the tempo once it is even.
- Generate two bars and treat the second as a variation rather than a repeat — that is how real parts avoid sounding looped.
Privacy and your data
Nothing is entered and nothing is stored. The pattern is generated in your browser, is not uploaded and is not written into the page address. Analytics records only that a pattern was generated and how many bars it has, never the pattern itself.
Frequently asked questions
- How do I read a step grid?
- Each column is one step in time, moving left to right. Each row is one drum. A mark means that drum is hit on that step. Reading down a column tells you everything that happens at that instant.
- How many steps are in a bar?
- It depends on the time signature. 4/4 divided into sixteenth notes gives sixteen steps; 6/8 gives twelve; 7/8 gives fourteen. Assuming sixteen is the mistake most pattern grids make.
- Can I use these patterns in music I release?
- Yes. A drum pattern is a rhythm, and short rhythmic patterns are not protected by copyright. Nothing generated here carries any restriction from us.
- Why is the hi-hat not randomised?
- Because a randomly placed hi-hat reads as a mistake rather than a choice. Its job in most patterns is to state the subdivision steadily, so the tool keeps it regular and randomises the parts where variation actually sounds like a groove.
Related generators
- Random Rhythm GeneratorGenerate bars of rhythm to clap or play, in any time signature, with counting written underneath and every bar adding up exactly.
- Euclidean Rhythm GeneratorHits spread as evenly as a cycle allows, using the algorithm that reproduces traditional rhythms from a dozen musical cultures.
- Random Tempo GeneratorDraw a random tempo in beats per minute, with the Italian marking that covers it and how long a bar lasts at that speed.
- Random Chord Progression GeneratorGenerate a chord progression in any key — either a well-known pattern or a fresh sequence — with Roman numerals and the actual chord names.