Strange behaviour after XML import
No big deal, but:
The example is just a part of a score created from an XML-file.
Perhaps someone can explain why Musescore (3.5, or 3.6... does not matter)
"reacts" like it does to this score?
Attachment | Size |
---|---|
example.mscz | 5.02 KB |
Comments
What's wrong about it? What is the XML source?
In reply to What's wrong about it? What… by Jojo-Schmitz
Thanks for quick feedback and I am sorry about a bit hasty request.
I forgot to mention the error-code I get when opening the score:
"Bar 1, stave 1 incomplete. Expected 2/4; Found 12/16"
The xml-source is in my "emptied" wastebasket, I'm afraid :(
In reply to Thanks for quick feedback… by ErlingI
See https://musescore.org/en/node/54721
In reply to See https://musescore.org/en… by Jojo-Schmitz
I have no problem fixing the problem.
The "problem" is what Musescore sees as wrong. The program displays an apparently OK score.
In bar properties the bar is OK and when counting, the note values “add up” correctly.
In reply to I have no problem fixing the… by ErlingI
Well, without the XML is it impossible to tell what in that XML triggered the corruption on import
In reply to Well, without the XML is it… by Jojo-Schmitz
OK. I see this as an "isolated" Musescore-problem, but anyway:
A xml-export of the score and import creates the same "problem". I have attached the xml-source.
In reply to OK. I see this as an … by ErlingI
Well, exporting a corrupt score of course creates a corrupt score on import, garbage in, garbage out
In reply to Well, exporting a corrupt… by Jojo-Schmitz
Sorry, but I feel this (your answers that is) is a bit "going in circles"
Once more:
Step 1. Musescore shows a "perfect" score.
Step 2. Check the bar information - all is OK,
Step 3. Count the notes ... all OK.
Step 4. Save the score.... all OK
Step 5. Open the score.... "score corrupted".
So: where in this score is the garbage?
And how to identify the error in the software?
In reply to Sorry, but I feel this (your… by ErlingI
Sorry, I'm not understanding. I can see the score you posted originally is corrupt. Is there a second score you are saying you have somewhere that is not corrupt, and that you know of some steps that will cause it to become corrupt? If so, please attach the uncorrupted score, and list the steps that result in the corruption so we can try to investigate.
In reply to Sorry, I'm not understanding… by Marc Sabatella
Hi and thanks for answer.
I am a bit frustrated and disappointed about myself. ☹
I fail to/simply cannot explain myself and make my point clear in the first place!
However, I will give it one more "shot":
You say the score I posted is corrupt. Where in the Musescore example that I posted can I identify where the "corruption" is? Bar 1?
"Inside" the score "everything" seems OK. I cannot scrutinize the score to find where the error is. The bar in question seems perfectly OK.
A fix?: Simply delete all notes inside the bar and re-enter them and the error is gone.
Cause?: I suspect there is a "hidden" voice I cannot see.
In reply to Hi and thanks for answer. I… by ErlingI
"Bar 1, stave 1 incomplete. Expected 2/4; Found 12/16"
So there's too much in it, 1/4 or 4/16 too much
Often the easiest fix is to swap voice 1 and 2 twice, but that is more likely to help if there's less than extected rather than more
In reply to "Bar 1, stave 1 incomplete… by Jojo-Schmitz
Hi and thanks for proposal.
However, the question is not how to fix a problem, there is perhaps multiple ways.
The problem is: why cannot Musescore show what the problem is except for when opening the score?
Where "inside" the score can I turn my attention to find the score-error?
In reply to Hi and thanks for proposal… by ErlingI
Maybe I'm still missing something, but to me the problem seems quite obvious to look at it. As the message tells you, the problem is measure 1, staff one. So, look at it. There are somehow three beats there even though the time signature is 2/4. What else would you be expecting to find in addition to this?
In reply to Maybe I'm still missing… by Marc Sabatella
But the bar properties says 2/4?
In reply to But the bar properties says… by ErlingI
That is the corruption, contradicting information, Time sig and measure properties say 2/4, but there are 12/16 in the measure
In reply to But the bar properties says… by ErlingI
Exactly. Corruption means, the actual notes in the score don't reflect what the bar properties say they should. It indicates a bug that happened during some previous edit operation, or else a bad file that was imported. The point is, now it is your job to fix the score using the techniques in the articles linekd previously.