[MusicXML] Text style applied to tempo markings?

• Feb 20, 2015 - 14:05

I opened the mscz here into the nightly build, and I altered the text to match the expected result (changed the bold status). I then exported it to MusicXML and imported it. The text now looks like the actual result again.

Is this right? I don't think MuseScore should probably be using text style for MusicXML. I also wonder if it's the same for other text.

If agreed, either I, or someone else, can file an issue.


Comments

I'd say that, like any other text, the expected results would depend on how you made it bold. Several ways - you can change the text style, change text properties, or apply local formatting iusing the text toolbar. I think the expected results also may differ depending on what options you have set for Edit / Preferences / Import and Export.

Generally speaking, expecting import/export to preserve all formatting is not valid, and in fact, contrary to the expected use case. The normal use wouldn't be these little round trip tests we do; it would be to import scores from *other* sources, that may have been created using settings, fonts, etc that have no bearing on how MuseScore does thing. In the general case, I expect MuseScore to import a MusicXML file and make it look like the file was actually produced in MuseScore, and that means apply our own style settings. Otherwise, I have to do all that work of MuseScore-izing the file by hand, and that's no fun.

In reply to by Marc Sabatella

Currently, when importing MusicXML, the MuseScore styles get updated with the MusicXML style settings font family and size. The individual elements (such as words and tempo) get the type-dependent default style but overrule this if explicit formatting is present for that element.

Depending on the input file (specifically the amount of formatting present) and what you want to achieve (have the result look as specified in the file or as specified in your current style) this may or may not be what you want.

I can imagine additional preference settings to help here, e.g. "import formatting from MusicXML file: yes/no", but this is currently not implemented.

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