Random Rhythm Generator
Makes bars of rhythm for reading practice — in simple or compound time, at the difficulty you choose, with the counting spelled out underneath. Every bar totals exactly what its time signature allows, which sounds obvious and is the thing most rhythm generators get wrong.
What this generator does
Produces readable, playable bars of rhythm rather than random note values. The difference matters: a bar with five beats in a four-beat time signature is not a hard exercise, it is a wrong one, and a student who practises it learns something false. This generator works in subdivisions, fills each bar to exactly its capacity, and only then groups those subdivisions into the longest note value that fits — so every bar adds up by construction, and the beaming follows the time signature's conventional grouping.
How to use this tool
- Choose a time signature — 4/4, 3/4, 6/8, 7/8 and others.
- Choose how many bars and how hard.
- Press Generate rhythm.
- Count the bar through before you clap it, using the counting shown underneath.
Understanding the controls
- Time signature
- Simple time (4/4, 3/4, 2/4, 2/2) divides each beat into two. Compound time (6/8, 9/8, 12/8) divides it into three, so the beat is a dotted note and the bar groups in threes. Irregular signatures (5/4, 7/8) group unevenly, which is the whole point of them.
- Bars
- How many bars to generate. Four is a natural phrase length; one is useful for drilling a single pattern until it is secure.
- Difficulty
- Easy uses crotchets and quavers and keeps every note inside its beat group, so nothing crosses a beat. Medium adds semiquavers, dotted notes and rests. Hard adds syncopation — notes that start off the beat and tie across it, which is where reading gets genuinely difficult.
- Accents
- Marks some notes to be played louder. Accents on off-beats are what turn a correct rhythm into a convincing one.
- Seed
- Makes the exercise reproducible, so a teacher can set the same rhythm for a whole class or return to it next week.
Worked examples
- 4/4, easy
- q q e e q — crotchet, crotchet, two quavers, crotchet. Counted 1 2 3 and 4.
- 6/8, easy
- q. q. — two dotted crotchets, one per beat. Counted 1 4, or 1 la li 2 la li if you are subdividing.
- 4/4, hard
- e q q e — a quaver, two crotchets and a quaver: the middle two notes start off the beat, which is what syncopation is.
- 7/8
- Grouped 3+2+2, so it counts 1 2 3 1 2 1 2 rather than evenly in sevens.
Common use cases
- Sight-reading practice, where the rhythm is usually the harder half
- Warming up a class or ensemble with something nobody has seen before
- Drummers and percussionists working on reading rather than grooves
- Learning compound time, where 6/8 is not just 3/4 with more notes
- Setting a different exercise for each student without writing them by hand
How this generator works
Each time signature has a capacity measured in subdivisions — 4/4 holds sixteen sixteenth-note units, 6/8 holds twelve. The generator fills that capacity exactly, choosing note lengths that fit the space remaining and, at easier difficulties, that do not cross a beat-group boundary. It then names each length conventionally and derives the counting: simple time counts '1 and 2 and', compound time counts '1 la li 2 la li', because in 6/8 the beat divides into three and counting it in twos teaches the wrong feel. Rests are placed the same way as notes and are shown in brackets in the counting.
Randomness and fairness
Note lengths, rests and accents are chosen with the browser's cryptographic random number generator, constrained at each step to what will still fit the bar. That constraint is not a filter applied afterwards — an over-long note is never generated in the first place, which is why the result never needs correcting. A seed switches to a reproducible generator so the same exercise can be set again.
For how randomness is produced across the whole site, see how Generate Random works.
Limitations and good to know
- There is no notation image and no audio. The output is note names, a compact symbol line and a grid — enough to read and copy into a notebook, and not a printed score.
- Ties across bar lines are not generated, so a pattern never carries over from one bar into the next.
- Tuplets — triplets, quintuplets — are not included; they need notation to be readable and do not fit the subdivision grid this works on.
- The generator has no sense of melody or phrasing, so four bars will not necessarily form a satisfying phrase.
- Difficulty is a rough guide. A hard 4/4 bar may still be easier to read than a medium 7/8 one.
Common mistakes
- Counting 6/8 in six
- It has two beats, each a dotted crotchet. Counting six quavers evenly gives the wrong feel entirely — 6/8 should lilt, not march.
- Clapping before counting
- Read the bar through with the counting underneath first. Almost every rhythm mistake is a counting mistake found too late.
- Speeding up through the rests
- A rest is a duration, not a gap. Count it exactly as you would count a note.
- Treating 3/4 and 6/8 as the same
- Both hold six quavers. 3/4 groups them in three pairs and 6/8 in two threes, which makes them completely different rhythms.
Practical tips
- Set a metronome slower than you think you need, and only speed up once a bar is right twice in a row.
- Clap the pulse with one hand and tap the rhythm with the other before playing it on an instrument.
- For a class, generate with a seed and give everyone the same eight bars — comparing where people came apart is more useful than everyone having a different exercise.
Privacy and your data
Nothing is entered and nothing is stored. The rhythm is generated in your browser, is not uploaded, and is not written into the page address, so copy anything you want to keep. Analytics records the time signature and difficulty only.
Frequently asked questions
- Why is 6/8 different from 3/4 if both have six quavers?
- Because of how they group. 3/4 is three beats each divided in two; 6/8 is two beats each divided in three. The same six notes, accented differently, produce a march in one case and a lilt in the other.
- How do I count compound time?
- Count the beats and subdivide each into three. '1 la li 2 la li' is the common English approach; '1 and a 2 and a' is also used. What matters is that you are counting in threes, not sixes.
- What is syncopation?
- Notes that fall between the beats rather than on them, usually held across a beat so the accent lands where the pulse is not. It is what makes a rhythm feel like it is pushing against the beat rather than sitting on it.
- Can I use these for a drum kit?
- You can read them as a single-line rhythm on any instrument. If you want something laid out across kit pieces, the drum pattern generator is built for that.
- Why are there no triplets?
- A triplet divides a beat into three within a time signature that divides it into two, which only reads clearly in notation. This tool outputs text and grids, and a triplet written in text is more confusing than useful — compound time gives you the same three-against-two feel and reads properly.
Related generators
- Random Drum Pattern GeneratorGenerate a drum pattern on a step grid — kick, snare and hi-hat laid out bar by bar, in simple or compound time.
- 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.