generate_drum_pattern
Create genre-specific drum patterns with adjustable swing and humanization, directly written into a session clip on a Drum Rack track. Supports styles like lofi, house, techno, trap, and more.
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 |