-
Notifications
You must be signed in to change notification settings - Fork 8
Description
When running musicdiff to compare a MEI predicted score (obtained via OMR -> music21 -> converter21) and the ground truth (obtained by exporting MEI from Sibelius), we find that most of the differences come from the fact that notes with 'accid.ges' are considered distinct from notes with simple 'accid'.
Attribute accid.ges is found in the ground truth, whereas accid is found in the predicted. I understand that "accid' means "performed + written" whereas "accid.ges" means "performed (but not written is the accid were met before in the measure).
Here is an example: at measure 8, the second A flat is marked as a difference by musicdiff. The MEI converter produced an 'accid' attribute, even though a first A flat was met before in the measure.
Ground truth note:
Predicted note
In Music21, I can see the displayStyle by default is "normal" (https://www.music21.org/music21docs/moduleReference/modulePitch.html#music21.pitch.Accidental.displayType) so my understanding is that the second A flat should be produced with "accid.ges".
Hope it is clear :-) So what can we do ? Is there any action to be taken in the music21 code ? Is there a change to to in the converter ? There is not OMR error there, only (IMO) a matter of encoding.
Thanks a lot
Philippe