Hi - I am planning to write a Python program using music21 that can compare two music XML files and output a quantitative value on the level of similarity and/or highlight specific areas where there were differences.
The goal is to use this as a tool to improve piano performance by comparing the output from a piano student with the output from the original piece. My plan is to input performance data from a MIDI enabled piano keyboard using the Musescore app. I would then compare this input to the original piece from Musecore (either from their library of pieces if it exists or by entering myself manually from sheet music). My concept is that both can then be exported to Music XML files and run through a comparison program.
Does this sound feasible with music21?
Are there already modules in music21 that can run this type of comparison?
Are there better ways to do this? This is my first time exploring MIDI, Musescore, and music21, but the potential looks very interesting.
Thanks.