]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: Add testcase for lyrics on chorded notes
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 29 Nov 2008 18:15:29 +0000 (19:15 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 29 Nov 2008 18:18:04 +0000 (19:18 +0100)
input/regression/musicxml/06i-Lyrics-Chords.xml [new file with mode: 0644]

diff --git a/input/regression/musicxml/06i-Lyrics-Chords.xml b/input/regression/musicxml/06i-Lyrics-Chords.xml
new file mode 100644 (file)
index 0000000..8f3db1e
--- /dev/null
@@ -0,0 +1,72 @@
+<?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>
+  <identification>
+    <miscellaneous>
+      <miscellaneous-field name="description">Each note of a chord can have
+          some lyrics attached. In this case, each note of the chord has lyrics 
+          of the form "Lyrics [123]" attached, where each lyrics has a different 
+          number attribute to distinguish them. These syllables should be 
+          imported into three different stanzas and the timing should be 
+          correct.</miscellaneous-field>
+    </miscellaneous>
+  </identification>
+  <part-list>
+    <score-part id="P1">
+      <part-name>MusicXML Part</part-name>
+    </score-part>
+  </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>
+      </attributes>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <lyric number="1"><text>Lyrics 1</text></lyric>
+      </note>
+      <note>
+        <chord/>
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <lyric number="2"><text>Lyrics 2</text></lyric>
+      </note>
+      <note>
+        <chord/>
+        <pitch>
+          <step>A</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <lyric number="3"><text>Lyrics 3</text></lyric>
+      </note>
+    </measure>
+  </part>
+</score-partwise>