write_notes
Replace all notes in a MIDI clip with a supplied list of pitches, start times, durations, and velocities. To edit existing notes, read them first and send the full modified list.
Instructions
Replace ALL notes in the clip with these notes. To edit existing notes, read_notes first and send the full changed list. Times and durations are in beats (1.0 = one quarter note). For a Drum Rack, take pitches from drum_pads in get_set_overview. The result's notes_outside_clip counts notes that start at or after the clip length; they never play (assumes the loop starts at beat 0).
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": "<track>",
"slot": "<slot>",
"notes": "<notes>"
},
"name": "write_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | ||
| notes | Yes | ||
| track | Yes |