MusicXML: tremolos between two notes not exported/imported

• Feb 11, 2010 - 08:34
Type
Wording/Translation
Severity
S4 - Minor
Status
closed
Project

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).

tremolo.png

    <measure number="20">
      <note>
        <pitch>
          <step>B</step>
          <octave>4</octave>
        </pitch>
        <duration>3</duration>
        <voice>1</voice>
        <type>quarter</type>
        <notations>
          <ornaments><tremolo type="start">2</tremolo></ornaments>
        </notations>
      </note>
      <note>
        <pitch>
          <step>B</step>
          <octave>4</octave>
        </pitch>
        <duration>3</duration>
        <voice>1</voice>
        <type>quarter</type>
        <notations>
          <ornaments><tremolo type="stop"/></ornaments>
        </notations>
      </note>
      <note>
        <rest/>
        <duration>3</duration>
        <voice>1</voice>
        <type>quarter</type>
      </note>
    </measure>
Attachment Size
tremolo.png 813 bytes