generate_drums
Create drum MIDI clips in Ableton Live from genre patterns, pocket grooves, Euclidean rhythms, or ASCII grids, replacing existing notes in the selected clip slot.
Instructions
Generate a drum MIDI clip (REPLACES existing notes).
mode='pattern' (default): genre beat (lofi/boom_bap/house/techno/trap/dnb/ambient);
swingdefault 0.06 beats,humanizedefault 6.mode='groove': pocketed groove with ghost snares (lofi/boom_bap/house/trap/jazz/funk);
pocket,swingdefault 0.55,ghost,humanizedefault 8.mode='euclidean': Bjorklund rhythm E(
pulses,steps) for oneinstrument(name or MIDI #).mode='grid': ASCII 16th-note grid (
grid: 'kick: X..x....\nsnare: ....x...'; X/x/o/./-).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"track_index": "<track_index>",
"clip_index": "<clip_index>"
},
"name": "generate_drums"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | ||
| grid | No | ||
| mode | No | pattern | |
| seed | No | ||
| ghost | No | ||
| steps | No | ||
| style | No | lofi | |
| swing | No | ||
| No | |||
| pulses | No | ||
| rotate | No | ||
| humanize | No | ||
| velocity | No | ||
| clip_index | Yes | Zero-based Session-view clip-slot index on the track. | |
| instrument | No | kick | |
| track_index | Yes | Zero-based index of a regular track in the Live set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No |