clips_write_progression
Write a chord progression into a MIDI track clip slot and set its chord lane so the chords appear in the piano roll; replaces the clip's notes and supports undo.
Instructions
Render a chord progression (text, library or generated, see theory.progression) into a session slot of a MIDI track and set the clip's chord lane, so the user sees the chords in the piano roll. The loop length is the progression's. Replaces the clip's notes. Undoable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | 0-based clip slot (scene row) on the track. | |
| track | Yes | Track id (UUID string from tracks.list, stable) or 0-based index (shifts when tracks are added or moved). | |
| progression | Yes |