generate_drum_pattern
Generate genre-specific drum patterns directly into Ableton Live session clips. Supports styles like lofi, house, trap, and controls swing and humanization.
Instructions
Write a genre drum pattern into a Session clip on a Drum Rack track. REPLACES the clip's notes if the clip exists.
style: lofi | boom_bap | house | techno | trap | dnb | ambient. swing: beats to delay 8th-note offbeats (0.0-0.1; 0.06 ≈ MPC-ish). humanize: max random velocity deviation (0 = machine-perfect). Uses the standard Live drum map (36 kick, 38 snare, 42/46 hats...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | ||
| seed | No | ||
| style | No | lofi | |
| swing | No | ||
| humanize | No | ||
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |