add_notes_to_clip
Adds MIDI notes to a clip while keeping existing notes intact, so you can layer or extend patterns without clearing the clip first.
Instructions
Add notes to a clip; existing notes stay. To replace notes, clear the clip (clear_notes_from_clip) or a range (remove_notes) first.
Parameters:
track_index: The track
clip_index: Session slot, or position in get_arrangement_clips
notes: [{"pitch": 60, "start_time": 0.0, "duration": 1.0, "velocity": 100, "mute": false}, ...] with start_time in beats from the clip start
location: "session" (default) or "arrangement"
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>",
"notes": "<notes>"
},
"name": "add_notes_to_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| location | No | session | |
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |