OptionalborrowedMode it is borrowed from: 'minor', 'dorian', 'phrygian', 'mixolydian', 'lydian', 'harmonic minor'…
OptionalcadenceCadence formed with the next chord, read in the next chord's key: 'Authentic Cadence (V -> I)'… (see Harmony.analyzeCadence).
The chord analyzed, as passed in.
Scale degree of the root, 1-7, or -1 when the root cannot be placed on a degree.
Tonic, subdominant or dominant function; secondary dominants and the tritone sub of V are 'D'.
The chord comes from a parallel mode (see borrowedFrom). Secondary dominants are not borrowed.
Every note belongs to the local key (in natural minor, also V, V7, vii° and vii°7 with the raised seventh).
A secondary dominant or leading-tone chord (see secondaryTarget).
The key this chord was read in: the home key, or the key of the last modulation.
Roman numeral in the local key, readable back with parseRomanProgression: 'ii7',
'V7', 'bVImaj7', '#iv°7', 'ivm' (a minor chord the key does not hold).
OptionalsecondaryThe secondary function: 'V7/ii', 'V7/IV', 'vii°7/V'. The target is cased by its triad in the key.
Optionalsubstitution'tritone sub of V' for a dominant seventh on bII.
Full harmonic analysis of a chord within a key context. Includes Roman numeral, function (T/S/D), modal borrowing, and cadence detection.