clear_clip_notes
Remove all MIDI notes from one Session clip and report the resulting delta, emptying the clip without deleting it in a single Live undo step.
Instructions
Remove every MIDI note from one Session clip and report the observed delta.
Side effects: clears notes in one Live undo step.
Example: clear_clip_notes(0, 1) empties a MIDI clip without deleting it.
Edge cases: empty or audio clips return structured errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_index | Yes | ||
| track_index | Yes |