write_notes
Write MIDI notes into an Ableton Live clip with pitch, timing, duration, chords, and velocity; choose add, replace, or replace_range to edit clips.
Instructions
Write MIDI notes into a clip. mode: "add", "replace" (clears the clip first) or "replace_range" (clears notes starting in [start, end); defaults to the span of the new notes).
Each note: pitch (60 or "C3"), start (clip beats or "1.3.1"; 1.1.1 = clip start), duration (beats, "1/8", "1/16T"), optional velocity=100, probability=1, velocity_deviation=0, release_velocity=64, mute=false. Chords: "pitches": [...] or "chord": "Am7" (+ octave, inversion, voicing). music_theory progression "notes" fit as-is. Example: [{"pitch": "C3", "start": 0, "duration": 1}, {"chord": "F", "start": 4, "duration": 4}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| mode | No | add | |
| slot | No | ||
| notes | Yes | ||
| start | No | ||
| track | Yes | ||
| arrangement_clip | No |