Cannot open .mgu files in MuseScore 2.0.1

• May 14, 2015 - 22:23

MuseScore 2.0.1 is not opening .mgu (Band In A Box) files. I get a file corrupted error on any file I try, with these details:

Measure 6 Staff 1 incomplete. Expected: 4/4; Found: 3/16
Measure 7 Staff 1 incomplete. Expected: 4/4; Found: 3/8
Measure 8 Staff 1 incomplete. Expected: 4/4; Found: 3/16
Measure 9 Staff 1 incomplete. Expected: 4/4; Found: 0/1
Measure 10 Staff 1 incomplete. Expected: 4/4; Found: 0/1
Measure 11 Staff 1 incomplete. Expected: 4/4; Found: 3/8
Measure 12 Staff 1 incomplete. Expected: 4/4; Found: 1/8
Measure 13 Staff 1 incomplete. Expected: 4/4; Found: 1/2
Measure 14 Staff 1 incomplete. Expected: 4/4; Found: 3/8
Measure 15 Staff 1 incomplete. Expected: 4/4; Found: 0/1
Measure 16 Staff 1 incomplete. Expected: 4/4; Found: 0/1
Measure 17 Staff 1 incomplete. Expected: 4/4; Found: 1/2
Measure 18 Staff 1 incomplete. Expected: 4/4; Found: 3/16
Measure 19 Staff 1 incomplete. Expected: 4/4; Found: 3/8
Measure 20 Staff 1 incomplete. Expected: 4/4; Found: 3/16
Measure 21 Staff 1 incomplete. Expected: 4/4; Found: 0/1

I've attached an example (rename .txt to .mgu).

I didn't try this feature with MuseScore 1.x, so don't know if this is a new problem with 2.0. I see from other posts on this forum that at least some people were able to open BIAB files with 1.x.

Attachment Size
Hallelujah, I Love Her So.txt 13.76 KB

Comments

Thanks for reporting this issue. Either the original source file is not right, either the Biab import filter is not correct. I do have to pass this issue on to someone more knowledgeable on this matter.

In reply to by Isaac Weiss

Oops, sorry, my bad. I didn't notice the ignore button. The file does indeed load if you ignore the errors.

I then saved it as a mscz file, but I still get errors when I open the mscz. I also tried exporting it as MusicXML, but when I try to open it MuseScore complains that the file is corrupt and is not able to continue.

In reply to by guitarboy

Hmm. There seems to be more than one issue here. When opening the original MGU file, the corruptions that are named in the dialog don't seem to exist in the score when you click Ignore. On the other hand, when you save it as an MSCZ file and reopen it, the (different) list of corruptions is accurate—there are real corruptions in the score, which weren't present before.

But what's bizarre is that when you open the original MGU file, ignoring claimed corruptions, all the beats seem to add up—and yet when you change the duration of a note, MuseScore acts as if the corruptions named in the dialog are really there and you're trying to correct them.

In reply to by Isaac Weiss

I think there is a small bug in the biab import, and the file is also corrupted.
The bug:
All chords of this file are imported with 0/1 duration.
The line:
chord->setDurationType(d);
is missing after chord->setDurationType(d);
at line 585 of mscore\bb.cpp
https://github.com/musescore/MuseScore/blob/master/mscore/bb.cpp#L585

After adding this line (and recompiling MuseScore), the file is imported, but corruptions are present in measures 9, 10, 13, 14, 16, 17, 19, 21, i.e. the values do not add up to 4/4, see attachment. That's why I think that the file already contains corruptions (on top of the import bug).

Attachment Size
Hallelujah, I Love Her So.mscz 22.91 KB

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