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.
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 | |||