theory_diatonic_chords
Generate the 7 diatonic chords for a given key and mode, with optional seventh chords and octave setting. Returns Roman numerals and MIDI pitches for each chord to support harmonic analysis and composition.
Instructions
Return the 7 diatonic chords for a key/mode. Set sevenths=true for 7th-chord qualities (Imaj7, ii7, etc.) instead of triads (I, ii, etc.). Returns Roman numerals + the actual chord pitches (MIDI) for each.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| root | Yes | ||
| octave | No | ||
| sevenths | No |