diatonic_chords
List chords for each degree of a scale with roman numerals and harmonic functions. Get triads or sevenths for any root and scale type to design progressions.
Instructions
List the chord built on each degree of a scale (triads, or sevenths).
E.g. diatonic_chords('C', 'major') -> I=C, ii=Dm, iii=Em, IV=F, V=G, vi=Am, vii°=Bdim. Seven-note scales also get roman numerals, degree names and harmonic functions (tonic/subdominant/dominant) — the raw material for designing a progression yourself; then resolve it with degrees_to_chords. A root with an octave (e.g. 'C4') yields concrete pitches with MIDI numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| scale_type | Yes | ||
| sevenths | No |