-
Notifications
You must be signed in to change notification settings - Fork 12
Description
This is related to "Corpus/OpenScore-LiederCorpus/Hensel,_Fanny_(Mendelssohn)/6_Lieder,_Op.1/2_Wanderlied/score.mxl".
There is a MusicXML (and MuseScore) score included for this annotation, which looks like this when opened on MuseScore

When parsing and .show()ing with music21, the resulting score has most duration values corrupted.
It's difficult to tell what exactly went wrong, because it is a silent fail. The score doesn't show any warnings or errors when show()ed; one exception is when running .expandRepeats(), in that case, it does crash with the following error:
>>> s.expandRepeats().show()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/napulen/dev/AugmentedNet/.env/lib/python3.8/site-packages/music21/stream/__init__.py", line 13042, in expandRepeats
post.insert(0, p.expandRepeats(copySpanners=False))
File "/home/napulen/dev/AugmentedNet/.env/lib/python3.8/site-packages/music21/stream/__init__.py", line 8562, in expandRepeats
post = ex.process()
File "/home/napulen/dev/AugmentedNet/.env/lib/python3.8/site-packages/music21/repeat.py", line 770, in process
raise ExpanderException(
music21.repeat.ExpanderException: cannot expand Stream: badly formed repeats or repeat expressionsIf I have to guess, it may be that the triplets on the right hand were moved to the lower staff at the beginning (in fact, I didn't know that was possible to encode in MuseScore!) and that's confusing music21.
