What does E(k, n) mean in Euclidean rhythm notation?
k is the number of active drum hits (pulses) and n is the total number of steps in the cycle. For example, E(5, 16) spaces five hits as evenly as possible across sixteen steps.
Algorithmic rhythm geometry
Generate classic world and electronic rhythms using the Bjorklund E(k,n) algorithm across three concentric drum rings with independent step rotation, live WebAudio drums, and .mid export.
Creator Cloud
Creator Cloud adds cloud history and reviewed AI MIDI edits a month. The tool you are using stays free.
Discovered in nuclear timing accelerators and popularized in music theory by Godfried Toussaint, the Bjorklund algorithm spreads k active hits across n total steps with maximum symmetry. Connecting the active nodes on our concentric SVG rings forms striking polygons whose corners correspond to timeless Afro-Cuban, Brazilian, and techno patterns.
This Euclidean rhythm generator MIDI studio gives you three simultaneous General MIDI Channel 10 lanes—Kick (36), Rim/Snare (38), and Hi-Hat (42)—each with its own Pulses, Steps, and Rotation slider. Rotating the snare ring by two steps shifts a downbeat hit onto the backbeat instantly without altering symmetry.
Click Download .mid to save a 4-bar Type 1 General MIDI drum file containing all three lanes, or open it directly in the EditMIDI piano roll to swap drum voices and add velocity humanization.
Dial these pulse and step counts into any lane to recreate foundational grooves mathematically.
| Euclidean Formula | Binary Step Pattern | Traditional / Electronic Groove |
|---|---|---|
| E(3, 8) | x . . x . . x . | Cuban Tresillo & modern reggaeton / dancehall anchor |
| E(5, 8) | x . x x . x x . | Cuban Cinquillo & West African bell timeline |
| E(5, 16) | x . . x . . x . . x . . x . . . | Brazilian Bossa Nova necklace & minimal techno kick |
| E(7, 12) | x . x x . x . x x . x . | West African Bembe 12/8 bell pattern |
k is the number of active drum hits (pulses) and n is the total number of steps in the cycle. For example, E(5, 16) spaces five hits as evenly as possible across sixteen steps.
Rotation shifts the starting step of the polygon clockwise around the ring while keeping the exact spacing between hits intact—essential for placing snares on offbeats.
Yes. You can run a 16-step kick against an 8-step snare and a 12-step hi-hat simultaneously, creating rich polymetric grooves exported cleanly into one MIDI track.
Yes. All three lanes write standard General MIDI Channel 10 drum notes (36 Kick, 38 Snare, 42 Closed Hi-Hat) that map straight onto Ableton, FL Studio, Logic, and hardware drum machines.