Cannot open .mgu files in MuseScore 2.0.1
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.
One thing you can try is clicking the Ignore button and continuing to load the file anyway. See also https://musescore.org/en/node/54721. As to why the file is corrupt, that's presumably Band-in-a-Box's fault.
EDIT: Or not. Sorry, I hadn't seen Thomas's post.
In reply to One thing you can try is 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 Oops, sorry, my bad. I 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 Hmm. There seems to be more 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).
In reply to I think there is a small bug by ABL
There also seems to be a lot more notes in the file. MuseScore stops reading after an unknown 0xe0 event but if we would skip it, there would be a lot more notes.