create_chord_progression
Insert a chord progression as voiced MIDI notes in REAPER. Parse chords like Cm7, Fm7, Bb7, set base octave, duration, and start position to place non-overlapping MIDI items.
Instructions
Insert a chord progression as voiced MIDI notes.
Accepts chords separated by commas, pipes, dashes, or newlines:
"Cm7, Fm7, Bb7, Eb" or "Am - F - C - G" or "Dm | G | Em | A".
Supported qualities: maj, m/min, dim, dim7, aug, sus2, sus4, 6, m6, 7, m7, maj7, add9, 9, m9, maj9, 11, m11, 13, m13.
base_octave=4 places C as MIDI 60 (middle C). Each chord occupies
chord_duration_qn quarter notes (default 4 QN = one bar at 4/4).
Pass item_index=-1 to auto-create a MIDI item positioned in the
project at start_qn (e.g. bar 5 in 4/4 = start_qn=16.0). Building a
multi-section arrangement on one track? Call this once per section
with item_index=-1 each time and increasing start_qn — each call
creates its own non-overlapping item at the right place, it does NOT
append to a previous item.
Returns the item index, number of chords placed, and any that failed to parse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chords | Yes | ||
| channel | No | ||
| start_qn | No | ||
| velocity | No | ||
| item_index | No | ||
| base_octave | No | ||
| track_index | Yes | ||
| chord_duration_qn | No |