apply_midi_diatonic_chord_quality
Rebuild MIDI chords diatonically in Ableton Live by planning or atomically applying guarded functional-harmony recipes, inversions, voicings, slash basses, and retained voices.
Instructions
Plan or atomically apply guarded functional-harmony chord rebuilding with per-onset functions, recipes, inversions, voicing modes, slash basses, stable retained voices, and verified additions/removals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| clipId | Yes | list_clips Session ID or supported list_arrangement_clips ID. | |
| dryRun | No | False executes with token and hash. | |
| noteIds | Yes | Unique stable note IDs at complete chord onsets. | |
| trackId | Yes | ID from list_tracks. | |
| planHash | No | Plan hash. | |
| chordSize | No | Exact voicing recipe. Triad, seventh, and ninth stack thirds from Live's scale; suspended, added-tone, and dominant recipes use their named literal intervals, with tensions voiced above the chord. | |
| chordSizes | No | One exact voicing recipe for each ordered onset. | |
| inversions | No | Optional inversion steps for each ordered onset; zero keeps root position. | |
| bassDegrees | No | Optional Live scale degree for one added slash-bass voice below each ordered onset. | |
| rootDegrees | Yes | One root degree from Live's current scale for each ordered onset. | |
| voicingModes | No | Optional deterministic voicing mode for each ordered onset. | |
| confirmationToken | No | Single-use plan token. | |
| harmonicFunctions | No | Optional harmonic function for each ordered onset; secondary-dominant root degrees name tonicized targets. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||