write_drum_clip
Write drum MIDI notes from an analysis file into an existing Ableton Live Session clip, previewing changes or replacing notes when confirmed; create the clip and match tempo maps first.
Instructions
Convert the source tempo map into clip notes, then use verified Live note writing.
Create a sufficiently long MIDI clip first. Ensure Live's actual tempo map matches the source map; writing notes alone does not change song tempo automation.
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": {
"analysis_path": "<analysis_path>",
"track": "<track>",
"slot": "<slot>"
},
"name": "write_drum_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | Existing Session MIDI clip slot. | |
| track | Yes | Existing MIDI track index. | |
| confirm | No | True replaces notes; False previews without contacting Live. | |
| analysis_path | Yes | analysis.json returned by a succeeded drum job. | |
| clip_origin_beat | No | Source quarter-beat position corresponding to clip-local zero. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||