Music XML incorrect notes
I have a music xml part that has been exported from Sibelius first, but once imported into Musescore, the notes in the third bar piano part and many following ones are displayed an octave lower.
If I open the file with using the Myriad music xml browser plugin the score displays correctly.
The relevant section of the xml is attached (though I can not see any issue with it) as are the views from Musescore & the Myriad browser plugin.
Attachment | Size |
---|---|
Musescore xml import.JPG | 34.35 KB |
Myriad web viewer.JPG | 30.16 KB |
section of xml.txt | 5.61 KB |
Comments
Unless I'm missing something, these are the exact same octave - it's just that MuseScore is showing the RH notes in the last measurte in the bottom staff rather than the top. I'd guess something about the MusicXML file is making that happen,, but it's hard to say what. Hard to say because a) I am not an expert in MusicXML and b) it's hard to say anything given just a picture of a score or even a snippet of text. The actual file in question is usually more helpful.
In reply to Unless I'm missing something, by Marc Sabatella
Yes it is that the notes are in the wrong staff, the octave is indeed correct. I have now attahced a full xml file. Interestingly I tried loading the file in to Finale Notepad which also displays it correctly, made a small change e.g. add a lyric then re-saved it as an xml, Musescore then displays it correctly.
In reply to full XML fille now attached by alto_cleff
Cause of the issue is that the voice assignment is given only for the first note in every chord. This causes MuseScore to assume that the G3 notes in the lower staff are part of the chords in the upper staff.
Note that the notes are correct, they are displayed on the wrong staff.
Even though I believe the MusicXML file is strictly speaking incorrect, it should not be difficult to make MuseScore more robust and thus prevent this issue. See issue #20174: [MusicXML import] missing voice in chord handled incorrectly.
Fixed file is attached.
In reply to Cause of the issue is that by Leon Vinken
Thanks for the help, I've done a diff on the two files now which made it clear where changes are. Now to go through the whole 11 pages of the score, that that is an example xml from and add the voice. This should be quicker editing the xml , rather than correcting in Musescore.
In reply to Thanks by alto_cleff
MuseScore fix available as https://github.com/musescore/MuseScore/pull/233.
Should make it to the nightly builds soon.