SuperTime Ultra
Euclidean Rhythms: The Mathematical Secret Behind Great Beats
How E(k,n) spreads k hits evenly across n steps, which rhythms it produces, from the tresillo to bossa nova, and how to clap and layer them.
A Euclidean rhythm distributes a number of hits as evenly as possible across a number of steps. Learn the pattern language, hear familiar grooves, and use rotation and layering to make the result musical.
What this tool includes
Understand E(k,n)
The notation means k hits distributed across n steps as evenly as possible. E(3,8) is the familiar tresillo shape.
Recognise real grooves
Connect tresillo, cinquillo, bell, bossa nova, and other patterns to Afro-diaspora, Balkan, Latin, and electronic music.
Humanise the result
Rotate, layer, add velocity or timing variation, and let the algorithm support musical decisions rather than replace them.
How to use this tool
- Choose a simple E(k,n) pattern and listen for the spacing before adding layers.
- Rotate the pattern to hear how the same structure changes its starting point and feel.
- Layer kick, hat, snare, or pulse patterns with different step counts for interlocking motion.
- Open the Euclidean generator or MOTION when you want to turn the pattern into a playable groove.
Practice tips
- E(3,8) is the tresillo: x . . x . . x . This 3-3-2 figure sits under habanera, reggaeton and plenty of pop and rock.
- E(5,8) is the Cuban cinquillo: x . x x . x x . Five hits in eight steps, grouped 2-1-2-1-2.
- E(3,7) is a Bulgarian ruchenitza pattern: x . x . x . . Three beats of 2, 2 and 3 in 7/8.
- E(4,9) is the Turkish aksak: x . x . x . x . . Four beats of 2, 2, 2 and 3 in 9/8.
- E(7,12), rotated, is the West African standard bell pattern that sits over 12/8 in bembé and many other rhythms.
- E(5,16), rotated, gives a bossa nova style pattern: five hits spread across a bar of sixteenths.
- Rotation changes the feel without changing the spacing: E(3,8) starting on step 3 puts the long gap at the start of the bar instead of the end.
Frequently asked questions
What does E(k,n) mean?
E(k,n) is a Euclidean rhythm with k hits spread as evenly as possible over n steps. When k divides n exactly, as in E(4,16), you get a plain even pulse; when it does not, as in E(3,8), the hits fall into a mix of long and short gaps, and that uneven mix is what makes the pattern groove.
Who discovered Euclidean rhythms?
The computer scientist Godfried Toussaint showed in 2005 that the Bjorklund algorithm, first written for timing systems in particle accelerators, generates many traditional rhythms from Africa, Cuba, the Balkans and Brazil. The musicians who played those rhythms got there first by ear.
Why does Euclid have anything to do with rhythm?
Spreading k hits over n steps as evenly as possible works like Euclid’s algorithm for the greatest common divisor: you repeatedly split the larger group of steps by the smaller one until nothing is left. The remainders at each stage decide where the long and short gaps fall.
How do I use Euclidean rhythms in my music?
Start with one pattern on a kick or bell, then layer others with different hit counts on other drums, for example E(3,8) on the kick, E(5,8) on a shaker and a steady E(2,8) snare. Rotate layers against each other until the combination grooves, then add small velocity and timing changes so it sounds played rather than programmed.
Are Euclidean rhythms the same as polyrhythms?
No. A Euclidean rhythm is one pattern inside a single cycle of steps. A polyrhythm is two or more even pulses of different counts, like 3 against 2, sharing the same span. Layering Euclidean patterns with different step counts can create polyrhythms and polymeters.