[MusicXML export] marcato with direction down exported as type up

• Jul 18, 2021 - 09:24
Reported version
3.5
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

See attached file.

Relates to #270643: [EPIC] MusicXML import/export issues

Attachment Size
marcato_MS_directions.mscx 4.85 KB

Comments

The MusicXML exporter uses the Articulation::up() function to determine marcato type. In MuseScore 2, type and position were related but in later versions up() returns the position (above/below staff) independently of the type. Suggested solution: use the marcato subtype (i.e. the symId) instead.