MusicXML export does not preserve altered note tuning
Reported version
3.5
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
In the attached file, the first note contains a tuning of 33 cents. Upon MusicXML export of this sheet, the note's "alter" tag contains the value 0.5, instead of 0.33.
Attachment | Size |
---|---|
Ya_labesyn_ya_labsyn.mscz | 15.26 KB |
Comments
As per https://github.com/musescore/MuseScore/blob/master/mu4/importexport/int…, it seems that the note's tuning property is not used during export - only the accidental. The accidental should be overridden by the tuning value.
Relates to #270643: [EPIC] MusicXML import/export issues and #303920: [MusicXML import] Floating-Point Alter tag interferes with import of accidental and #303918: Microtonal information in Alter MusicXML tag not preserved.
See https://github.com/musescore/MuseScore/pull/6693
Does that deal with those other issues mentioned above too?
> Does that deal with those other issues mentioned above too?
As far as I can tell, both issues #303918: Microtonal information in Alter MusicXML tag not preserved. and #303920: [MusicXML import] Floating-Point Alter tag interferes with import of accidental relate to importing altered notes, not exporting them. I am planning to make a separate PR for these issues.
While the above mentioned PR is part of my MuseScore 3.7 Evolution, it isn't in Muu 4 (yet)
See https://github.com/musescore/MuseScore/issues/23063 and https://github.com/musescore/MuseScore/pull/25020
And https://github.com/musescore/MuseScore/pull/25022, a port of https://github.com/musescore/MuseScore/pull/6693 to Mu4
Fixed in branch master, commit 3f7e2ef692
_Fix #311792, GH#23063: Override alter tag with note tuning value if present
Port of #6693_
Fixed in branch master, commit 4f64230c6b
_Merge pull request #25022 from Jojo-Schmitz/musicXMLAlterElementNotExported
Fix #311792, GH#23063: Override alter tag with note tuning value if present_
Automatically closed -- issue fixed for 2 weeks with no activity.