The music21 library has the roman module which holds objects representing roman numeral harmonic analysis. These objects can be used for the transition logic inside the state objects designed to represent harmonic functions (Tonic, subdominant, dominant, secondary dominant). Also one of the states needs to be the compilation of the chords subject to analysis.
The music21 library has the roman module which holds objects representing roman numeral harmonic analysis. These objects can be used for the transition logic inside the state objects designed to represent harmonic functions (Tonic, subdominant, dominant, secondary dominant). Also one of the states needs to be the compilation of the chords subject to analysis.
But, well... we'll get there.