The time corrupt bug

• May 7, 2011 - 20:22

I did find in the forum something about corrupted time. But nothing about how to handle with the bug. What I run often into is that one part in a score has one bar with either too much or too little notes, usually the latter. Like there's missing a 1/16 note.

In the 2nd bar of the euphonium part there's no dot after the 1/8 rest, nor is there a 1/16 rest. When I select the whole bar and deletes everything, I don't get a full rest, but some rests adding up to 15/16. And trying to paste any full bar into the corrupted bar (hoping ha full bar would replace the 15/16 bar) will make the pasted section flow over to the next bar, overwriting it by 1/16.
So how do one deal with these annoying bars? Until the bug is fixed it would be nice to know a secure way. I attached the score where the corrupted bar occures in Euphonium, bar 2. There were some other corrupted bars, too, but I think I got them fixed by pasting a three bar sequence, writing over the previous bar, the corrupted bar and the next bar.

Attachment Size
foobar.png 22.91 KB
SO_partitur_3.mscz 8.57 KB

Comments

I was working on my Mac (PowerBook PPC, OSX 10.4) and MuseScore 1.0 rev 3996.
I run into this same bug on a Windows machine, too, with MuseScore 1.0.

For me, copy/paste currently increases the chances of corrupt scores.

I would start again and probably avoid doing that (or perhaps delete the offending bars, which may correct the timing).

In reply to by chen lung

Avoiding copy/paste would be like going back to paper and pencil. As well as starting all over again.
I could try the deleting of bars. But since it is an orchestra score, one bar is not just one bar. It's 14 parts. 13 parts with perfect bars and 1 part with a corrupt timing. I guess one could try the following:

  • create a backup of the score
  • delete the corrupt bar (hopefully this won't delete 1/16 of the next bar in the corrupted part)
  • insert an empty bar
  • copy and paste the 13 correct bars from the backup
  • rewrite the bar for the part that had the corrupted bar

In reply to by jotti

Copy/paste of full measures seems pretty safe. Also partial measures that don't require re-beaming, like copying just beats 1-2 or beats 3-4. It's copying and pasting sections of music that start and end in the middle of beats that seem most likely to cause problems.

But the workaround you describe is pretty much exactly what I do in the (rare) cases I get myself into some sort of trouble. Except I don't actually create a backup - I just add some extra "scratch" bars at the end of the piece to use for these sorts of operations.

In reply to by Marc Sabatella

Scratch bars might be a good thing. Though one would have to copy and paste the bars there, probably avoiding the corrupted part. Like first parts 1 to 9, then parts 11 to 14, avoiding part 10. Then do the deletion of the corrupt bar, then insert the empty bar, then pasting parts 1 to 14 from the scratch bars. Though the scratch bar area might soon be corrupted itself.

Basic copy/pasting is alright if there's nothing advanced such as a change in key/time signature (with lyrics too) or multiple voices. If there are such things in the score, you may have to do it in sections - avoiding the objects (key/time clefs), although I don't know if it would be any different for sure.

Some of these issues are improved in 2.0 nightly build, but things such as multi-voice copy/pasting is still a problem, as far as I know.

But yes, think you can do it the way you suggested :).

In reply to by chen lung

Ok, seems the file can be saved despite one bar getting screwed up. It's all about deleting enough of cancer tissue.
What I did a second ago was I swapped voice 1 and 2 in a damaged bar. The damage was in voice 1. I had nothing in voice 2. So all the damaged stuff went to voice 2, while voice 1 got a nice whole rest. Then I deleted the uneven notes in voice two, which left me with an uneven number of rests there. I think I had 15/16 of rests, missing 1/16. But in voice 2 one can delete all the rests, leaving NOTHING. In voice 1, if you delete everything, it still leaves the rest there, and if the timing is corrupt, the rests don't match with the whole bar. In worst cases you delete the first beat from the next bar. So, swapping the corrupt stuff to voice 2 and then deleting it and deleting the resulting uneven rests seems to get rid of the time corrupted stuff IN ONE SINGLE BAR IN ONE SINGLE PART of your score.

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