API / MusicTheory
HarmonicAnalyzer static class
Roman-numeral analysis of chords in a key, by pitch class (so a mis-spelled
F##m in Eb is still iii).Rules, in order: augmented sixth (German or French, on the lowered sixth degree); diatonic (root and triad quality on a degree); Neapolitan (major chord on the lowered second degree); borrowed from the parallel mode; secondary dominant (major or dominant-7th triad a fifth above degrees 2..7, not onto a diminished chord); otherwise chromatic, on the degree whose letter the key spells the root with (Db in C → bII). Inversions use figured bass for triads (
6, 64) and seventh chords (65, 43, 42).Methods
static RomanNumeral Analyze(ChordSymbol chord, KeySignature key)Analyses one chord in
key.static IReadOnlyList<RomanNumeral> Analyze(IEnumerable<ChordSymbol> chords, KeySignature key)Analyses a sequence of chords in
key.