]> git.donarmstrong.com Git - lilypond.git/commitdiff
Reg Tests: XML 02a fix incorrect last note duration
authorPatrick Schmidt <ptrcklschmdt@gmail.com>
Sat, 28 Jun 2014 20:09:34 +0000 (21:09 +0100)
committerJames Lowe <pkx166h@gmail.com>
Sat, 5 Jul 2014 05:07:22 +0000 (06:07 +0100)
Issue 3974

Unofficial MusicXML test suite shows incorrect last not duration
the last note was duration 2 (undotted 64th) but shows dotted 128th

Added some missing <type> elements
Corrected the durations of the last measure

Fixes provided by Patrick Schmidt

input/regression/musicxml/02a-Rests-Durations.xml

index 139884454859123c62975a1dc5b67de7bdf0354d..8e5bce1184942c60a055b39f70ecf1b836368aa3 100644 (file)
@@ -19,7 +19,7 @@
   <part id="P1">
     <measure number="1">
       <attributes>
-        <divisions>32</divisions>
+        <divisions>64</divisions>
         <key>
           <fifths>0</fifths>
           <mode>major</mode>
       </attributes>
       <note>
         <rest/>
-        <duration>128</duration>
+        <duration>256</duration>
         <voice>1</voice>
+        <type>whole</type>
       </note>
     </measure>
     <!--=======================================================-->
     <measure number="2">
       <note>
         <rest/>
-        <duration>128</duration>
+        <duration>256</duration>
         <voice>1</voice>
+        <type>whole</type>
       </note>
     </measure>
     <!--=======================================================-->
     <measure number="3">
       <note>
         <rest/>
-        <duration>128</duration>
+        <duration>256</duration>
         <voice>1</voice>
         <type>whole</type>
       </note>
     <measure number="4">
       <note>
         <rest/>
-        <duration>64</duration>
+        <duration>128</duration>
         <voice>1</voice>
         <type>half</type>
       </note>
       <note>
         <rest/>
-        <duration>32</duration>
+        <duration>64</duration>
         <voice>1</voice>
         <type>quarter</type>
       </note>
       <note>
         <rest/>
-        <duration>16</duration>
+        <duration>32</duration>
         <voice>1</voice>
         <type>eighth</type>
       </note>
       <note>
         <rest/>
-        <duration>8</duration>
+        <duration>16</duration>
         <voice>1</voice>
         <type>16th</type>
       </note>
       <note>
         <rest/>
-        <duration>4</duration>
+        <duration>8</duration>
         <voice>1</voice>
         <type>32nd</type>
       </note>
       <note>
         <rest/>
-        <duration>2</duration>
+        <duration>4</duration>
         <voice>1</voice>
         <type>64th</type>
       </note>
       <note>
         <rest/>
-        <duration>1</duration>
+        <duration>2</duration>
         <voice>1</voice>
         <type>128th</type>
       </note>
       <note>
         <rest/>
-        <duration>1</duration>
+        <duration>2</duration>
         <voice>1</voice>
         <type>128th</type>
       </note>
     <measure number="5">
       <note>
         <rest/>
-        <duration>96</duration>
+        <duration>192</duration>
         <voice>1</voice>
         <type>half</type>
         <dot/>
       </note>
       <note>
         <rest/>
-        <duration>32</duration>
+        <duration>64</duration>
         <voice>1</voice>
         <type>quarter</type>
       </note>
     <measure number="6">
       <note>
         <rest/>
-        <duration>48</duration>
+        <duration>64</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>96</duration>
         <voice>1</voice>
         <type>quarter</type>
         <dot/>
       </note>
       <note>
         <rest/>
-        <duration>24</duration>
+        <duration>48</duration>
         <voice>1</voice>
         <type>eighth</type>
         <dot/>
       </note>
       <note>
         <rest/>
-        <duration>12</duration>
+        <duration>24</duration>
         <voice>1</voice>
         <type>16th</type>
         <dot/>
       </note>
       <note>
         <rest/>
-        <duration>6</duration>
+        <duration>12</duration>
         <voice>1</voice>
         <type>32nd</type>
         <dot/>
       </note>
       <note>
         <rest/>
-        <duration>3</duration>
+        <duration>6</duration>
         <voice>1</voice>
         <type>64th</type>
         <dot/>
       </note>
       <note>
         <rest/>
-        <duration>2</duration>
+        <duration>3</duration>
+        <voice>1</voice>
+        <type>128th</type>
+        <dot/>
+      </note>
+      <note>
+        <rest/>
+        <duration>3</duration>
         <voice>1</voice>
         <type>128th</type>
         <dot/>