Delete Matching Piano Roll Notes
piano_roll_delete_notesDeletes specific notes from a channel's Piano Roll by MIDI pitch and time position, enabling targeted cleanup while leaving other notes intact.
Instructions
Remove specific notes matching {midi, time_bars} from a channel's Piano Roll.
Read exact pitches and time_bars with piano_roll_read first to target the right
notes; use piano_roll_clear to erase every note in the channel's Piano Roll at
once. Undoable via project_undo.
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": {
"notes": "<notes>"
},
"name": "piano_roll_delete_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | List of `{midi: int, time_bars: float}` descriptors identifying notes to delete (matches notes within 1/16 quarter note of `time_bars`). | |
| channel | No | Optional 0-based global Channel Rack index; when provided, opens that channel's Piano Roll before running the edit. Omit to target whichever Piano Roll is already open. | |
| pattern | No | Optional 1-based pattern index to select before opening the Piano Roll; omit to edit the currently selected pattern. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||