Euclidean Matrix
Build polyrhythms from simple numbers.
Set the steps and pulses of each lane, and Euclidean Matrix spreads the hits as evenly as possible, using the Bjorklund algorithm. Stack lanes of different lengths into a polyrhythm, listen to it, and send it to the MIDIGEN studio. It runs in your browser.

How it works
From your input to editable MIDI.
Good to know
- Steps are the length of the cycle and pulses are the hits placed in it. Rotate shifts the pattern.
- Lanes with different step counts drift against each other, which is what makes the polyrhythm.
- Bass and lead lanes are fitted to the key and scale you choose.
- The patterns are generated by rules, not from your audio.