Measure duration set incorrect while importing musicXML

• Dec 5, 2024 - 10:03

Hello everyone,
I created a musicXML via Photoscore. When I import it in museScore, my measure duration is off, resulting in grey rests to complete the bar.
While in the music XML I have a 4:4 notation, the actual measure duration is set to 6:4. I have 152 measures in my score, so going through them one by one is a bit much.
Along with that, when I change the actual measure duration to 4:4, the notes in the second voice are deleted and replaced by a rest.

Does anyone know how I can set the measure duration in a way that the actual duration is also correct?

Please find attached my musicXML.

Jelle

Attachment Size
Another Day.xml 1.38 MB

Comments

In reply to by jgulmans

I saved it with Musescore 3.7 (the version doesn't really matter).
Then I opened the mscx in a text editor and replaced all occurrences of 6/4 with 4/4.
And in each measure there was an invisible rest of half duration, which I deleted - also with the text editor.
Two measures were still noted to be wrong. I deleted them and rewrote them - in Musescore.

In reply to by jgulmans

This, for example, is a empty measure which occurs frequently. There you can see that it describes a whole rest AND a half rest with visibility 0 and a measure len of 6/4:

      <Measure len="6/4">
        <voice>
          <Rest>
            <durationType>whole</durationType>
            </Rest>
          <Rest>
            <visible>0</visible>
            <durationType>half</durationType>
            </Rest>
          </voice>
        </Measure>

I deleted the part

          <Rest>
            <visible>0</visible>
            <durationType>half</durationType>
            </Rest>

and replaced the measure lenght by 4/4.

The reason MuseScore creates grey rests in the Diana, Dan, Gabe, Natalie and Piano parts is that the Photoscore's MusicXML file contains whole rests with a specified duration of 6/4 in the Henry/Madden part in measures 2 up to 108.

Do you still have an unanswered question? Please log in first to post your question.