]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: Sample .xml files for regression and converage testing
authorReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 6 Sep 2007 23:06:42 +0000 (01:06 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 6 Sep 2007 23:20:41 +0000 (01:20 +0200)
Add sample MusicXML files generated with Finale, Rosegarden, Noteedit
and JScore to test for regressions and feature coverage. Currently,
these files are only converted to .ly files, but not processed further.

Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
34 files changed:
input/regression/GNUmakefile
input/regression/musicxml/01_Chord_Rosegarden.xml [new file with mode: 0644]
input/regression/musicxml/01b_Chords_Rosegarden.xml [new file with mode: 0644]
input/regression/musicxml/01c_Chords_Rosegarden.xml [new file with mode: 0644]
input/regression/musicxml/01d_Chords_SchubertStabatMater.xml [new file with mode: 0644]
input/regression/musicxml/02a_Articulations_Finale.xml [new file with mode: 0644]
input/regression/musicxml/02b_Articulations_Rosegarden.xml [new file with mode: 0644]
input/regression/musicxml/02c_Articulations_Noteedit.xml [new file with mode: 0644]
input/regression/musicxml/02d_Articulations_TwoStaves_Noteedit.xml [new file with mode: 0644]
input/regression/musicxml/02e_Articulations_JScore.xml [new file with mode: 0644]
input/regression/musicxml/03a_Dynamics_Finale.xml [new file with mode: 0644]
input/regression/musicxml/03b_Dynamics_Noteedit.xml [new file with mode: 0644]
input/regression/musicxml/03c_Dynamics_JScore.xml [new file with mode: 0644]
input/regression/musicxml/04a_Spanners_Finale.xml [new file with mode: 0644]
input/regression/musicxml/04b_Spanners_Rosegarden.xml [new file with mode: 0644]
input/regression/musicxml/04c_Spanners_Noteedit.xml [new file with mode: 0644]
input/regression/musicxml/04d_Spanners_JScore.xml [new file with mode: 0644]
input/regression/musicxml/05a_HeaderQuotes_Finale.xml [new file with mode: 0644]
input/regression/musicxml/05b_Header_Information_Rosegarden.xml [new file with mode: 0644]
input/regression/musicxml/06a_Lyrics_Finale.xml [new file with mode: 0644]
input/regression/musicxml/06b_MultipleLyrics_Finale.xml [new file with mode: 0644]
input/regression/musicxml/06c_Lyrics_Pianostaff_Finale.xml [new file with mode: 0644]
input/regression/musicxml/07a_Clefs_Finale.xml [new file with mode: 0644]
input/regression/musicxml/07b_Nokeyclef_Rosegarden.xml [new file with mode: 0644]
input/regression/musicxml/08a_Partorder_Rosegarden.xml [new file with mode: 0644]
input/regression/musicxml/08b_StaffGroups_Finale.xml [new file with mode: 0644]
input/regression/musicxml/08c_More_than_10_parts_Rosegarden.xml [new file with mode: 0644]
input/regression/musicxml/09a_Repeats_Finale.xml [new file with mode: 0644]
input/regression/musicxml/10a_TwoVoicesOnStaff_Finale.xml [new file with mode: 0644]
input/regression/musicxml/GNUmakefile [new file with mode: 0644]
make/lilypond-vars.make
make/musicxml-rules.make [new file with mode: 0644]
make/musicxml-targets.make [new file with mode: 0644]
make/musicxml-vars.make [new file with mode: 0644]

index df3a19a13b9f8eb384053f05651107f297b48d9e..753d483bd9674586a235df824d340bae816f184f 100644 (file)
@@ -6,3 +6,4 @@ LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc
 include $(depth)/make/stepmake.make
 TITLE=LilyPond Regression Tests
 
+SUBDIRS=musicxml
diff --git a/input/regression/musicxml/01_Chord_Rosegarden.xml b/input/regression/musicxml/01_Chord_Rosegarden.xml
new file mode 100644 (file)
index 0000000..5407004
--- /dev/null
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+       <work> <work-title>/home/reinhold/lilypond-dev-files/01_chord.xml</work-title></work> 
+       <identification> 
+               <rights>Unknown</rights>
+               <encoding>
+                       <software>Rosegarden-4</software>
+               </encoding>
+       </identification> 
+       <part-list>
+               <score-part id="0">
+                       <part-name>Chord test</part-name>
+                       <score-instrument id="#1">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+       <part id="0">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <rest/>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <rest/>
+                               <duration>1920</duration>
+                               <voice>1</voice>
+                               <type>half</type>
+                       </note>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/01b_Chords_Rosegarden.xml b/input/regression/musicxml/01b_Chords_Rosegarden.xml
new file mode 100644 (file)
index 0000000..1f2f95c
--- /dev/null
@@ -0,0 +1,193 @@
+<?xml version="1.0"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+       <work> <work-title>/home/reinhold/lilypond-dev-files/MusicXML/01b_Chords_Rosegarden.xml</work-title></work> 
+       <identification> 
+               <rights>Unknown</rights>
+               <encoding>
+                       <software>Rosegarden-4</software>
+               </encoding>
+       </identification> 
+       <part-list>
+               <score-part id="0">
+                       <part-name>Chord test</part-name>
+                       <score-instrument id="#1">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+       <part id="0">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+               </measure>
+
+               <measure number="2">
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/01c_Chords_Rosegarden.xml b/input/regression/musicxml/01c_Chords_Rosegarden.xml
new file mode 100644 (file)
index 0000000..1165e7f
--- /dev/null
@@ -0,0 +1,266 @@
+<?xml version="1.0"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+       <work> <work-title>/home/reinhold/lilypond-dev-files/MusicXML/01c_Chords_Rosegarden.xml</work-title></work> 
+       <identification> 
+               <rights>Unknown</rights>
+               <encoding>
+                       <software>Rosegarden-4</software>
+               </encoding>
+       </identification> 
+       <part-list>
+               <score-part id="0">
+                       <part-name>Chord test</part-name>
+                       <score-instrument id="#1">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+       <part id="0">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1440</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <dot/>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1440</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <dot/>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>C</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>1440</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <dot/>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>C</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>C</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+               </measure>
+
+               <measure number="2">
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>E</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>E</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>A</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>F</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <chord/>
+                               <pitch>
+                                       <step>D</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/01d_Chords_SchubertStabatMater.xml b/input/regression/musicxml/01d_Chords_SchubertStabatMater.xml
new file mode 100644 (file)
index 0000000..e9a8984
--- /dev/null
@@ -0,0 +1,173 @@
+<?xml version="1.0"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+       <work> <work-title>/home/reinhold/lilypond-dev-files/MusicXML/01c_Chords_Rosegarden.xml</work-title></work> 
+       <identification> 
+               <rights>Unknown</rights>
+               <encoding>
+                       <software>Rosegarden-4</software>
+               </encoding>
+       </identification> 
+       <part-list>
+               <score-part id="0">
+                       <part-name>Chord test</part-name>
+                       <score-instrument id="1">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+       <part id="0">
+          <measure number="1">
+            <attributes>
+              <divisions>8</divisions>
+              <key>
+                <fifths>-4</fifths>
+                <mode>major</mode>
+              </key>
+              <time symbol="common">
+                <beats>4</beats>
+                <beat-type>4</beat-type>
+              </time>
+              <clef>
+                <sign>G</sign>
+                <line>2</line>
+              </clef>
+            </attributes>
+            <sound tempo="120"/>
+            <direction placement="above">
+              <direction-type>
+                <words default-y="15" font-family="Times New Roman" font-size="8,5" font-weight="bold">Largo</words>
+              </direction-type>
+            </direction>
+            <direction placement="below">
+              <direction-type>
+                <dynamics default-y="-80">
+                  <fp/>
+                </dynamics>
+              </direction-type>
+              <offset>3</offset>
+            </direction>
+            <note>
+              <pitch>
+                <step>F</step>
+                <octave>4</octave>
+              </pitch>
+              <duration>32</duration>
+              <voice>1</voice>
+              <type>whole</type>
+              <notations>
+                <articulations>
+                  <accent placement="below"/>
+                </articulations>
+                <fermata type="upright"/>
+              </notations>
+            </note>
+          </measure>
+          <!--=======================================================-->
+          <measure number="2">
+            <direction placement="below">
+              <direction-type>
+                <dynamics default-y="-80">
+                  <p/>
+                </dynamics>
+              </direction-type>
+              <offset>1</offset>
+              <sound dynamics="54"/>
+            </direction>
+            <note>
+              <pitch>
+                <step>F</step>
+                <octave>4</octave>
+              </pitch>
+              <duration>12</duration>
+              <voice>1</voice>
+              <type>quarter</type>
+              <dot/>
+              <stem>up</stem>
+            </note>
+            <note>
+              <chord/>
+              <pitch>
+                <step>A</step>
+                <alter>-1</alter>
+                <octave>4</octave>
+              </pitch>
+              <duration>12</duration>
+              <voice>1</voice>
+              <type>quarter</type>
+              <dot/>
+              <stem>up</stem>
+            </note>
+            <note>
+              <pitch>
+                <step>F</step>
+                <octave>4</octave>
+              </pitch>
+              <duration>4</duration>
+              <voice>1</voice>
+              <type>eighth</type>
+              <stem>up</stem>
+            </note>
+            <note>
+              <chord/>
+              <pitch>
+                <step>A</step>
+                <alter>-1</alter>
+                <octave>4</octave>
+              </pitch>
+              <duration>4</duration>
+              <voice>1</voice>
+              <type>eighth</type>
+              <stem>up</stem>
+            </note>
+            <note>
+              <pitch>
+                <step>G</step>
+                <octave>4</octave>
+              </pitch>
+              <duration>8</duration>
+              <voice>1</voice>
+              <type>quarter</type>
+              <stem>up</stem>
+            </note>
+            <note>
+              <chord/>
+              <pitch>
+                <step>B</step>
+                <alter>-1</alter>
+                <octave>4</octave>
+              </pitch>
+              <duration>8</duration>
+              <voice>1</voice>
+              <type>quarter</type>
+              <stem>up</stem>
+            </note>
+            <note>
+              <pitch>
+                <step>G</step>
+                <octave>4</octave>
+              </pitch>
+              <duration>8</duration>
+              <voice>1</voice>
+              <type>quarter</type>
+              <stem>up</stem>
+            </note>
+            <note>
+              <chord/>
+              <pitch>
+                <step>B</step>
+                <alter>-1</alter>
+                <octave>4</octave>
+              </pitch>
+              <duration>8</duration>
+              <voice>1</voice>
+              <type>quarter</type>
+              <stem>up</stem>
+            </note>
+          </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/02a_Articulations_Finale.xml b/input/regression/musicxml/02a_Articulations_Finale.xml
new file mode 100644 (file)
index 0000000..c65f1af
--- /dev/null
@@ -0,0 +1,989 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"\r
+                                "http://www.musicxml.org/dtds/partwise.dtd">\r
+<score-partwise>\r
+  <movement-title>Articulations Test</movement-title>\r
+  <identification>\r
+    <creator type="composer">Reinhold Kainhofer</creator>\r
+    <rights>Public Domain</rights>\r
+    <encoding>\r
+      <software>Finale 2007 for Windows</software>\r
+      <software>Dolet Light for Finale 2007</software>\r
+      <encoding-date>2007-08-31</encoding-date>\r
+    </encoding>\r
+  </identification>\r
+  <part-list>\r
+    <score-part id="P1">\r
+      <part-name>MusicXML Part</part-name>\r
+      <score-instrument id="P1-I1">\r
+        <instrument-name>Grand Piano</instrument-name>\r
+      </score-instrument>\r
+      <midi-instrument id="P1-I1">\r
+        <midi-channel>1</midi-channel>\r
+        <midi-program>1</midi-program>\r
+      </midi-instrument>\r
+    </score-part>\r
+  </part-list>\r
+  <!--=========================================================-->\r
+  <part id="P1">\r
+    <measure number="1">\r
+      <attributes>\r
+        <divisions>1</divisions>\r
+        <key>\r
+          <fifths>0</fifths>\r
+          <mode>major</mode>\r
+        </key>\r
+        <time symbol="common">\r
+          <beats>4</beats>\r
+          <beat-type>4</beat-type>\r
+        </time>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <sound tempo="120"/>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <accent placement="below"/>\r
+            <staccato placement="below"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <staccatissimo placement="below"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <accent placement="below"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <accent placement="below"/>\r
+            <staccato placement="below"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="2">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <strong-accent placement="above" type="up"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <strong-accent placement="above" type="up"/>\r
+            <staccato placement="above"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <tenuto placement="below"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <detached-legato placement="below"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="3">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <accent placement="below"/>\r
+            <tenuto placement="below"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <fermata type="upright"/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <ornaments>\r
+            <trill-mark placement="above"/>\r
+          </ornaments>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="4">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <ornaments>\r
+            <wavy-line placement="below" relative-x="6" type="start"/>\r
+            <wavy-line placement="below" relative-x="16" type="stop"/>\r
+          </ornaments>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <ornaments>\r
+            <wavy-line placement="above" type="start"/>\r
+            <wavy-line placement="above" relative-x="15" type="stop"/>\r
+            <inverted-mordent placement="below"/>\r
+          </ornaments>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="5">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <ornaments>\r
+            <mordent placement="below"/>\r
+          </ornaments>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <ornaments>\r
+            <turn placement="above"/>\r
+          </ornaments>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <technical>\r
+            <up-bow placement="above"/>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <technical>\r
+            <down-bow placement="above"/>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="6">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <technical>\r
+            <harmonic placement="below"/>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <technical>\r
+            <harmonic placement="below"/>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <technical>\r
+            <stopped placement="below"/>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <technical>\r
+            <fingering placement="above">1</fingering>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="7">\r
+      <print new-system="yes"/>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <technical>\r
+            <fingering placement="above">2</fingering>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <technical>\r
+            <fingering placement="above">3</fingering>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <technical>\r
+            <fingering placement="above">4</fingering>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <technical>\r
+            <fingering placement="above">5</fingering>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="8">\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <pedal line="no" relative-x="-9" type="start"/>\r
+        </direction-type>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <pedal line="no" type="stop"/>\r
+        </direction-type>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <arpeggiate/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <ornaments/>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="9">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <ornaments/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <ornaments/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <caesura relative-x="21"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <breath-mark placement="above" relative-x="18"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="10">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <words relative-x="-7">(</words>\r
+        </direction-type>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <words relative-x="15">)</words>\r
+        </direction-type>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="11">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <staccato placement="above"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <accent placement="above"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <accent placement="above"/>\r
+            <staccato placement="above"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <accent placement="above"/>\r
+            <tenuto placement="above"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="12">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="13">\r
+      <print new-system="yes"/>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="14">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="15">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="16">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <accent placement="below"/>\r
+          </articulations>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="17">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="18">\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+      </barline>\r
+    </measure>\r
+  </part>\r
+  <!--=========================================================-->\r
+</score-partwise>\r
diff --git a/input/regression/musicxml/02b_Articulations_Rosegarden.xml b/input/regression/musicxml/02b_Articulations_Rosegarden.xml
new file mode 100644 (file)
index 0000000..4fb2c6c
--- /dev/null
@@ -0,0 +1,256 @@
+<?xml version="1.0"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+       <work> <work-title>/home/reinhold/lilypond-dev-files/MusicXML/Unprocessd/Articulations/25_Articulations_Rosegarden.xml</work-title></work> 
+       <identification> 
+               <rights>Unknown</rights>
+               <encoding>
+                       <software>Rosegarden-4</software>
+               </encoding>
+       </identification> 
+       <part-list>
+               <score-part id="63">
+                       <part-name>Articulations Test</part-name>
+               </score-part>
+       </part-list>
+       <part id="63">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>6</beats>
+                               <beat-type>8</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+
+               <measure number="2">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+
+               <measure number="3">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+
+               <measure number="4">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/02c_Articulations_Noteedit.xml b/input/regression/musicxml/02c_Articulations_Noteedit.xml
new file mode 100644 (file)
index 0000000..e1f650c
--- /dev/null
@@ -0,0 +1,204 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE score-partwise PUBLIC
+    "-//Recordare//DTD MusicXML 1.0 Partwise//EN"
+    "http://www.musicxml.org/dtds/partwise.dtd">
+
+<score-partwise>
+       <work>
+       </work>
+
+       <identification>
+               <encoding>
+                       <software>NoteEdit</software>
+               </encoding>
+       </identification>
+
+       <part-list>
+               <score-part id="P1">
+                       <part-name>Staff 1</part-name>
+                       <score-instrument id="P1-I1">
+                               <instrument-name>Klavier 1</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="P1-I1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+
+       <part id="P1">
+               <measure number="1">
+                       <attributes>
+                               <divisions>2</divisions>
+                               <key>
+                                       <fifths>-1</fifths>
+                               </key>
+                               <time>
+                                       <beats>4</beats>
+                                       <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                                       <sign>G</sign>
+                                       <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <articulations>
+                                               <staccato/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <articulations>
+                                               <strong-accent/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <articulations>
+                                               <tenuto/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <articulations>
+                                               <staccatissimo/>
+                                       </articulations>
+                               </notations>
+                       </note>
+               </measure>
+               <measure number="2">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <articulations>
+                                               <accent/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <fermata type="upright"/>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>3</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <dot/>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                               <stem>up</stem>
+                       </note>
+               </measure>
+               <measure number="3">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <barline location="right">
+                               <bar-style>light-heavy</bar-style>
+                               <repeat direction="backward"/>
+                       </barline>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/02d_Articulations_TwoStaves_Noteedit.xml b/input/regression/musicxml/02d_Articulations_TwoStaves_Noteedit.xml
new file mode 100644 (file)
index 0000000..93aaf24
--- /dev/null
@@ -0,0 +1,294 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE score-partwise PUBLIC
+    "-//Recordare//DTD MusicXML 1.0 Partwise//EN"
+    "http://www.musicxml.org/dtds/partwise.dtd">
+
+<score-partwise>
+       <work>
+               <work-title>Irgendein Lied</work-title>
+       </work>
+
+       <identification>
+               <creator type="composer">Rainer Zufall</creator>
+               <rights>Public Domain, so that the whole world can savely forget about it...</rights>
+               <encoding>
+                       <software>NoteEdit</software>
+               </encoding>
+       </identification>
+
+       <part-list>
+               <score-part id="P1">
+                       <part-name>Damen</part-name>
+                       <score-instrument id="P1-I1">
+                               <instrument-name>Klavier 1</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="P1-I1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="P2">
+                       <part-name>Herren</part-name>
+                       <score-instrument id="P2-I2">
+                               <instrument-name>Klavier 1</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="P2-I2">
+                               <midi-channel>2</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+
+       <part id="P1">
+               <measure number="1">
+                       <attributes>
+                               <divisions>2</divisions>
+                               <key>
+                                       <fifths>-1</fifths>
+                               </key>
+                               <time>
+                                       <beats>4</beats>
+                                       <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                                       <sign>G</sign>
+                                       <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <articulations>
+                                               <staccato/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <articulations>
+                                               <strong-accent/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <articulations>
+                                               <tenuto/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <articulations>
+                                               <staccatissimo/>
+                                       </articulations>
+                               </notations>
+                       </note>
+               </measure>
+               <measure number="2">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <articulations>
+                                               <accent/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <fermata type="upright"/>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>3</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <dot/>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                               <stem>up</stem>
+                       </note>
+               </measure>
+               <measure number="3">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>2</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <barline location="right">
+                               <bar-style>light-heavy</bar-style>
+                               <repeat direction="backward"/>
+                       </barline>
+               </measure>
+       </part>
+       <part id="P2">
+               <measure number="1">
+                       <attributes>
+                               <divisions>2</divisions>
+                               <key>
+                                       <fifths>-1</fifths>
+                               </key>
+                               <time>
+                                       <beats>4</beats>
+                                       <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                                       <sign>F</sign>
+                                       <line>4</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>D</step>
+                                       <octave>3</octave>
+                               </pitch>
+                               <duration>8</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                               <notations>
+                                       <articulations>
+                                               <staccato/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <backup>
+                               <duration>8</duration>
+                       </backup>
+               </measure>
+               <measure number="2">
+                       <note>
+                               <pitch>
+                                       <step>D</step>
+                                       <octave>3</octave>
+                               </pitch>
+                               <duration>8</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                               <notations>
+                                       <articulations>
+                                               <staccato/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <backup>
+                               <duration>8</duration>
+                       </backup>
+               </measure>
+               <measure number="3">
+                       <note>
+                               <pitch>
+                                       <step>D</step>
+                                       <octave>3</octave>
+                               </pitch>
+                               <duration>8</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                               <notations>
+                                       <articulations>
+                                               <staccato/>
+                                       </articulations>
+                               </notations>
+                       </note>
+                       <backup>
+                               <duration>8</duration>
+                       </backup>
+                       <barline location="right">
+                               <bar-style>light-heavy</bar-style>
+                               <repeat direction="backward"/>
+                       </barline>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/02e_Articulations_JScore.xml b/input/regression/musicxml/02e_Articulations_JScore.xml
new file mode 100644 (file)
index 0000000..b05acb9
--- /dev/null
@@ -0,0 +1,286 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE score-partwise PUBLIC 
+"-//Recordare//DTD MusicXML 1.0 Partwise//EN" 
+"http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+<work>
+<work-title>JScore Articulations Test</work-title>
+</work>
+<identification>
+<creator type="composer">Reinhold Kainhofer</creator>
+<encoding>
+<software>JMSL's MusicXMLWriter by Nick Didkovsky. Java Music Specification Language by Nick Didkovsky and Phil Burk, (c) 2003 Nick Didkovsky, Phil Burk.  Available from: http://www.algomusic.com</software>
+</encoding>
+</identification>
+<part-list>
+<score-part id="P1" >
+<part-name>Voice 1</part-name>
+</score-part>
+</part-list>
+<part id="P1" >
+<measure number="1" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>4</beats><beat-type>4</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<direction placement="above">
+<direction-type>
+<metronome parentheses="yes" relative-y="18">
+<beat-unit>quarter</beat-unit> 
+<per-minute>60</per-minute>
+</metronome>
+</direction-type>
+<offset>72</offset>
+<sound tempo="60" />
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<articulations>
+<accent placement="below" />
+</articulations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<articulations>
+<staccato placement="below" />
+</articulations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<articulations>
+<tenuto placement="below" />
+</articulations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<articulations>
+<strong-accent placement="below" />
+</articulations>
+</notations>
+</note>
+</measure>
+<measure number="2" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>4</beats><beat-type>4</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<articulations>
+<accent placement="below" />
+<staccato placement="below" />
+</articulations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<articulations>
+<accent placement="below" />
+<tenuto placement="below" />
+</articulations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<articulations>
+<strong-accent placement="below" />
+<staccato placement="below" />
+</articulations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<fermata type="upright" />
+</notations>
+</note>
+</measure>
+<measure number="3" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>4</beats><beat-type>4</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<technical>
+<harmonic />
+</technical>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<ornaments>
+<trill-mark placement="above" />
+</ornaments>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<ornaments>
+<trill-mark placement="above" />
+</ornaments>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<ornaments>
+<trill-mark placement="above" />
+</ornaments>
+</notations>
+</note>
+</measure>
+<measure number="4" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>4</beats><beat-type>4</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<ornaments>
+<trill-mark placement="above" />
+</ornaments>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<ornaments>
+<mordent placement="above" />
+</ornaments>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+<ornaments>
+<inverted-mordent placement="above" />
+</ornaments>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+</measure>
+</part>
+</score-partwise>
diff --git a/input/regression/musicxml/03a_Dynamics_Finale.xml b/input/regression/musicxml/03a_Dynamics_Finale.xml
new file mode 100644 (file)
index 0000000..e8028f8
--- /dev/null
@@ -0,0 +1,397 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"\r
+                                "http://www.musicxml.org/dtds/partwise.dtd">\r
+<score-partwise>\r
+  <movement-title>Finale Dynamics Test</movement-title>\r
+  <identification>\r
+    <creator type="composer">Reinhold Kainhofer</creator>\r
+    <rights>Public Domain</rights>\r
+    <encoding>\r
+      <software>Finale 2007 for Windows</software>\r
+      <software>Dolet Light for Finale 2007</software>\r
+      <encoding-date>2007-09-02</encoding-date>\r
+    </encoding>\r
+  </identification>\r
+  <part-list>\r
+    <score-part id="P1">\r
+      <part-name>MusicXML Part</part-name>\r
+      <score-instrument id="P1-I1">\r
+        <instrument-name>Grand Piano</instrument-name>\r
+      </score-instrument>\r
+      <midi-instrument id="P1-I1">\r
+        <midi-channel>1</midi-channel>\r
+        <midi-program>1</midi-program>\r
+      </midi-instrument>\r
+    </score-part>\r
+  </part-list>\r
+  <!--=========================================================-->\r
+  <part id="P1">\r
+    <measure number="1">\r
+      <attributes>\r
+        <divisions>8</divisions>\r
+        <key>\r
+          <fifths>0</fifths>\r
+          <mode>major</mode>\r
+        </key>\r
+        <time symbol="common">\r
+          <beats>4</beats>\r
+          <beat-type>4</beat-type>\r
+        </time>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <sound tempo="120"/>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80" relative-x="-3">\r
+            <ffff/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <sound dynamics="141"/>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <sound dynamics="127"/>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <dynamics default-y="-80" placement="below">\r
+            <fff/>\r
+          </dynamics>\r
+        </notations>\r
+      </note>\r
+      <sound dynamics="112"/>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <dynamics default-y="-80" placement="below">\r
+            <ff/>\r
+          </dynamics>\r
+        </notations>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <f/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>2</offset>\r
+        <sound dynamics="98"/>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="2">\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <mf/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>1</offset>\r
+        <sound dynamics="83"/>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <sound dynamics="69"/>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <dynamics default-y="-80" placement="below">\r
+            <mp/>\r
+          </dynamics>\r
+        </notations>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <p/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>2</offset>\r
+        <sound dynamics="54"/>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <pp/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <sound dynamics="40"/>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="3">\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <ppp/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>1</offset>\r
+        <sound dynamics="26"/>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <pppp/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <sound dynamics="11"/>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <fp/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>2</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <fz/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>2</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="4">\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <sf/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>1</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <sfz/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>1</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <sffz/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>2</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <words default-y="-80" font-family="Times New Roman" font-size="10.25" font-style="italic">subito</words>\r
+        </direction-type>\r
+        <direction-type>\r
+          <words default-y="-80" font-family="Times New Roman" font-size="10.25"> </words>\r
+        </direction-type>\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <p/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>2</offset>\r
+        <sound dynamics="54"/>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="5">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+      </barline>\r
+    </measure>\r
+  </part>\r
+  <!--=========================================================-->\r
+</score-partwise>\r
diff --git a/input/regression/musicxml/03b_Dynamics_Noteedit.xml b/input/regression/musicxml/03b_Dynamics_Noteedit.xml
new file mode 100644 (file)
index 0000000..17d3726
--- /dev/null
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE score-partwise PUBLIC
+    "-//Recordare//DTD MusicXML 1.0 Partwise//EN"
+    "http://www.musicxml.org/dtds/partwise.dtd">
+
+<score-partwise>
+       <work>
+       </work>
+
+       <identification>
+               <encoding>
+                       <software>NoteEdit</software>
+               </encoding>
+       </identification>
+
+       <part-list>
+               <score-part id="P1">
+                       <part-name>Staff 1</part-name>
+                       <score-instrument id="P1-I1">
+                               <instrument-name>Klavier 1</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="P1-I1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+
+       <part id="P1">
+               <measure number="1">
+                       <attributes>
+                               <divisions>1</divisions>
+                               <key>
+                                       <fifths>-1</fifths>
+                               </key>
+                               <time>
+                                       <beats>4</beats>
+                                       <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                                       <sign>G</sign>
+                                       <line>2</line>
+                               </clef>
+                       </attributes>
+                       <direction placement="above">
+                               <direction-type>
+                                       <dynamics>
+                                               <mf/>
+                                       </dynamics>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <direction placement="above">
+                               <direction-type>
+                                       <dynamics>
+                                               <ppp/>
+                                       </dynamics>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <direction placement="above">
+                               <direction-type>
+                                       <dynamics>
+                                               <pp/>
+                                       </dynamics>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <direction placement="above">
+                               <direction-type>
+                                       <dynamics>
+                                               <p/>
+                                       </dynamics>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+               </measure>
+               <measure number="2">
+                       <direction placement="above">
+                               <direction-type>
+                                       <dynamics>
+                                               <mp/>
+                                       </dynamics>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <direction placement="above">
+                               <direction-type>
+                                       <dynamics>
+                                               <mf/>
+                                       </dynamics>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <direction placement="above">
+                               <direction-type>
+                                       <dynamics>
+                                               <f/>
+                                       </dynamics>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <direction placement="above">
+                               <direction-type>
+                                       <dynamics>
+                                               <ff/>
+                                       </dynamics>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+               </measure>
+               <measure number="3">
+                       <direction placement="above">
+                               <direction-type>
+                                       <dynamics>
+                                               <fff/>
+                                       </dynamics>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/03c_Dynamics_JScore.xml b/input/regression/musicxml/03c_Dynamics_JScore.xml
new file mode 100644 (file)
index 0000000..d88b3a0
--- /dev/null
@@ -0,0 +1,260 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE score-partwise PUBLIC 
+"-//Recordare//DTD MusicXML 1.0 Partwise//EN" 
+"http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+<work>
+<work-title>JScore_Dynamics_Test</work-title>
+</work>
+<identification>
+<creator type="composer">Reinhold Kainhofer</creator>
+<encoding>
+<software>JMSL's MusicXMLWriter by Nick Didkovsky. Java Music Specification Language by Nick Didkovsky and Phil Burk, (c) 2003 Nick Didkovsky, Phil Burk.  Available from: http://www.algomusic.com</software>
+</encoding>
+</identification>
+<part-list>
+<score-part id="P1" >
+<part-name>Voice 1</part-name>
+</score-part>
+</part-list>
+<part id="P1" >
+<measure number="1" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>4</beats><beat-type>4</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<direction placement="above">
+<direction-type>
+<metronome parentheses="yes" relative-y="18">
+<beat-unit>quarter</beat-unit> 
+<per-minute>60</per-minute>
+</metronome>
+</direction-type>
+<offset>72</offset>
+<sound tempo="60" />
+</direction>
+<direction placement="below" >
+<direction-type>
+<dynamics relative-y="-6" >
+<ppp />
+</dynamics>
+</direction-type>
+<staff>1</staff>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+<direction placement="below" >
+<direction-type>
+<dynamics relative-y="-6" >
+<pp />
+</dynamics>
+</direction-type>
+<staff>1</staff>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+<direction placement="below" >
+<direction-type>
+<dynamics relative-y="-6" >
+<p />
+</dynamics>
+</direction-type>
+<staff>1</staff>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+<direction placement="below" >
+<direction-type>
+<dynamics relative-y="-6" >
+<mp />
+</dynamics>
+</direction-type>
+<staff>1</staff>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+</measure>
+<measure number="2" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>4</beats><beat-type>4</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<direction placement="below" >
+<direction-type>
+<dynamics relative-y="-6" >
+<mf />
+</dynamics>
+</direction-type>
+<staff>1</staff>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+<direction placement="below" >
+<direction-type>
+<dynamics relative-y="-6" >
+<f />
+</dynamics>
+</direction-type>
+<staff>1</staff>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+<direction placement="below" >
+<direction-type>
+<dynamics relative-y="-6" >
+<ff />
+</dynamics>
+</direction-type>
+<staff>1</staff>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+<direction placement="below" >
+<direction-type>
+<dynamics relative-y="-6" >
+<fff />
+</dynamics>
+</direction-type>
+<staff>1</staff>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+</measure>
+<measure number="3" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>4</beats><beat-type>4</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>960</duration>
+<voice>1</voice>
+<type>quarter</type>
+<notations>
+</notations>
+</note>
+</measure>
+<measure number="4" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>4</beats><beat-type>4</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+</measure>
+</part>
+</score-partwise>
diff --git a/input/regression/musicxml/04a_Spanners_Finale.xml b/input/regression/musicxml/04a_Spanners_Finale.xml
new file mode 100644 (file)
index 0000000..30744f7
--- /dev/null
@@ -0,0 +1,685 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"\r
+                                "http://www.musicxml.org/dtds/partwise.dtd">\r
+<score-partwise>\r
+  <movement-title>Spanners Test</movement-title>\r
+  <identification>\r
+    <creator type="composer">Reinhold Kainhofer</creator>\r
+    <rights>Public Domain </rights>\r
+    <encoding>\r
+      <software>Finale 2007 for Windows</software>\r
+      <software>Dolet Light for Finale 2007</software>\r
+      <encoding-date>2007-08-31</encoding-date>\r
+    </encoding>\r
+  </identification>\r
+  <part-list>\r
+    <score-part id="P1">\r
+      <part-name>MusicXML Part</part-name>\r
+      <score-instrument id="P1-I1">\r
+        <instrument-name>Grand Piano</instrument-name>\r
+      </score-instrument>\r
+      <midi-instrument id="P1-I1">\r
+        <midi-channel>1</midi-channel>\r
+        <midi-program>1</midi-program>\r
+      </midi-instrument>\r
+    </score-part>\r
+  </part-list>\r
+  <!--=========================================================-->\r
+  <part id="P1">\r
+    <measure number="1">\r
+      <attributes>\r
+        <divisions>24</divisions>\r
+        <key>\r
+          <fifths>0</fifths>\r
+          <mode>major</mode>\r
+        </key>\r
+        <time symbol="common">\r
+          <beats>4</beats>\r
+          <beat-type>4</beat-type>\r
+        </time>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <sound tempo="120"/>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>16</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <time-modification>\r
+          <actual-notes>3</actual-notes>\r
+          <normal-notes>2</normal-notes>\r
+        </time-modification>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <tuplet number="1" placement="above" type="start"/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>16</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <time-modification>\r
+          <actual-notes>3</actual-notes>\r
+          <normal-notes>2</normal-notes>\r
+        </time-modification>\r
+        <stem>down</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>16</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <time-modification>\r
+          <actual-notes>3</actual-notes>\r
+          <normal-notes>2</normal-notes>\r
+        </time-modification>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <tuplet number="1" type="stop"/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <slur number="1" type="start"/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="2">\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <slur number="1" type="stop"/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <slur line-type="dashed" number="1" type="start"/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <slur number="1" type="stop"/>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="3">\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <wedge default-y="10" spread="0" type="crescendo"/>\r
+        </direction-type>\r
+        <offset>1</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction>\r
+        <direction-type>\r
+          <wedge spread="15" type="stop"/>\r
+        </direction-type>\r
+        <offset>6</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <wedge default-y="13" spread="15" type="diminuendo"/>\r
+        </direction-type>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction>\r
+        <direction-type>\r
+          <wedge spread="0" type="stop"/>\r
+        </direction-type>\r
+        <offset>8</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="4">\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <ornaments>\r
+            <trill-mark default-y="13"/>\r
+            <wavy-line default-y="13" number="1" type="start"/>\r
+          </ornaments>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <ornaments>\r
+            <wavy-line number="1" type="stop"/>\r
+          </ornaments>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <ornaments>\r
+            <wavy-line default-y="10" number="1" type="start"/>\r
+          </ornaments>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <ornaments>\r
+            <wavy-line number="1" type="stop"/>\r
+          </ornaments>\r
+        </notations>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="5">\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction>\r
+        <direction-type>\r
+          <octave-shift default-y="12" size="8" type="down"/>\r
+        </direction-type>\r
+        <offset>-22</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>5</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction>\r
+        <direction-type>\r
+          <octave-shift size="8" type="stop"/>\r
+        </direction-type>\r
+        <offset>-22</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction>\r
+        <direction-type>\r
+          <octave-shift default-y="16" size="15" type="down"/>\r
+        </direction-type>\r
+        <offset>-20</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>6</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction>\r
+        <direction-type>\r
+          <octave-shift size="15" type="stop"/>\r
+        </direction-type>\r
+        <offset>-15</offset>\r
+      </direction>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="6">\r
+      <print new-system="yes"/>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <bracket default-y="20" line-end="down" line-type="solid" number="1" type="start"/>\r
+        </direction-type>\r
+        <offset>2</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <bracket line-end="down" number="1" type="stop"/>\r
+        </direction-type>\r
+        <offset>8</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <bracket default-y="4" line-end="down" line-type="dashed" number="1" type="start"/>\r
+        </direction-type>\r
+        <offset>3</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <bracket line-end="down" number="1" type="stop"/>\r
+        </direction-type>\r
+        <offset>9</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="7">\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <bracket default-y="16" line-end="none" line-type="solid" number="1" type="start"/>\r
+        </direction-type>\r
+        <offset>4</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <bracket line-end="down" number="1" type="stop"/>\r
+        </direction-type>\r
+        <offset>7</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <bracket default-y="16" line-end="none" line-type="dashed" number="1" type="start"/>\r
+        </direction-type>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <bracket line-end="down" number="1" type="stop"/>\r
+        </direction-type>\r
+        <offset>2</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="8">\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <bracket default-y="15" line-end="none" line-type="solid" number="1" type="start"/>\r
+        </direction-type>\r
+        <offset>5</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <bracket line-end="none" number="1" type="stop"/>\r
+        </direction-type>\r
+        <offset>-11</offset>\r
+      </direction>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <dashes default-y="10" number="1" type="start"/>\r
+        </direction-type>\r
+        <offset>6</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <direction placement="above">\r
+        <direction-type>\r
+          <dashes number="1" type="stop"/>\r
+        </direction-type>\r
+        <offset>11</offset>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="9">\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <glissando line-type="wavy" number="1" type="start"/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>F</step>\r
+          <octave>5</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <glissando line-type="wavy" number="1" type="stop"/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <technical>\r
+            <bend>\r
+              <bend-alter>6</bend-alter>\r
+            </bend>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+      <note print-object="no">\r
+        <pitch>\r
+          <step>F</step>\r
+          <octave>5</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="10">\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <technical>\r
+            <bend>\r
+              <bend-alter>0</bend-alter>\r
+            </bend>\r
+          </technical>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <slide line-type="solid" number="1" type="start"/>\r
+        </notations>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>24</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <slide line-type="solid" number="1" type="stop"/>\r
+        </notations>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+      </barline>\r
+    </measure>\r
+  </part>\r
+  <!--=========================================================-->\r
+</score-partwise>\r
diff --git a/input/regression/musicxml/04b_Spanners_Rosegarden.xml b/input/regression/musicxml/04b_Spanners_Rosegarden.xml
new file mode 100644 (file)
index 0000000..9b88046
--- /dev/null
@@ -0,0 +1,448 @@
+<?xml version="1.0"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+       <work> <work-title>/home/reinhold/lilypond-dev-files/MusicXML/Unprocessd/Articulations/26_Spanners_Rosegarden.xml</work-title></work> 
+       <identification> 
+               <rights>Unknown</rights>
+               <encoding>
+                       <software>Rosegarden-4</software>
+               </encoding>
+       </identification> 
+       <part-list>
+               <score-part id="63">
+                       <part-name>Spanner Test</part-name>
+                       <score-instrument id="#1">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+       <part id="63">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>6</beats>
+                               <beat-type>8</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+
+               <measure number="2">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>6</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>6</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>6</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+
+               <measure number="3">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>3</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>3</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>3</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>2</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>2</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>2</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+
+               <measure number="4">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+
+               <measure number="5">
+                       <note>
+                               <tie type="start"/>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <notations>
+                                       <tied type="start"/>
+                               </notations>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <tie type="stop"/>
+                               <tie type="start"/>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <notations>
+                                       <tied type="stop"/>
+                                       <tied type="start"/>
+                               </notations>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <tie type="stop"/>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <notations>
+                                       <tied type="stop"/>
+                               </notations>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+
+               <measure number="6">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+
+               <measure number="7">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>480</duration>
+                               <voice>1</voice>
+                               <type>eighth</type>
+                       </note>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/04c_Spanners_Noteedit.xml b/input/regression/musicxml/04c_Spanners_Noteedit.xml
new file mode 100644 (file)
index 0000000..a404b5e
--- /dev/null
@@ -0,0 +1,284 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE score-partwise PUBLIC
+    "-//Recordare//DTD MusicXML 1.0 Partwise//EN"
+    "http://www.musicxml.org/dtds/partwise.dtd">
+
+<score-partwise>
+       <work>
+       </work>
+
+       <identification>
+               <encoding>
+                       <software>NoteEdit</software>
+               </encoding>
+       </identification>
+
+       <part-list>
+               <score-part id="P1">
+                       <part-name>Staff 1</part-name>
+                       <score-instrument id="P1-I1">
+                               <instrument-name>Klavier 1</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="P1-I1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+
+       <part id="P1">
+               <measure number="1">
+                       <attributes>
+                               <divisions>1</divisions>
+                               <key>
+                                       <fifths>-1</fifths>
+                               </key>
+                               <time>
+                                       <beats>4</beats>
+                                       <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                                       <sign>G</sign>
+                                       <line>2</line>
+                               </clef>
+                       </attributes>
+                       <direction placement="below">
+                               <direction-type>
+                                       <wedge type="crescendo" spread="0"/>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <direction placement="below">
+                               <direction-type>
+                                       <wedge type="stop" spread="15"/>
+                               </direction-type>
+                       </direction>
+                       <direction placement="below">
+                               <direction-type>
+                                       <wedge type="diminuendo" spread="15"/>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <direction placement="below">
+                               <direction-type>
+                                       <wedge type="stop" spread="0"/>
+                               </direction-type>
+                       </direction>
+               </measure>
+               <measure number="2">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <ornaments>
+                                               <trill-mark/>
+                                               <wavy-line type="start"/>
+                                       </ornaments>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <ornaments>
+                                               <wavy-line type="continue"/>
+                                       </ornaments>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <ornaments>
+                                               <wavy-line type="stop"/>
+                                       </ornaments>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+               </measure>
+               <measure number="3">
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <ornaments>
+                                               <wavy-line type="start"/>
+                                       </ornaments>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <ornaments>
+                                               <wavy-line type="continue"/>
+                                       </ornaments>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <ornaments>
+                                               <wavy-line type="continue"/>
+                                       </ornaments>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <ornaments>
+                                               <wavy-line type="continue"/>
+                                       </ornaments>
+                               </notations>
+                       </note>
+               </measure>
+               <measure number="4">
+                       <direction>
+                               <direction-type>
+                                       <octave-shift type="down" size="8"/>
+                               </direction-type>
+                       </direction>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                               <notations>
+                                       <ornaments>
+                                               <wavy-line type="stop"/>
+                                       </ornaments>
+                               </notations>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>5</octave>
+                               </pitch>
+                               <duration>1</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                               <stem>up</stem>
+                       </note>
+                       <direction>
+                               <direction-type>
+                                       <octave-shift type="stop" size="8"/>
+                               </direction-type>
+                       </direction>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/04d_Spanners_JScore.xml b/input/regression/musicxml/04d_Spanners_JScore.xml
new file mode 100644 (file)
index 0000000..6778793
--- /dev/null
@@ -0,0 +1,401 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE score-partwise PUBLIC 
+"-//Recordare//DTD MusicXML 1.0 Partwise//EN" 
+"http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+<work>
+<work-title>JScore Spanners Test</work-title>
+</work>
+<identification>
+<creator type="composer">Reinhold Kainhofer</creator>
+<encoding>
+<software>JMSL's MusicXMLWriter by Nick Didkovsky. Java Music Specification Language by Nick Didkovsky and Phil Burk, (c) 2003 Nick Didkovsky, Phil Burk.  Available from: http://www.algomusic.com</software>
+</encoding>
+</identification>
+<part-list>
+<score-part id="P1" >
+<part-name>Voice 1</part-name>
+</score-part>
+</part-list>
+<part id="P1" >
+<measure number="1" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>6</beats><beat-type>8</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<direction placement="above">
+<direction-type>
+<metronome parentheses="yes" relative-y="18">
+<beat-unit>quarter</beat-unit> 
+<per-minute>60</per-minute>
+</metronome>
+</direction-type>
+<offset>72</offset>
+<sound tempo="60" />
+</direction>
+<direction >
+<direction-type >
+<octave-shift type="down" size="8" relative-y="14" />
+</direction-type>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>5</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>5</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>5</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<direction >
+<direction-type >
+<octave-shift type="stop" size="8" />
+</direction-type>
+<offset>-800</offset>
+</direction>
+<direction >
+<direction-type >
+<octave-shift type="up" size="8" relative-y="14" />
+</direction-type>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>3</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>3</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>3</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<direction >
+<direction-type >
+<octave-shift type="stop" size="8" />
+</direction-type>
+<offset>-800</offset>
+</direction>
+</measure>
+<measure number="2" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>6</beats><beat-type>8</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<beam number="1" >begin</beam>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<beam number="1" >continue</beam>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<beam number="1" >end</beam>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>319</duration>
+<voice>1</voice>
+<type>eighth</type>
+<time-modification>
+<actual-notes>3</actual-notes>
+<normal-notes>2</normal-notes>
+<normal-type>eighth</normal-type>
+</time-modification>
+<beam number="1" >begin</beam>
+<notations>
+<tuplet type="start" placement="above" />
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>319</duration>
+<voice>1</voice>
+<type>eighth</type>
+<time-modification>
+<actual-notes>3</actual-notes>
+<normal-notes>2</normal-notes>
+</time-modification>
+<beam number="1" >continue</beam>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>319</duration>
+<voice>1</voice>
+<type>eighth</type>
+<time-modification>
+<actual-notes>3</actual-notes>
+<normal-notes>2</normal-notes>
+</time-modification>
+<beam number="1" >end</beam>
+<notations>
+<tuplet type="stop" />
+</notations>
+</note>
+</measure>
+<measure number="3" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>6</beats><beat-type>8</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<direction >
+<direction-type >
+<wedge type="crescendo" spread="0" relative-y="10" />
+</direction-type>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<direction >
+<direction-type >
+<wedge type="stop" spread="15" />
+</direction-type>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<direction >
+<direction-type >
+<wedge type="diminuendo" spread="15" relative-y="10" />
+</direction-type>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<direction >
+<direction-type >
+<wedge type="stop" spread="0" />
+</direction-type>
+</direction>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+</measure>
+<measure number="4" >
+<attributes>
+<divisions>960</divisions>
+<key><fifths>0</fifths></key>
+<time><beats>6</beats><beat-type>8</beat-type></time>
+<clef><sign>G</sign><line>2</line></clef>
+</attributes>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<tie type="stop" />
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+<tied type="start" />
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<tie type="stop" />
+<tie type="start" />
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+<tied type="stop" />
+<tied type="start" />
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<tie type="stop" />
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+<tied type="stop" />
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+<slur type="start" number="1" />
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+</notations>
+</note>
+<note>
+<pitch>
+<step>G</step>
+<octave>4</octave>
+</pitch>
+<duration>480</duration>
+<voice>1</voice>
+<type>eighth</type>
+<notations>
+<slur type="stop" number="1" />
+</notations>
+</note>
+</measure>
+</part>
+</score-partwise>
diff --git a/input/regression/musicxml/05a_HeaderQuotes_Finale.xml b/input/regression/musicxml/05a_HeaderQuotes_Finale.xml
new file mode 100644 (file)
index 0000000..a32187a
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"\r
+                                "http://www.musicxml.org/dtds/partwise.dtd">\r
+<score-partwise>\r
+  <movement-title>Finale "Quoted" test</movement-title>\r
+  <identification>\r
+    <creator type="composer">Reinhold "Tester" Kainhofer</creator>\r
+    <rights>Free for anyone ("Public Domain")</rights>\r
+    <encoding>\r
+      <software>Finale 2007 for Windows</software>\r
+      <software>Dolet Light for Finale 2007</software>\r
+      <encoding-date>2007-09-01</encoding-date>\r
+    </encoding>\r
+  </identification>\r
+  <part-list>\r
+    <score-part id="P1">\r
+      <part-name>MusicXML Part</part-name>\r
+      <score-instrument id="P1-I1">\r
+        <instrument-name>Grand Piano</instrument-name>\r
+      </score-instrument>\r
+      <midi-instrument id="P1-I1">\r
+        <midi-channel>1</midi-channel>\r
+        <midi-program>1</midi-program>\r
+      </midi-instrument>\r
+    </score-part>\r
+  </part-list>\r
+  <!--=========================================================-->\r
+  <part id="P1">\r
+    <measure number="1">\r
+      <attributes>\r
+        <divisions>1</divisions>\r
+        <key>\r
+          <fifths>0</fifths>\r
+          <mode>major</mode>\r
+        </key>\r
+        <time symbol="common">\r
+          <beats>4</beats>\r
+          <beat-type>4</beat-type>\r
+        </time>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <sound tempo="120"/>\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+      </barline>\r
+    </measure>\r
+  </part>\r
+  <!--=========================================================-->\r
+</score-partwise>\r
diff --git a/input/regression/musicxml/05b_Header_Information_Rosegarden.xml b/input/regression/musicxml/05b_Header_Information_Rosegarden.xml
new file mode 100644 (file)
index 0000000..c7ee370
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+       <work> <work-title>/home/reinhold/lilypond-dev-files/11_header_information.xml</work-title></work> 
+       <identification> 
+               <rights>Mein Schatz!</rights>
+               <encoding>
+                       <software>Rosegarden-4</software>
+               </encoding>
+       </identification> 
+       <part-list>
+               <score-part id="0">
+                       <part-name></part-name>
+                       <score-instrument id="#1">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+       <part id="0">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+
+               <measure number="2">
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/06a_Lyrics_Finale.xml b/input/regression/musicxml/06a_Lyrics_Finale.xml
new file mode 100644 (file)
index 0000000..b1fbd44
--- /dev/null
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"\r
+                                "http://www.musicxml.org/dtds/partwise.dtd">\r
+<score-partwise>\r
+  <identification>\r
+    <encoding>\r
+      <software>Finale 2007 for Windows</software>\r
+      <software>Dolet Light for Finale 2007</software>\r
+      <encoding-date>2007-08-29</encoding-date>\r
+    </encoding>\r
+  </identification>\r
+  <part-list>\r
+    <score-part id="P1">\r
+      <part-name>MusicXML Part</part-name>\r
+      <score-instrument id="P1-I1">\r
+        <instrument-name>Grand Piano</instrument-name>\r
+      </score-instrument>\r
+      <midi-instrument id="P1-I1">\r
+        <midi-channel>1</midi-channel>\r
+        <midi-program>1</midi-program>\r
+      </midi-instrument>\r
+    </score-part>\r
+  </part-list>\r
+  <!--=========================================================-->\r
+  <part id="P1">\r
+    <measure number="1">\r
+      <attributes>\r
+        <divisions>1</divisions>\r
+        <key>\r
+          <fifths>0</fifths>\r
+          <mode>major</mode>\r
+        </key>\r
+        <time symbol="common">\r
+          <beats>4</beats>\r
+          <beat-type>4</beat-type>\r
+        </time>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <sound tempo="120"/>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>begin</syllabic>\r
+          <text>Tra</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>middle</syllabic>\r
+          <text>la</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>end</syllabic>\r
+          <text>li</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>Ja!</text>\r
+          <extend/>\r
+        </lyric>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="2">\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>begin</syllabic>\r
+          <text>Tra</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>end</syllabic>\r
+          <text>ra!</text>\r
+        </lyric>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+      </barline>\r
+    </measure>\r
+  </part>\r
+  <!--=========================================================-->\r
+</score-partwise>\r
diff --git a/input/regression/musicxml/06b_MultipleLyrics_Finale.xml b/input/regression/musicxml/06b_MultipleLyrics_Finale.xml
new file mode 100644 (file)
index 0000000..6c48ac2
--- /dev/null
@@ -0,0 +1,210 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"\r
+                                "http://www.musicxml.org/dtds/partwise.dtd">\r
+<score-partwise>\r
+  <movement-title>Finale Multiple Lyrics</movement-title>\r
+  <identification>\r
+    <creator type="composer">Reinhold Kainhofer</creator>\r
+    <rights>Public Domain</rights>\r
+    <encoding>\r
+      <software>Finale 2007 for Windows</software>\r
+      <software>Dolet Light for Finale 2007</software>\r
+      <encoding-date>2007-08-31</encoding-date>\r
+    </encoding>\r
+  </identification>\r
+  <part-list>\r
+    <score-part id="P1">\r
+      <part-name>MusicXML Part</part-name>\r
+      <score-instrument id="P1-I1">\r
+        <instrument-name>Grand Piano</instrument-name>\r
+      </score-instrument>\r
+      <midi-instrument id="P1-I1">\r
+        <midi-channel>1</midi-channel>\r
+        <midi-program>1</midi-program>\r
+      </midi-instrument>\r
+    </score-part>\r
+  </part-list>\r
+  <!--=========================================================-->\r
+  <part id="P1">\r
+    <measure number="1">\r
+      <attributes>\r
+        <divisions>1</divisions>\r
+        <key>\r
+          <fifths>0</fifths>\r
+          <mode>major</mode>\r
+        </key>\r
+        <time symbol="common">\r
+          <beats>4</beats>\r
+          <beat-type>4</beat-type>\r
+        </time>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <sound tempo="120"/>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>begin</syllabic>\r
+          <text>Tra</text>\r
+        </lyric>\r
+        <lyric number="2">\r
+          <syllabic>begin</syllabic>\r
+          <text>tra</text>\r
+        </lyric>\r
+        <lyric number="3">\r
+          <syllabic>begin</syllabic>\r
+          <text>TRA</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>middle</syllabic>\r
+          <text>la</text>\r
+        </lyric>\r
+        <lyric number="2">\r
+          <syllabic>middle</syllabic>\r
+          <text>la</text>\r
+        </lyric>\r
+        <lyric number="3">\r
+          <syllabic>middle</syllabic>\r
+          <text>LA</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>end</syllabic>\r
+          <text>la,</text>\r
+        </lyric>\r
+        <lyric number="2">\r
+          <syllabic>end</syllabic>\r
+          <text>la,</text>\r
+        </lyric>\r
+        <lyric number="3">\r
+          <syllabic>end</syllabic>\r
+          <text>LA,</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>ja!</text>\r
+          <extend/>\r
+        </lyric>\r
+        <lyric number="2">\r
+          <syllabic>single</syllabic>\r
+          <text>ja!</text>\r
+          <extend/>\r
+        </lyric>\r
+        <lyric number="3">\r
+          <syllabic>single</syllabic>\r
+          <text>JA!</text>\r
+          <extend/>\r
+        </lyric>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="2">\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>begin</syllabic>\r
+          <text>Tra</text>\r
+        </lyric>\r
+        <lyric number="2">\r
+          <syllabic>begin</syllabic>\r
+          <text>Tra</text>\r
+        </lyric>\r
+        <lyric number="3">\r
+          <syllabic>begin</syllabic>\r
+          <text>TRA</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>end</syllabic>\r
+          <text>ra...</text>\r
+        </lyric>\r
+        <lyric number="2">\r
+          <syllabic>end</syllabic>\r
+          <text>ra.</text>\r
+        </lyric>\r
+        <lyric number="3">\r
+          <syllabic>end</syllabic>\r
+          <text>RA...</text>\r
+        </lyric>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+      </barline>\r
+    </measure>\r
+  </part>\r
+  <!--=========================================================-->\r
+</score-partwise>\r
diff --git a/input/regression/musicxml/06c_Lyrics_Pianostaff_Finale.xml b/input/regression/musicxml/06c_Lyrics_Pianostaff_Finale.xml
new file mode 100644 (file)
index 0000000..98f33cd
--- /dev/null
@@ -0,0 +1,291 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"\r
+                                "http://www.musicxml.org/dtds/partwise.dtd">\r
+<score-partwise>\r
+  <movement-title>Lyrics test with Piano Staff</movement-title>\r
+  <identification>\r
+    <creator type="composer">Reinhold Kainhofer</creator>\r
+    <encoding>\r
+      <software>Finale 2007 for Windows</software>\r
+      <software>Dolet Light for Finale 2007</software>\r
+      <encoding-date>2007-08-29</encoding-date>\r
+    </encoding>\r
+  </identification>\r
+  <part-list>\r
+    <score-part id="P1">\r
+      <part-name>Piano</part-name>\r
+      <score-instrument id="P1-I1">\r
+        <instrument-name>Piano</instrument-name>\r
+      </score-instrument>\r
+      <midi-instrument id="P1-I1">\r
+        <midi-channel>1</midi-channel>\r
+        <midi-program>1</midi-program>\r
+      </midi-instrument>\r
+    </score-part>\r
+  </part-list>\r
+  <!--=========================================================-->\r
+  <part id="P1">\r
+    <measure number="1">\r
+      <attributes>\r
+        <divisions>1</divisions>\r
+        <key>\r
+          <fifths>0</fifths>\r
+          <mode>major</mode>\r
+        </key>\r
+        <time symbol="common">\r
+          <beats>4</beats>\r
+          <beat-type>4</beat-type>\r
+        </time>\r
+        <staves>2</staves>\r
+        <clef number="1">\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+        <clef number="2">\r
+          <sign>F</sign>\r
+          <line>4</line>\r
+        </clef>\r
+      </attributes>\r
+      <sound tempo="120"/>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <staff>1</staff>\r
+        <lyric number="1">\r
+          <syllabic>begin</syllabic>\r
+          <text>tra</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <staff>1</staff>\r
+        <lyric number="1">\r
+          <syllabic>middle</syllabic>\r
+          <text>la</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <staff>1</staff>\r
+        <lyric number="1">\r
+          <syllabic>end</syllabic>\r
+          <text>li</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <staff>1</staff>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>ja!</text>\r
+          <extend/>\r
+        </lyric>\r
+      </note>\r
+      <backup>\r
+        <duration>4</duration>\r
+      </backup>\r
+      <note>\r
+        <pitch>\r
+          <step>F</step>\r
+          <octave>3</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <staff>2</staff>\r
+        <lyric number="1">\r
+          <syllabic>begin</syllabic>\r
+          <text>TRA</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>F</step>\r
+          <octave>3</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <staff>2</staff>\r
+        <lyric number="1">\r
+          <syllabic>middle</syllabic>\r
+          <text>LA</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>F</step>\r
+          <octave>3</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <staff>2</staff>\r
+        <lyric number="1">\r
+          <syllabic>end</syllabic>\r
+          <text>LI</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>F</step>\r
+          <octave>3</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <staff>2</staff>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>JA!</text>\r
+          <extend/>\r
+        </lyric>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="2">\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <staff>1</staff>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <staff>1</staff>\r
+        <lyric number="1">\r
+          <syllabic>begin</syllabic>\r
+          <text>tra</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <staff>1</staff>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <staff>1</staff>\r
+        <lyric number="1">\r
+          <syllabic>end</syllabic>\r
+          <text>ra!</text>\r
+        </lyric>\r
+      </note>\r
+      <backup>\r
+        <duration>4</duration>\r
+      </backup>\r
+      <note>\r
+        <pitch>\r
+          <step>F</step>\r
+          <octave>3</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <staff>2</staff>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>F</step>\r
+          <octave>3</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <staff>2</staff>\r
+        <lyric number="1">\r
+          <syllabic>begin</syllabic>\r
+          <text>TRA</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>F</step>\r
+          <octave>3</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <staff>2</staff>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>F</step>\r
+          <octave>3</octave>\r
+        </pitch>\r
+        <duration>1</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <staff>2</staff>\r
+        <lyric number="1">\r
+          <syllabic>end</syllabic>\r
+          <text>RA!</text>\r
+        </lyric>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+      </barline>\r
+    </measure>\r
+  </part>\r
+  <!--=========================================================-->\r
+</score-partwise>\r
diff --git a/input/regression/musicxml/07a_Clefs_Finale.xml b/input/regression/musicxml/07a_Clefs_Finale.xml
new file mode 100644 (file)
index 0000000..9e3e384
--- /dev/null
@@ -0,0 +1,388 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"\r
+                                "http://www.musicxml.org/dtds/partwise.dtd">\r
+<score-partwise>\r
+  <movement-title>Finale Clef test</movement-title>\r
+  <identification>\r
+    <creator type="composer">Reinhold Kainhofer</creator>\r
+    <rights>Public Domain</rights>\r
+    <encoding>\r
+      <software>Finale 2007 for Windows</software>\r
+      <software>Dolet Light for Finale 2007</software>\r
+      <encoding-date>2007-09-01</encoding-date>\r
+    </encoding>\r
+  </identification>\r
+  <part-list>\r
+    <score-part id="P1">\r
+      <part-name>MusicXML Part</part-name>\r
+      <score-instrument id="P1-I1">\r
+        <instrument-name>Grand Piano</instrument-name>\r
+      </score-instrument>\r
+      <midi-instrument id="P1-I1">\r
+        <midi-channel>1</midi-channel>\r
+        <midi-program>1</midi-program>\r
+      </midi-instrument>\r
+    </score-part>\r
+  </part-list>\r
+  <!--=========================================================-->\r
+  <part id="P1">\r
+    <measure number="1">\r
+      <attributes>\r
+        <divisions>1</divisions>\r
+        <key>\r
+          <fifths>0</fifths>\r
+          <mode>major</mode>\r
+        </key>\r
+        <time symbol="common">\r
+          <beats>4</beats>\r
+          <beat-type>4</beat-type>\r
+        </time>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <sound tempo="120"/>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="2">\r
+      <attributes>\r
+        <clef>\r
+          <sign>C</sign>\r
+          <line>3</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="3">\r
+      <attributes>\r
+        <clef>\r
+          <sign>C</sign>\r
+          <line>4</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="4">\r
+      <attributes>\r
+        <clef>\r
+          <sign>F</sign>\r
+          <line>4</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="5">\r
+      <attributes>\r
+        <clef>\r
+          <sign>percussion</sign>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="6">\r
+      <attributes>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+          <clef-octave-change>-1</clef-octave-change>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="7">\r
+      <attributes>\r
+        <clef>\r
+          <sign>F</sign>\r
+          <line>4</line>\r
+          <clef-octave-change>-1</clef-octave-change>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="8">\r
+      <attributes>\r
+        <clef>\r
+          <sign>F</sign>\r
+          <line>3</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="9">\r
+      <print new-system="yes"/>\r
+      <attributes>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>1</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="10">\r
+      <attributes>\r
+        <clef>\r
+          <sign>C</sign>\r
+          <line>5</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="11">\r
+      <attributes>\r
+        <clef>\r
+          <sign>C</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="12">\r
+      <attributes>\r
+        <clef>\r
+          <sign>C</sign>\r
+          <line>1</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="13">\r
+      <attributes>\r
+        <clef>\r
+          <sign>percussion</sign>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="14">\r
+      <attributes>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+          <clef-octave-change>1</clef-octave-change>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="15">\r
+      <attributes>\r
+        <clef>\r
+          <sign>F</sign>\r
+          <line>4</line>\r
+          <clef-octave-change>1</clef-octave-change>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="16">\r
+      <attributes>\r
+        <clef>\r
+          <sign>TAB</sign>\r
+          <line>5</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="17">\r
+      <attributes>\r
+        <clef>\r
+          <sign>TAB</sign>\r
+          <line>5</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="18">\r
+      <print new-system="yes"/>\r
+      <attributes>\r
+        <clef>\r
+          <sign>none</sign>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="19">\r
+      <attributes>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>whole</type>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+      </barline>\r
+    </measure>\r
+  </part>\r
+  <!--=========================================================-->\r
+</score-partwise>\r
diff --git a/input/regression/musicxml/07b_Nokeyclef_Rosegarden.xml b/input/regression/musicxml/07b_Nokeyclef_Rosegarden.xml
new file mode 100644 (file)
index 0000000..1a0c716
--- /dev/null
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+       <work> <work-title>/home/reinhold/lilypond-dev-files/07_nokey.xml</work-title></work> 
+       <identification> 
+               <rights>Unknown</rights>
+               <encoding>
+                       <software>Rosegarden-4</software>
+               </encoding>
+       </identification> 
+       <part-list>
+               <score-part id="0">
+                       <part-name>NoClef Test</part-name>
+                       <score-instrument id="#1">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+       <part id="0">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>C</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+
+               <measure number="2">
+                       <note>
+                               <pitch>
+                                       <step>C</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/08a_Partorder_Rosegarden.xml b/input/regression/musicxml/08a_Partorder_Rosegarden.xml
new file mode 100644 (file)
index 0000000..2e1e763
--- /dev/null
@@ -0,0 +1,210 @@
+<?xml version="1.0"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+       <work> <work-title>/home/reinhold/lilypond-dev-files/02_partorder.xml</work-title></work> 
+       <identification> 
+               <rights>Unknown</rights>
+               <encoding>
+                       <software>Rosegarden-4</software>
+               </encoding>
+       </identification> 
+       <part-list>
+               <score-part id="0">
+                       <part-name>Part 1</part-name>
+                       <score-instrument id="#1">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="1">
+                       <part-name>Part 2</part-name>
+                       <score-instrument id="#2">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#2">
+                               <midi-channel>2</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="2">
+                       <part-name>Part 3</part-name>
+                       <score-instrument id="#3">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#3">
+                               <midi-channel>3</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="3">
+                       <part-name>Part 4</part-name>
+                       <score-instrument id="#4">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#4">
+                               <midi-channel>4</midi-channel>
+                       </midi-instrument>
+               </score-part>
+       </part-list>
+       <part id="0">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                               <key>
+                               <fifths>1</fifths>
+                               <mode>major</mode>
+                               </key>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>C</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <rest/>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <rest/>
+                               <duration>1920</duration>
+                               <voice>1</voice>
+                               <type>half</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="1">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                               <key>
+                               <fifths>1</fifths>
+                               <mode>major</mode>
+                               </key>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>E</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <rest/>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <rest/>
+                               <duration>1920</duration>
+                               <voice>1</voice>
+                               <type>half</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="2">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                               <key>
+                               <fifths>1</fifths>
+                               <mode>major</mode>
+                               </key>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>G</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <rest/>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <rest/>
+                               <duration>1920</duration>
+                               <voice>1</voice>
+                               <type>half</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="3">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                               <key>
+                               <fifths>1</fifths>
+                               <mode>major</mode>
+                               </key>
+                       </attributes>
+                       <note>
+                               <pitch>
+                                       <step>B</step>
+                                       <octave>4</octave>
+                               </pitch>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <rest/>
+                               <duration>960</duration>
+                               <voice>1</voice>
+                               <type>quarter</type>
+                       </note>
+                       <note>
+                               <rest/>
+                               <duration>1920</duration>
+                               <voice>1</voice>
+                               <type>half</type>
+                       </note>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/08b_StaffGroups_Finale.xml b/input/regression/musicxml/08b_StaffGroups_Finale.xml
new file mode 100644 (file)
index 0000000..2bf1b50
--- /dev/null
@@ -0,0 +1,1791 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"
+                                "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+  <movement-title>Bar/Staff test</movement-title>
+  <identification>
+    <creator type="composer">R.K.</creator>
+    <rights>copyright</rights>
+    <encoding>
+      <software>Finale 2006 for Windows</software>
+      <software>Dolet Light for Finale 2006</software>
+      <encoding-date>2007-08-25</encoding-date>
+    </encoding>
+  </identification>
+  <part-list>
+    <part-group number="2" type="start">
+      <group-symbol>bracket</group-symbol>
+      <group-barline>yes</group-barline>
+    </part-group>
+    <score-part id="P1">
+      <part-name>Piccolo</part-name>
+      <part-abbreviation>Picc.</part-abbreviation>
+      <score-instrument id="P1-I1">
+        <instrument-name>Piccolo</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P1-I1">
+        <midi-channel>1</midi-channel>
+        <midi-program>73</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="1" type="start">
+      <group-symbol>bracket</group-symbol>
+      <group-barline>no</group-barline>
+    </part-group>
+    <score-part id="P2">
+      <part-name>Flute 1</part-name>
+      <part-abbreviation>Fl. 1</part-abbreviation>
+      <score-instrument id="P2-I2">
+        <instrument-name>Flute 1</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P2-I2">
+        <midi-channel>2</midi-channel>
+        <midi-program>74</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P3">
+      <part-name>Flute 2</part-name>
+      <part-abbreviation>Fl. 2</part-abbreviation>
+      <score-instrument id="P3-I3">
+        <instrument-name>Flute 2</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P3-I3">
+        <midi-channel>3</midi-channel>
+        <midi-program>74</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="1" type="stop"/>
+    <part-group number="3" type="start">
+      <group-name>Oboe through Clarinet</group-name>
+      <group-abbreviation>O to Cl</group-abbreviation>
+      <group-symbol>bracket</group-symbol>
+      <group-barline>yes</group-barline>
+    </part-group>
+    <part-group number="4" type="start">
+      <group-symbol>line</group-symbol>
+      <group-barline>yes</group-barline>
+    </part-group>
+    <score-part id="P4">
+      <part-name>Oboe</part-name>
+      <part-abbreviation>Ob.</part-abbreviation>
+      <score-instrument id="P4-I4">
+        <instrument-name>Oboe</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P4-I4">
+        <midi-channel>4</midi-channel>
+        <midi-program>69</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P5">
+      <part-name>English Horn</part-name>
+      <part-abbreviation>E. Hn.</part-abbreviation>
+      <score-instrument id="P5-I5">
+        <instrument-name>English Horn</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P5-I5">
+        <midi-channel>5</midi-channel>
+        <midi-program>70</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="4" type="stop"/>
+    <score-part id="P6">
+      <part-name>Clarinet in Eb</part-name>
+      <part-abbreviation>Eb Cl.</part-abbreviation>
+      <score-instrument id="P6-I6">
+        <instrument-name>Clarinet in Eb</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P6-I6">
+        <midi-channel>6</midi-channel>
+        <midi-program>72</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="3" type="stop"/>
+    <part-group number="1" type="start">
+      <group-symbol>bracket</group-symbol>
+      <group-barline>no</group-barline>
+    </part-group>
+    <score-part id="P7">
+      <part-name>Clarinet in Bb 1</part-name>
+      <part-abbreviation>Bb Cl. 1</part-abbreviation>
+      <score-instrument id="P7-I7">
+        <instrument-name>Clarinet in Bb 1</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P7-I7">
+        <midi-channel>7</midi-channel>
+        <midi-program>72</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P8">
+      <part-name>Clarinet in Bb 2</part-name>
+      <part-abbreviation>Bb Cl. 2</part-abbreviation>
+      <score-instrument id="P8-I8">
+        <instrument-name>Clarinet in Bb 2</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P8-I8">
+        <midi-channel>8</midi-channel>
+        <midi-program>72</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="1" type="stop"/>
+    <score-part id="P9">
+      <part-name>Bass Clarinet</part-name>
+      <part-abbreviation>B. Cl.</part-abbreviation>
+      <score-instrument id="P9-I9">
+        <instrument-name>Bass Clarinet</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P9-I9">
+        <midi-channel>9</midi-channel>
+        <midi-program>72</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="1" type="start">
+      <group-symbol>bracket</group-symbol>
+      <group-barline>no</group-barline>
+    </part-group>
+    <score-part id="P10">
+      <part-name>Bassoon 1</part-name>
+      <part-abbreviation>Bsn. 1</part-abbreviation>
+      <score-instrument id="P10-I10">
+        <instrument-name>Bassoon 1</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P10-I10">
+        <midi-channel>11</midi-channel>
+        <midi-program>71</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P11">
+      <part-name>Bassoon 2</part-name>
+      <part-abbreviation>Bsn. 2</part-abbreviation>
+      <score-instrument id="P11-I11">
+        <instrument-name>Bassoon 2</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P11-I11">
+        <midi-channel>12</midi-channel>
+        <midi-program>71</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="1" type="stop"/>
+    <score-part id="P12">
+      <part-name>Contrabassoon</part-name>
+      <part-abbreviation>C. Bn.</part-abbreviation>
+      <score-instrument id="P12-I12">
+        <instrument-name>Contrabassoon</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P12-I12">
+        <midi-channel>13</midi-channel>
+        <midi-program>71</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="2" type="stop"/>
+    <part-group number="1" type="start">
+      <group-symbol>bracket</group-symbol>
+      <group-barline>no</group-barline>
+    </part-group>
+    <part-group number="2" type="start">
+      <group-symbol>bracket</group-symbol>
+      <group-barline>yes</group-barline>
+    </part-group>
+    <score-part id="P13">
+      <part-name>Horn in F 1</part-name>
+      <part-abbreviation>Hn. 1</part-abbreviation>
+      <score-instrument id="P13-I13">
+        <instrument-name>Horn in F 1</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P13-I13">
+        <midi-channel>14</midi-channel>
+        <midi-program>61</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P14">
+      <part-name>Horn in F 2</part-name>
+      <part-abbreviation>Hn. 2</part-abbreviation>
+      <score-instrument id="P14-I14">
+        <instrument-name>Horn in F 2</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P14-I14">
+        <midi-channel>15</midi-channel>
+        <midi-program>61</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="1" type="stop"/>
+    <part-group number="1" type="start">
+      <group-symbol>bracket</group-symbol>
+      <group-barline>no</group-barline>
+    </part-group>
+    <score-part id="P15">
+      <part-name>Trumpet in C 1</part-name>
+      <part-abbreviation>C Tpt. 1</part-abbreviation>
+      <score-instrument id="P15-I15">
+        <instrument-name>Trumpet in C 1</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P15-I15">
+        <midi-channel>16</midi-channel>
+        <midi-program>57</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P16">
+      <part-name>Trumpet in C 2</part-name>
+      <part-abbreviation>C Tpt. 2</part-abbreviation>
+      <score-instrument id="P16-I16">
+        <instrument-name>Trumpet in C 2</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P16-I16">
+        <midi-channel>1</midi-channel>
+        <midi-program>57</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="1" type="stop"/>
+    <part-group number="1" type="start">
+      <group-symbol>bracket</group-symbol>
+      <group-barline>no</group-barline>
+    </part-group>
+    <score-part id="P17">
+      <part-name>Trombone 1</part-name>
+      <part-abbreviation>Tbn. 1</part-abbreviation>
+      <score-instrument id="P17-I17">
+        <instrument-name>Trombone 1</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P17-I17">
+        <midi-channel>2</midi-channel>
+        <midi-program>58</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P18">
+      <part-name>Trombone 2</part-name>
+      <part-abbreviation>Tbn. 2</part-abbreviation>
+      <score-instrument id="P18-I18">
+        <instrument-name>Trombone 2</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P18-I18">
+        <midi-channel>3</midi-channel>
+        <midi-program>58</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="1" type="stop"/>
+    <score-part id="P19">
+      <part-name>Tuba</part-name>
+      <part-abbreviation>Tuba</part-abbreviation>
+      <score-instrument id="P19-I19">
+        <instrument-name>Tuba</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P19-I19">
+        <midi-channel>4</midi-channel>
+        <midi-program>59</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="2" type="stop"/>
+    <score-part id="P20">
+      <part-name>Timpani</part-name>
+      <part-abbreviation>Timp.</part-abbreviation>
+      <score-instrument id="P20-I20">
+        <instrument-name>Timpani</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P20-I20">
+        <midi-channel>5</midi-channel>
+        <midi-program>48</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P21">
+      <part-name>Percussion</part-name>
+      <part-abbreviation>Perc.</part-abbreviation>
+      <score-instrument id="P21-M76">
+        <instrument-name>MIDI77</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P21-M76">
+        <midi-channel>10</midi-channel>
+        <midi-program>1</midi-program>
+        <midi-unpitched>77</midi-unpitched>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P22">
+      <part-name>Harp</part-name>
+      <part-abbreviation>Hp.</part-abbreviation>
+      <score-instrument id="P22-I22">
+        <instrument-name>Harp</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P22-I22">
+        <midi-channel>6</midi-channel>
+        <midi-program>47</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P23">
+      <part-name>Piano</part-name>
+      <part-abbreviation>Pno.</part-abbreviation>
+      <score-instrument id="P23-I23">
+        <instrument-name>Piano</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P23-I23">
+        <midi-channel>7</midi-channel>
+        <midi-program>1</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="1" type="start">
+      <group-symbol>bracket</group-symbol>
+      <group-barline>yes</group-barline>
+    </part-group>
+    <score-part id="P24">
+      <part-name>Violin I</part-name>
+      <part-abbreviation>Vln. I</part-abbreviation>
+      <score-instrument id="P24-I24">
+        <instrument-name>Violin I</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P24-I24">
+        <midi-channel>8</midi-channel>
+        <midi-program>49</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P25">
+      <part-name>Violin II</part-name>
+      <part-abbreviation>Vln. II</part-abbreviation>
+      <score-instrument id="P25-I25">
+        <instrument-name>Violin II</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P25-I25">
+        <midi-channel>9</midi-channel>
+        <midi-program>49</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P26">
+      <part-name>Viola</part-name>
+      <part-abbreviation>Vla.</part-abbreviation>
+      <score-instrument id="P26-I26">
+        <instrument-name>Viola</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P26-I26">
+        <midi-channel>11</midi-channel>
+        <midi-program>49</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P27">
+      <part-name>Cello</part-name>
+      <part-abbreviation>Vc.</part-abbreviation>
+      <score-instrument id="P27-I27">
+        <instrument-name>Cello</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P27-I27">
+        <midi-channel>12</midi-channel>
+        <midi-program>49</midi-program>
+      </midi-instrument>
+    </score-part>
+    <score-part id="P28">
+      <part-name>Contrabass</part-name>
+      <part-abbreviation>Cb.</part-abbreviation>
+      <score-instrument id="P28-I28">
+        <instrument-name>Contrabass</instrument-name>
+      </score-instrument>
+      <midi-instrument id="P28-I28">
+        <midi-channel>13</midi-channel>
+        <midi-program>49</midi-program>
+      </midi-instrument>
+    </score-part>
+    <part-group number="1" type="stop"/>
+  </part-list>
+  <!--=========================================================-->
+  <part id="P1">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+        <transpose>
+          <diatonic>0</diatonic>
+          <chromatic>0</chromatic>
+          <octave-change>1</octave-change>
+        </transpose>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>B</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P2">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>F</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P3">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>A</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P4">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P5">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>1</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+        <transpose>
+          <diatonic>-4</diatonic>
+          <chromatic>-7</chromatic>
+        </transpose>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P6">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>3</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+        <transpose>
+          <diatonic>2</diatonic>
+          <chromatic>3</chromatic>
+        </transpose>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>B</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P7">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>2</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+        <transpose>
+          <diatonic>-1</diatonic>
+          <chromatic>-2</chromatic>
+        </transpose>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>F</step>
+          <alter>1</alter>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P8">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>2</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+        <transpose>
+          <diatonic>-1</diatonic>
+          <chromatic>-2</chromatic>
+        </transpose>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>C</step>
+          <alter>1</alter>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P9">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>2</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+        <transpose>
+          <diatonic>-1</diatonic>
+          <chromatic>-2</chromatic>
+          <octave-change>-1</octave-change>
+        </transpose>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>B</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P10">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>D</step>
+          <octave>3</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P11">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>3</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P12">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+        <transpose>
+          <diatonic>0</diatonic>
+          <chromatic>0</chromatic>
+          <octave-change>-1</octave-change>
+        </transpose>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>B</step>
+          <octave>2</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P13">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>1</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+        <transpose>
+          <diatonic>-4</diatonic>
+          <chromatic>-7</chromatic>
+        </transpose>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P14">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>1</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+        <transpose>
+          <diatonic>-4</diatonic>
+          <chromatic>-7</chromatic>
+        </transpose>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>G</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P15">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>F</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P16">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>A</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P17">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>B</step>
+          <octave>2</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P18">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>3</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P19">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>3</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P20">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>F</step>
+          <octave>3</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P21">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <instruments>2</instruments>
+        <clef>
+          <sign>percussion</sign>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <unpitched>
+          <display-step>E</display-step>
+          <display-octave>5</display-octave>
+        </unpitched>
+        <duration>1</duration>
+        <instrument id="P21-M76"/>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P22">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <staves>2</staves>
+        <clef number="1">
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+        <clef number="2">
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>D</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        <staff>1</staff>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <staff>1</staff>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+        <staff>1</staff>
+      </note>
+      <backup>
+        <duration>4</duration>
+      </backup>
+      <note>
+        <pitch>
+          <step>A</step>
+          <octave>2</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        <staff>2</staff>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <staff>2</staff>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>half</type>
+        <staff>2</staff>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P23">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <staves>2</staves>
+        <clef number="1">
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+        <clef number="2">
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>G</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        <staff>1</staff>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <staff>1</staff>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+        <staff>1</staff>
+      </note>
+      <backup>
+        <duration>4</duration>
+      </backup>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>3</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        <staff>2</staff>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <staff>2</staff>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>half</type>
+        <staff>2</staff>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P24">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P25">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>F</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P26">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>C</sign>
+          <line>3</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P27">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+  <part id="P28">
+    <measure number="1">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          <mode>major</mode>
+        </key>
+        <time symbol="common">
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <clef>
+          <sign>F</sign>
+          <line>4</line>
+        </clef>
+        <transpose>
+          <diatonic>0</diatonic>
+          <chromatic>0</chromatic>
+          <octave-change>-1</octave-change>
+        </transpose>
+      </attributes>
+      <sound tempo="120"/>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+      </note>
+      <note>
+        <rest/>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+      </note>
+      <note>
+        <rest/>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+      </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+      </barline>
+    </measure>
+  </part>
+  <!--=========================================================-->
+</score-partwise>
diff --git a/input/regression/musicxml/08c_More_than_10_parts_Rosegarden.xml b/input/regression/musicxml/08c_More_than_10_parts_Rosegarden.xml
new file mode 100644 (file)
index 0000000..732f0b1
--- /dev/null
@@ -0,0 +1,590 @@
+<?xml version="1.0"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+       <work> <work-title>/home/reinhold/lilypond-dev-files/09_more_than_10_parts.xml</work-title></work> 
+       <identification> 
+               <rights>Unknown</rights>
+               <encoding>
+                       <software>Rosegarden-4</software>
+               </encoding>
+       </identification> 
+       <part-list>
+               <score-part id="0">
+                       <part-name></part-name>
+                       <score-instrument id="#1">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#1">
+                               <midi-channel>1</midi-channel>
+                               <midi-program>1</midi-program>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="1">
+                       <part-name></part-name>
+                       <score-instrument id="#2">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#2">
+                               <midi-channel>2</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="2">
+                       <part-name></part-name>
+                       <score-instrument id="#3">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#3">
+                               <midi-channel>3</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="3">
+                       <part-name></part-name>
+                       <score-instrument id="#4">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#4">
+                               <midi-channel>4</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="4">
+                       <part-name></part-name>
+                       <score-instrument id="#5">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#5">
+                               <midi-channel>5</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="5">
+                       <part-name></part-name>
+                       <score-instrument id="#6">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#6">
+                               <midi-channel>6</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="6">
+                       <part-name></part-name>
+                       <score-instrument id="#7">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#7">
+                               <midi-channel>7</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="7">
+                       <part-name></part-name>
+                       <score-instrument id="#8">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#8">
+                               <midi-channel>8</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="8">
+                       <part-name></part-name>
+                       <score-instrument id="#9">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#9">
+                               <midi-channel>9</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="9">
+                       <part-name></part-name>
+                       <score-instrument id="#10[D]">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#10[D]">
+                               <midi-channel>10</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="10">
+                       <part-name></part-name>
+                       <score-instrument id="#11">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#11">
+                               <midi-channel>11</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="11">
+                       <part-name></part-name>
+                       <score-instrument id="#12">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#12">
+                               <midi-channel>12</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="12">
+                       <part-name></part-name>
+                       <score-instrument id="#13">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#13">
+                               <midi-channel>13</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="13">
+                       <part-name></part-name>
+                       <score-instrument id="#14">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#14">
+                               <midi-channel>14</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="14">
+                       <part-name></part-name>
+                       <score-instrument id="#15">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#15">
+                               <midi-channel>15</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="15">
+                       <part-name></part-name>
+                       <score-instrument id="#16">
+                               <instrument-name>0</instrument-name>
+                       </score-instrument>
+                       <midi-instrument id="#16">
+                               <midi-channel>16</midi-channel>
+                       </midi-instrument>
+               </score-part>
+               <score-part id="16">
+                       <part-name></part-name>
+               </score-part>
+               <score-part id="17">
+                       <part-name></part-name>
+               </score-part>
+               <score-part id="18">
+                       <part-name></part-name>
+               </score-part>
+               <score-part id="19">
+                       <part-name></part-name>
+               </score-part>
+       </part-list>
+       <part id="0">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="1">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="2">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="3">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="4">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="5">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="6">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="7">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="8">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="9">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="10">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="11">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="12">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="13">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="14">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="15">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="16">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="17">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="18">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+       <part id="19">
+               <measure number="1">
+                       <attributes>
+                               <divisions>960</divisions>
+                               <time>
+                               <beats>4</beats>
+                               <beat-type>4</beat-type>
+                               </time>
+                               <clef>
+                               <sign>G</sign>
+                               <line>2</line>
+                               </clef>
+                       </attributes>
+                       <note>
+                               <rest/>
+                               <duration>3840</duration>
+                               <voice>1</voice>
+                               <type>whole</type>
+                       </note>
+               </measure>
+       </part>
+</score-partwise>
diff --git a/input/regression/musicxml/09a_Repeats_Finale.xml b/input/regression/musicxml/09a_Repeats_Finale.xml
new file mode 100644 (file)
index 0000000..ec5bb43
--- /dev/null
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"\r
+                                "http://www.musicxml.org/dtds/partwise.dtd">\r
+<score-partwise>\r
+  <movement-title>Finale Repeat test</movement-title>\r
+  <identification>\r
+    <creator type="composer">Reinhold Kainhofer</creator>\r
+    <rights>Public Domain</rights>\r
+    <encoding>\r
+      <software>Finale 2007 for Windows</software>\r
+      <software>Dolet Light for Finale 2007</software>\r
+      <encoding-date>2007-08-31</encoding-date>\r
+    </encoding>\r
+  </identification>\r
+  <part-list>\r
+    <score-part id="P1">\r
+      <part-name>MusicXML Part</part-name>\r
+      <score-instrument id="P1-I1">\r
+        <instrument-name>Grand Piano</instrument-name>\r
+      </score-instrument>\r
+      <midi-instrument id="P1-I1">\r
+        <midi-channel>1</midi-channel>\r
+        <midi-program>1</midi-program>\r
+      </midi-instrument>\r
+    </score-part>\r
+  </part-list>\r
+  <!--=========================================================-->\r
+  <part id="P1">\r
+    <measure number="1">\r
+      <attributes>\r
+        <divisions>1</divisions>\r
+        <key>\r
+          <fifths>0</fifths>\r
+          <mode>major</mode>\r
+        </key>\r
+        <time symbol="common">\r
+          <beats>4</beats>\r
+          <beat-type>4</beat-type>\r
+        </time>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <sound tempo="120"/>\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="2">\r
+      <barline location="left">\r
+        <ending number="1" type="start"/>\r
+      </barline>\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+        <ending number="1" type="stop"/>\r
+        <repeat direction="backward"/>\r
+      </barline>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="3">\r
+      <barline location="left">\r
+        <ending number="2" type="start"/>\r
+      </barline>\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+      <barline location="right">\r
+        <ending number="2" type="discontinue"/>\r
+      </barline>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="4">\r
+      <print new-system="yes"/>\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="5">\r
+      <barline location="left">\r
+        <bar-style>heavy-light</bar-style>\r
+        <repeat direction="forward"/>\r
+      </barline>\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+        <repeat direction="backward"/>\r
+      </barline>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="6">\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="7">\r
+      <print new-system="yes"/>\r
+      <barline location="left">\r
+        <ending number="1" type="start"/>\r
+      </barline>\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+        <ending number="1" type="stop"/>\r
+        <repeat direction="backward"/>\r
+      </barline>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="8">\r
+      <barline location="left">\r
+        <bar-style>heavy-light</bar-style>\r
+        <repeat direction="forward"/>\r
+      </barline>\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="9">\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+        <repeat direction="backward"/>\r
+      </barline>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="10">\r
+      <print new-system="yes"/>\r
+      <note>\r
+        <rest/>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+      </barline>\r
+    </measure>\r
+  </part>\r
+  <!--=========================================================-->\r
+</score-partwise>\r
diff --git a/input/regression/musicxml/10a_TwoVoicesOnStaff_Finale.xml b/input/regression/musicxml/10a_TwoVoicesOnStaff_Finale.xml
new file mode 100644 (file)
index 0000000..400389b
--- /dev/null
@@ -0,0 +1,290 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"\r
+                                "http://www.musicxml.org/dtds/partwise.dtd">\r
+<score-partwise>\r
+  <movement-title>Two Voices share one Staff</movement-title>\r
+  <identification>\r
+    <creator type="composer">Reinhold Kainhofer</creator>\r
+    <rights>Public Domain</rights>\r
+    <encoding>\r
+      <software>Finale 2007 for Windows</software>\r
+      <software>Dolet Light for Finale 2007</software>\r
+      <encoding-date>2007-09-06</encoding-date>\r
+    </encoding>\r
+  </identification>\r
+  <part-list>\r
+    <score-part id="P1">\r
+      <part-name>MusicXML Part</part-name>\r
+      <score-instrument id="P1-I1">\r
+        <instrument-name>Acoustic Grand Piano</instrument-name>\r
+      </score-instrument>\r
+      <midi-instrument id="P1-I1">\r
+        <midi-channel>1</midi-channel>\r
+        <midi-program>1</midi-program>\r
+      </midi-instrument>\r
+    </score-part>\r
+  </part-list>\r
+  <!--=========================================================-->\r
+  <part id="P1">\r
+    <measure number="1">\r
+      <attributes>\r
+        <divisions>8</divisions>\r
+        <key>\r
+          <fifths>0</fifths>\r
+          <mode>major</mode>\r
+        </key>\r
+        <time symbol="common">\r
+          <beats>4</beats>\r
+          <beat-type>4</beat-type>\r
+        </time>\r
+        <clef>\r
+          <sign>G</sign>\r
+          <line>2</line>\r
+        </clef>\r
+      </attributes>\r
+      <sound tempo="120"/>\r
+      <note>\r
+        <pitch>\r
+          <step>E</step>\r
+          <octave>5</octave>\r
+        </pitch>\r
+        <duration>16</duration>\r
+        <voice>1</voice>\r
+        <type>half</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <articulations>\r
+            <accent placement="below"/>\r
+          </articulations>\r
+          <fermata type="upright"/>\r
+        </notations>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>This</text>\r
+        </lyric>\r
+      </note>\r
+      <direction placement="below">\r
+        <direction-type>\r
+          <dynamics default-y="-80">\r
+            <mf/>\r
+          </dynamics>\r
+        </direction-type>\r
+        <offset>-3</offset>\r
+        <sound dynamics="83"/>\r
+      </direction>\r
+      <note>\r
+        <pitch>\r
+          <step>D</step>\r
+          <octave>5</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>is</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>the</text>\r
+        </lyric>\r
+      </note>\r
+      <backup>\r
+        <duration>32</duration>\r
+      </backup>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>5</octave>\r
+        </pitch>\r
+        <duration>16</duration>\r
+        <voice>2</voice>\r
+        <type>half</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <articulations>\r
+            <accent placement="below"/>\r
+          </articulations>\r
+          <fermata type="upright"/>\r
+        </notations>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>This</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>is</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>the</text>\r
+        </lyric>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="2">\r
+      <note>\r
+        <rest>\r
+          <display-step>A</display-step>\r
+          <display-octave>5</display-octave>\r
+        </rest>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>D</step>\r
+          <octave>5</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <stem>up</stem>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>lyrics</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>3</octave>\r
+        </pitch>\r
+        <duration>12</duration>\r
+        <voice>1</voice>\r
+        <type>quarter</type>\r
+        <dot/>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <slur number="1" type="start"/>\r
+        </notations>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>of</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>C</step>\r
+          <octave>5</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>1</voice>\r
+        <type>eighth</type>\r
+        <stem>up</stem>\r
+        <notations>\r
+          <slur number="1" type="stop"/>\r
+        </notations>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>Voice1</text>\r
+        </lyric>\r
+      </note>\r
+      <backup>\r
+        <duration>32</duration>\r
+      </backup>\r
+      <note>\r
+        <rest>\r
+          <display-step>C</display-step>\r
+          <display-octave>4</display-octave>\r
+        </rest>\r
+        <duration>8</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>B</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>8</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <stem>down</stem>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>lyrics</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>G</step>\r
+          <octave>3</octave>\r
+        </pitch>\r
+        <duration>12</duration>\r
+        <voice>2</voice>\r
+        <type>quarter</type>\r
+        <dot/>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <slur number="1" type="start"/>\r
+        </notations>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>of</text>\r
+        </lyric>\r
+      </note>\r
+      <note>\r
+        <pitch>\r
+          <step>A</step>\r
+          <octave>4</octave>\r
+        </pitch>\r
+        <duration>4</duration>\r
+        <voice>2</voice>\r
+        <type>eighth</type>\r
+        <stem>down</stem>\r
+        <notations>\r
+          <slur number="1" type="stop"/>\r
+        </notations>\r
+        <lyric number="1">\r
+          <syllabic>single</syllabic>\r
+          <text>Voice1</text>\r
+        </lyric>\r
+      </note>\r
+    </measure>\r
+    <!--=======================================================-->\r
+    <measure number="3">\r
+      <note>\r
+        <rest/>\r
+        <duration>32</duration>\r
+        <voice>1</voice>\r
+      </note>\r
+      <barline location="right">\r
+        <bar-style>light-heavy</bar-style>\r
+      </barline>\r
+    </measure>\r
+  </part>\r
+  <!--=========================================================-->\r
+</score-partwise>\r
diff --git a/input/regression/musicxml/GNUmakefile b/input/regression/musicxml/GNUmakefile
new file mode 100644 (file)
index 0000000..ec647d8
--- /dev/null
@@ -0,0 +1,8 @@
+depth = ../../..
+
+STEPMAKE_TEMPLATES=documentation texinfo tex
+LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc musicxml
+
+include $(depth)/make/stepmake.make
+TITLE=Lilypon musicxml2ly Regression Tests
+
index 99119be37a0d8f36563d036713effe2a407edf2b..cf9093523b8b861933625e4de73347eb29c4a91c 100644 (file)
@@ -20,6 +20,7 @@ export PYTHONPATH:=$(top-build-dir)/python/$(outconfbase):$(PYTHONPATH)
 the-script-dir=$(wildcard $(script-dir))
 
 ABC2LY = $(script-dir)/abc2ly.py
+MUSICXML2LY = $(script-dir)/musicxml2ly.py
 CONVERT_LY = $(script-dir)/convert-ly.py
 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
 
diff --git a/make/musicxml-rules.make b/make/musicxml-rules.make
new file mode 100644 (file)
index 0000000..c00d2da
--- /dev/null
@@ -0,0 +1,5 @@
+.SUFFIXES: .xml
+
+
+$(outdir)/%.ly:  %.xml
+       $(PYTHON) $(MUSICXML2LY) -o $@ $<
diff --git a/make/musicxml-targets.make b/make/musicxml-targets.make
new file mode 100644 (file)
index 0000000..7cefb82
--- /dev/null
@@ -0,0 +1 @@
+default: $(LY_FILES)
\ No newline at end of file
diff --git a/make/musicxml-vars.make b/make/musicxml-vars.make
new file mode 100644 (file)
index 0000000..ecfd1a0
--- /dev/null
@@ -0,0 +1,17 @@
+# rules for directories with MusicXML files.
+
+# empty
+
+# UGH UGH
+include $(make-dir)/lilypond-vars.make
+
+# huh ? these are for documentation?!
+MUSICXML_FILES := $(call src-wildcard,*.xml)
+# LY_FILES=$(addprefix $(outdir)/, $(addsuffix .ly, $(MUSICXML_FILE)))
+# LY_FILES = $(MUSICXML_FILES:%.xml=$(outdir)/%.ly)
+LY_FILES = $(MUSICXML_FILES:%.xml=$(outdir)/%.ly)
+
+
+OUT_FILES = $(LY_FILES)
+
+EXTRA_DIST_FILES +=$(MUSICXML_FILES)