remove_notes_in_range
Surgically delete MIDI notes inside a selectable pitch and time window without affecting other notes.
Instructions
Surgically remove notes inside a pitch/time window of a MIDI clip, keeping everything else (unlike clear_clip_notes which wipes all).
Parameters:
track_index / clip_index: which clip
from_pitch: lowest MIDI pitch to remove (default 0)
pitch_span: how many pitches up from from_pitch (default 128 = all)
from_time: window start in beats (default 0.0)
time_span: window length in beats (-1 = to end of clip)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_time | No | ||
| time_span | No | ||
| clip_index | Yes | ||
| from_pitch | No | ||
| pitch_span | No | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |