Chords¶
Chords are built on notes, and can be instantiated from a string (e.g. c = Chord(‘Em7’) ) or from a list of notes strings (e.g. c = Chord([‘C’,’E’,’G’]) ) or Notes
Basic attributes¶
code | output | |
---|---|---|
Chord notes | Chord(‘Cdim’).notes | [C, E♭, G♭] |
Distances from root in semitones | Chord(‘Cdim’).intArr | [0, 3, 6] |
Chord intervals | Chord(‘Cdim’).intStr | [‘1’, ‘♭3’, ‘♭5’] |
Chord quality | Chord(‘Cdim’).quality | ‘dim’ |