generate_euclidean_drums
Create Euclidean rhythms in Ableton Live clips by distributing a set number of pulses evenly across steps. Adjust rotation, humanize velocity, and choose any drum instrument.
Instructions
Write a Euclidean (Bjorklund) rhythm for one drum voice into a Session clip. REPLACES the clip's notes if the clip exists.
Distributes pulses hits as evenly as possible across steps slots spanning
one bar (steps=8 -> 8th notes, 16 -> 16th notes), repeated for bars.
pulses=3, steps=8 is the tresillo. rotate shifts the pattern left by that
many steps. instrument: a drum-map name (kick/snare/chat/ohat/clap/ride/...) or
a raw MIDI number. humanize is max +/- velocity jitter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | ||
| seed | No | ||
| steps | No | ||
| pulses | No | ||
| rotate | No | ||
| humanize | No | ||
| velocity | No | ||
| clip_index | Yes | ||
| instrument | No | kick | |
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |