[MusicXML] Note glyph in tempo text imported from 1.3 missing when exporting to MusicXML

• Dec 2, 2014 - 04:46
Type
Functional
Severity
S3 - Major
Status
closed
Project

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

Result: The notehead in the tempo text is missing.

Note: Also attached is the produced MusicXML.

Using MuseScore 2.0 Nightly Build 4934cf0 - Mac 10.7.5.


Comments

Title [MusicXML] Notehead in tempo text missing [MusicXML] Note glyph in tempo text imported from 1.3 missing when exporting to MusicXML

It's not just a notehead; it's a the entire quarter note glyph (quarter note = 80). Note this works fine if the symbol is added within 2.0 - it's only an issue for imported 1.3 scores that are then exported to MusicXML. I assume that's because for 2.0, we use standard Unicode codepoints for these glyphs; 1.3 used proprietary glyphs. I guess the export facility should special case those symbols and convert them to Unicode.

In this case, the internal representation of the quarter note glyph is <sym>unicodeNoteQuarterUp</sym> (as is expected), but the tempo text also contains formatting, which confuses the regular expression match used to recognize the text as a tempo text. Solution is to remove the formatting before regular expression matching.

Will fix this, but will take a few days.