remove_notes_from_clip
Delete MIDI notes from a clip using track and clip index. Optionally restrict removal to a specific time or pitch range for targeted editing.
Instructions
Remove MIDI notes from a clip within a specified range. By default removes ALL notes. Use parameters to target specific ranges.
Parameters:
track_index: The index of the track containing the clip
clip_index: The index of the clip slot containing the clip
from_time: Start time in beats (default: 0.0 = beginning)
from_pitch: Lowest MIDI pitch to remove (default: 0)
time_span: Duration in beats to clear (default: 99999.0 = all)
pitch_span: Number of pitches above from_pitch to clear (default: 128 = all)
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>"
},
"name": "remove_notes_from_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| clip_index | Yes | ||
| from_time | No | ||
| from_pitch | No | ||
| time_span | No | ||
| pitch_span | No |