Export function does not export mode parameter from input file that has it

• May 6, 2020 - 07:21

I have .musicxml files where the mode is included to specify major or minor modes. This is specified as part of the key element. The problem is that when a file like this is exported (to either .musicxml or .mxl formats) the mode parameter is not included in the exported file.

I do not expect that the MuseScore app to do anything with the mode parameter since I know MuseScore doesn't support modes, but it should at least preserve the mode parameter in the XML when exporting if it is in the input file. I have another app that needs to know if the score is either major or minor from an .mxl file. I am relying on MuseScore to generate the .mxl compressed file. Thanks in advance for your attention to this problem.


Comments

In reply to by Jojo-Schmitz

Being new to the MuseScore arena, I had a hard time following the referenced discussion. But It seems like it was mainly about adding support for mode, which is not what I'm asking for. But maybe fixing the export was supposed to be a part of the package that was implemented.
In any case, what I see is that if I open a musicxml file with a mode, and then export it as musicxml or mxl, the mode is gone. See attachment. I made no changes to the score before exporting.

Attachment Size
MuseScore export.docx 37.35 KB

In reply to by Jojo-Schmitz

OK. I think that reference is the answer to my problem. I was in fact first looking at scores that are C Major. My issue is that I have an app that wants to display accurately major vs minor. So as was discussed in the thread, it seems to me that if a score explicitly says it's major or minor then that mode should be included in the export. Anyway, I'm sure that my wanting it to work this way isn't going to change it. So I'd like to understand the proposed workaround:

"Marc Sabatella • Dec 6, 2019 - 04:48
Worked fine for me when I tried it:

add key signature other than C/a
change to C/a
use Inspector to set mode to minor
export to MusicXML
The exported file contains a key element with a "minor" mode tag."

I don't know what the "Inspector" is. Can you explain? Thanks.

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