add_notes_to_clip
Add validated MIDI notes to an existing Ableton Session clip in one undo step. Existing notes stay, and invalid ranges or audio clips are rejected.
Instructions
Add validated MIDI notes to an existing Session clip.
Side effects: adds notes in one undo step; existing notes remain.
Example: add_notes_to_clip(0, 0, [{"pitch": 60, ...}]).
Edge cases: audio clips, empty slots, and invalid MIDI ranges are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| clip_index | Yes | ||
| track_index | Yes |