MusicXML: tremolos between two notes not exported/imported
Steps to reproduce bug
1. Open two-note tremolo.mscz
2. Save as MusicXML
3. Open the MusicXML file
Expected behavior: Score opened in step 3 should look identical to the score opened in step 1
Actual behavior: tremolo is ignored
MuseScore version: r. 2701
(Operating System: Windows XP)
Discussion: My copy of Finale 2007 doesn't give an accurate MusicXML export for two-note tremolos ( can share the file if you are interested). Since I couldn't find reference implementation I did my best to understand the specs . Feel free to correct, but my guess is it would look something like:
<note default-x="75.41" default-y="-30.00"> <pitch> <step>G</step> <octave>4</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>whole</type> <staff>1</staff> <notations> <ornaments> <tremolo type="start">3</tremolo> </ornaments> </notations> </note> <backup> <duration>2</duration> </backup> <note default-x="119.42" default-y="5.00"> <pitch> <step>G</step> <octave>5</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>whole</type> <staff>1</staff> <notations> <ornaments> <tremolo type="stop">3</tremolo> </ornaments> </notations> </note>
Comments
Correction: Instead of whole notes they should be labeled as halfnotes and have a duration of 2 instead of 4.
This is according to the Unofficial MusicXML test suite 33a spanners (note that lilypond does do appear to interpret this correctly).
Export implemented in r2710.
Fixed in r2722.
Automatically closed -- issue fixed for 2 weeks with no activity.