Musecore 4.2 MusicXML issue

• Jan 4, 2024 - 18:00

I've been trying to export MusicXML from Musescore 4.2 and import into Band-In-A-Box (BIAB).

When I try to import in BIAB, it baulks with an error: "Could not convert variant of type (null) into type (String).
When I try to import the same MusicXML file back into Musescore 4.2 I get an error:
File: " ... Waste_No_Tears.musicxml" is not a valid MusicXML file.

Attachment Size
Waste_No_Tears.musicxml 55.61 KB

Comments

Try again. I’ve always wondered if there is some sort of interference that messes with exports. Like noise in an mp3 that wasn’t supposed to be there.

Several chord symbols (e.g. the one at the first note in measure 15) have been encoded incorrectly by MuseScore, the MusicXML file does not comply with the MusicXML specification.

This should be fixed, but finding the cause requires having the MuseScore file available. Please attach it.

In reply to by bobjp

I can open them in Musescore 4 OK, though it reports the MusicXML as "not valid".
Band-In-A-Box, where I wish to import the same MusicXML aborts with a conversion issue.

I would have been nicer if BIAB had tried to better handle the non-conformity, but that's not the bug. The bug is, I believe, the absence of "major" in the "kind" element.

MusicXML is quite complex and it is not surprising that errors creep in.

In reply to by bobjp

I've been doing this for a few years and generally it has worked in the past. I'm pretty sure I've used the method with Musescore 4, too, but either not with the latest incremental, or I've just been lucky. I think I tried with several scores, so I suspect the former.

I have been contemplating changing all occurrences of empty 'kind' elements with a version containing 'major', but I have yet to try that. It's a hack anyway that's of fairly limited benefit, but it may be a workaround for a while.

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