You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem summary
I'm working in MuseScore 4 and have a 4/4 measure with a double-dotted half note, followed by a clef change, followed by an eighth note:
When I convert this to MusicXML and import it with music21, there is an extra rest inserted after the clef change. It looks like it's related to <backup> and <forward> tags that are MuseScore adds around the clef change.
music21 version
9.1.0
Problem summary
I'm working in MuseScore 4 and have a 4/4 measure with a double-dotted half note, followed by a clef change, followed by an eighth note:
When I convert this to MusicXML and import it with music21, there is an extra rest inserted after the clef change. It looks like it's related to
<backup>
and<forward>
tags that are MuseScore adds around the clef change.Steps to reproduce
Use this file (remove the .txt) from the file name:
clef_change_backup.musicxml.txt
Expected vs. actual behavior
More information
I tried removing the
<backup>
and<forward>
tags in the XML:and saved it as this file: clef_change_nobackup.musicxml.txt
Rerunning the previous steps generates the expected output:
The text was updated successfully, but these errors were encountered: