add_notes_to_clip
Add MIDI notes to a clip by specifying pitch, start time, duration, and velocity. Choose to replace existing notes or append new ones.
Instructions
Add MIDI notes to a clip. Each note is a dict with keys: pitch (0-127), start_time (beats), duration (beats), velocity (0-127, default 100), mute (bool, default false). By default this replaces all existing notes in the clip. Set append=true to keep existing notes and add the new ones on top.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| clip_index | Yes | ||
| notes | Yes | ||
| append | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |