Special characters in MusicXML

• Nov 8, 2014 - 10:35

1. Open attached mscz (produced in 1.3).
2. 'Export….'.
3. Choose 'MusicXML'.
4. 'Save'.
5. Open MusicXML.

Result: An error appears that it isn't a valid MusicXML file:

Fatal error: line 85 column 20 Element lyric is missing child element.

6. 'Yes'.

Result:

Several characters are missing - because in the mscz, they maybe subject to an algorithm that doesn't centre them and as a result, they aren't exported/imported? Are they supported?

Some characters don't appear identical to the mscz in their appearance, or presentation. It reminds me of this .

Notes:

Also attached is the produced MusicXML.

Both images use Emmentaler for the symbol and text fonts.

In 1.3, inputting semiquaver produced a quaver - hence the exclusion.

The slur-like objects appear when opening the mscz and MusicXML in 1.3, but not in 2.0. (There seems to be a bug somewhere: They appear in the exported PNG, but not in the application itself.)

Using MuseScore 2.0 Nightly Build 93e1d5b - Mac 10.7.5.


Comments

The text handler in the MusicXML exporter only handles normal Unicode characters. The symbols are not supported. In principle these could exported to MusicXML, by exporting both the font and the code point used. This will only work as long as the position of the symbols in MuseScores font does not change. Furthermore, the receiving application must have the MuseScore fonts available.

Note that currently the symbols are simply ignored on export, which leads to invalid MusicXML for lyrics consisting of symbols only (which I believe is not a very plausible use case).

In reply to by Leon Vinken

Hi Leon

Since you are more knowledgable in this, would you mind filing any issues?

If there's stuff not supported, then fine.

What about the characters not appearing identical to the mscz in appearance, or presentation? For example, look at bar 7 - the dot distance differs.

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