]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/musicxml/33a-Spanners.xml
MusicXML: Fix invalid MusicXML files
[lilypond.git] / input / regression / musicxml / 33a-Spanners.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"
3                                 "http://www.musicxml.org/dtds/partwise.dtd">
4 <score-partwise>
5   <identification>
6     <miscellaneous>
7       <miscellaneous-field name="description">Several spanners defined in
8            MusicXML: tuplet, slur (solid, dashed), tie,  wedge (cresc, dim),
9            tr + wavy-line, single-note trill spanner, octave-shift (8va,15mb),
10            bracket (solid down/down, dashed down/down, solid none/down,
11            dashed none/up, solid none/none), dashes, glissando (wavy),
12            bend-alter, slide (solid), grouping, two-note tremolo, hammer-on,
13            pull-off, pedal (down, change, up).</miscellaneous-field>
14     </miscellaneous>
15   </identification>
16   <part-list>
17     <score-part id="P1">
18       <part-name>MusicXML Part</part-name>
19     </score-part>
20   </part-list>
21   <!--=========================================================-->
22   <part id="P1">
23     <measure number="1">
24       <attributes>
25         <divisions>3</divisions>
26         <key>
27           <fifths>0</fifths>
28           <mode>major</mode>
29         </key>
30         <time>
31           <beats>3</beats>
32           <beat-type>4</beat-type>
33         </time>
34         <clef>
35           <sign>G</sign>
36           <line>2</line>
37         </clef>
38       </attributes>
39       <note>
40         <pitch>
41           <step>B</step>
42           <octave>4</octave>
43         </pitch>
44         <duration>2</duration>
45         <voice>1</voice>
46         <type>quarter</type>
47         <time-modification>
48           <actual-notes>3</actual-notes>
49           <normal-notes>2</normal-notes>
50         </time-modification>
51         <notations>
52           <tuplet number="1" placement="above" type="start"/>
53         </notations>
54       </note>
55       <note>
56         <pitch>
57           <step>B</step>
58           <octave>4</octave>
59         </pitch>
60         <duration>2</duration>
61         <voice>1</voice>
62         <type>quarter</type>
63         <time-modification>
64           <actual-notes>3</actual-notes>
65           <normal-notes>2</normal-notes>
66         </time-modification>
67       </note>
68       <note>
69         <pitch>
70           <step>B</step>
71           <octave>4</octave>
72         </pitch>
73         <duration>2</duration>
74         <voice>1</voice>
75         <type>quarter</type>
76         <time-modification>
77           <actual-notes>3</actual-notes>
78           <normal-notes>2</normal-notes>
79         </time-modification>
80         <notations>
81           <tuplet number="1" type="stop"/>
82         </notations>
83       </note>
84       <note>
85         <rest/>
86         <duration>3</duration>
87         <voice>1</voice>
88         <type>quarter</type>
89       </note>
90     </measure>
91     <!--=======================================================-->
92     <measure number="2">
93       <note>
94         <pitch>
95           <step>B</step>
96           <octave>4</octave>
97         </pitch>
98         <duration>3</duration>
99         <voice>1</voice>
100         <type>quarter</type>
101         <notations>
102           <slur number="1" type="start"/>
103         </notations>
104       </note>
105       <note>
106         <pitch>
107           <step>B</step>
108           <octave>4</octave>
109         </pitch>
110         <duration>3</duration>
111         <voice>1</voice>
112         <type>quarter</type>
113       </note>
114       <note>
115         <pitch>
116           <step>B</step>
117           <octave>4</octave>
118         </pitch>
119         <duration>3</duration>
120         <voice>1</voice>
121         <type>quarter</type>
122         <notations>
123           <slur number="1" type="stop"/>
124         </notations>
125       </note>
126     </measure>
127     <!--=======================================================-->
128     <measure number="3">
129       <note>
130         <pitch>
131           <step>B</step>
132           <octave>4</octave>
133         </pitch>
134         <duration>3</duration>
135         <voice>1</voice>
136         <type>quarter</type>
137         <notations>
138           <slur line-type="dashed" number="1" type="start"/>
139         </notations>
140       </note>
141       <note>
142         <pitch>
143           <step>B</step>
144           <octave>4</octave>
145         </pitch>
146         <duration>3</duration>
147         <voice>1</voice>
148         <type>quarter</type>
149       </note>
150       <note>
151         <pitch>
152           <step>B</step>
153           <octave>4</octave>
154         </pitch>
155         <duration>3</duration>
156         <voice>1</voice>
157         <type>quarter</type>
158         <notations>
159           <slur number="1" type="stop"/>
160         </notations>
161       </note>
162     </measure>
163     <!--=======================================================-->
164     <measure number="4">
165       <direction placement="above">
166         <direction-type>
167           <wedge spread="0" type="crescendo"/>
168         </direction-type>
169       </direction>
170       <note>
171         <pitch>
172           <step>B</step>
173           <octave>4</octave>
174         </pitch>
175         <duration>3</duration>
176         <voice>1</voice>
177         <type>quarter</type>
178       </note>
179       <note>
180         <pitch>
181           <step>B</step>
182           <octave>4</octave>
183         </pitch>
184         <duration>3</duration>
185         <voice>1</voice>
186         <type>quarter</type>
187       </note>
188       <direction>
189         <direction-type>
190           <wedge spread="15" type="stop"/>
191         </direction-type>
192       </direction>
193       <note>
194         <pitch>
195           <step>B</step>
196           <octave>4</octave>
197         </pitch>
198         <duration>3</duration>
199         <voice>1</voice>
200         <type>quarter</type>
201       </note>
202     </measure>
203     <!--=======================================================-->
204     <measure number="5">
205       <direction placement="above">
206         <direction-type>
207           <wedge spread="15" type="diminuendo"/>
208         </direction-type>
209       </direction>
210       <note>
211         <pitch>
212           <step>B</step>
213           <octave>4</octave>
214         </pitch>
215         <duration>3</duration>
216         <voice>1</voice>
217         <type>quarter</type>
218       </note>
219       <note>
220         <pitch>
221           <step>B</step>
222           <octave>4</octave>
223         </pitch>
224         <duration>3</duration>
225         <voice>1</voice>
226         <type>quarter</type>
227       </note>
228       <direction>
229         <direction-type>
230           <wedge spread="0" type="stop"/>
231         </direction-type>
232       </direction>
233       <note>
234         <pitch>
235           <step>B</step>
236           <octave>4</octave>
237         </pitch>
238         <duration>3</duration>
239         <voice>1</voice>
240         <type>quarter</type>
241       </note>
242     </measure>
243     <!--=======================================================-->
244     <measure number="6">
245       <note>
246         <pitch>
247           <step>B</step>
248           <octave>4</octave>
249         </pitch>
250         <duration>3</duration>
251         <voice>1</voice>
252         <type>quarter</type>
253         <notations>
254           <ornaments>
255             <trill-mark/>
256             <wavy-line number="1" type="start"/>
257           </ornaments>
258         </notations>
259       </note>
260       <note>
261         <pitch>
262           <step>B</step>
263           <octave>4</octave>
264         </pitch>
265         <duration>3</duration>
266         <voice>1</voice>
267         <type>quarter</type>
268       </note>
269       <note>
270         <pitch>
271           <step>B</step>
272           <octave>4</octave>
273         </pitch>
274         <duration>3</duration>
275         <voice>1</voice>
276         <type>quarter</type>
277         <notations>
278           <ornaments>
279             <wavy-line number="1" type="stop"/>
280           </ornaments>
281         </notations>
282       </note>
283     </measure>
284     <!--=======================================================-->
285     <measure number="7">
286       <note>
287         <pitch>
288           <step>B</step>
289           <octave>4</octave>
290         </pitch>
291         <duration>3</duration>
292         <voice>1</voice>
293         <type>quarter</type>
294         <notations>
295           <ornaments>
296             <wavy-line number="1" type="start"/>
297             <wavy-line number="1" type="stop"/>
298           </ornaments>
299         </notations>
300       </note>
301       <note>
302         <rest/>
303         <duration>6</duration>
304         <voice>1</voice>
305         <type>half</type>
306       </note>
307     </measure>
308     <!--=======================================================-->
309     <measure number="8">
310       <direction>
311         <direction-type>
312           <octave-shift size="8" type="down"/>
313         </direction-type>
314       </direction>
315       <note>
316         <pitch>
317           <step>B</step>
318           <octave>5</octave>
319         </pitch>
320         <duration>3</duration>
321         <voice>1</voice>
322         <type>quarter</type>
323       </note>
324       <note>
325         <pitch>
326           <step>B</step>
327           <octave>5</octave>
328         </pitch>
329         <duration>3</duration>
330         <voice>1</voice>
331         <type>quarter</type>
332       </note>
333       <note>
334         <pitch>
335           <step>B</step>
336           <octave>5</octave>
337         </pitch>
338         <duration>3</duration>
339         <voice>1</voice>
340         <type>quarter</type>
341       </note>
342       <direction>
343         <direction-type>
344           <octave-shift size="8" type="stop"/>
345         </direction-type>
346       </direction>
347     </measure>
348     <!--=======================================================-->
349     <measure number="9">
350       <direction>
351         <direction-type>
352           <octave-shift size="15" type="up"/>
353         </direction-type>
354       </direction>
355       <note>
356         <pitch>
357           <step>B</step>
358           <octave>2</octave>
359         </pitch>
360         <duration>3</duration>
361         <voice>1</voice>
362         <type>quarter</type>
363       </note>
364       <note>
365         <pitch>
366           <step>B</step>
367           <octave>2</octave>
368         </pitch>
369         <duration>3</duration>
370         <voice>1</voice>
371         <type>quarter</type>
372       </note>
373       <note>
374         <pitch>
375           <step>B</step>
376           <octave>2</octave>
377         </pitch>
378         <duration>3</duration>
379         <voice>1</voice>
380         <type>quarter</type>
381       </note>
382       <direction>
383         <direction-type>
384           <octave-shift size="15" type="stop"/>
385         </direction-type>
386       </direction>
387     </measure>
388     <!--=======================================================-->
389     <measure number="10">
390       <direction placement="above">
391         <direction-type>
392           <bracket line-end="down" line-type="solid" number="1" type="start"/>
393         </direction-type>
394       </direction>
395       <note>
396         <pitch>
397           <step>B</step>
398           <octave>4</octave>
399         </pitch>
400         <duration>3</duration>
401         <voice>1</voice>
402         <type>quarter</type>
403       </note>
404       <note>
405         <pitch>
406           <step>B</step>
407           <octave>4</octave>
408         </pitch>
409         <duration>3</duration>
410         <voice>1</voice>
411         <type>quarter</type>
412       </note>
413       <direction placement="above">
414         <direction-type>
415           <bracket line-end="down" number="1" type="stop"/>
416         </direction-type>
417       </direction>
418       <note>
419         <pitch>
420           <step>B</step>
421           <octave>4</octave>
422         </pitch>
423         <duration>3</duration>
424         <voice>1</voice>
425         <type>quarter</type>
426       </note>
427     </measure>
428     <!--=======================================================-->
429     <measure number="11">
430       <direction placement="above">
431         <direction-type>
432           <bracket line-end="down" line-type="dashed" number="1" type="start"/>
433         </direction-type>
434       </direction>
435       <note>
436         <pitch>
437           <step>B</step>
438           <octave>4</octave>
439         </pitch>
440         <duration>3</duration>
441         <voice>1</voice>
442         <type>quarter</type>
443       </note>
444       <note>
445         <pitch>
446           <step>B</step>
447           <octave>4</octave>
448         </pitch>
449         <duration>3</duration>
450         <voice>1</voice>
451         <type>quarter</type>
452       </note>
453       <direction placement="above">
454         <direction-type>
455           <bracket line-end="down" number="1" type="stop"/>
456         </direction-type>
457       </direction>
458       <note>
459         <pitch>
460           <step>B</step>
461           <octave>4</octave>
462         </pitch>
463         <duration>3</duration>
464         <voice>1</voice>
465         <type>quarter</type>
466       </note>
467     </measure>
468     <!--=======================================================-->
469     <measure number="12">
470       <direction placement="above">
471         <direction-type>
472           <bracket line-end="none" line-type="solid" number="1" type="start"/>
473         </direction-type>
474       </direction>
475       <note>
476         <pitch>
477           <step>B</step>
478           <octave>4</octave>
479         </pitch>
480         <duration>3</duration>
481         <voice>1</voice>
482         <type>quarter</type>
483       </note>
484       <note>
485         <pitch>
486           <step>B</step>
487           <octave>4</octave>
488         </pitch>
489         <duration>3</duration>
490         <voice>1</voice>
491         <type>quarter</type>
492       </note>
493       <direction placement="above">
494         <direction-type>
495           <bracket line-end="down" number="1" type="stop"/>
496         </direction-type>
497       </direction>
498       <note>
499         <pitch>
500           <step>B</step>
501           <octave>4</octave>
502         </pitch>
503         <duration>3</duration>
504         <voice>1</voice>
505         <type>quarter</type>
506       </note>
507     </measure>
508     <!--=======================================================-->
509     <measure number="13">
510       <direction placement="above">
511         <direction-type>
512           <bracket line-end="none" line-type="dashed" number="1" type="start"/>
513         </direction-type>
514       </direction>
515       <note>
516         <pitch>
517           <step>B</step>
518           <octave>4</octave>
519         </pitch>
520         <duration>3</duration>
521         <voice>1</voice>
522         <type>quarter</type>
523       </note>
524       <note>
525         <pitch>
526           <step>B</step>
527           <octave>4</octave>
528         </pitch>
529         <duration>3</duration>
530         <voice>1</voice>
531         <type>quarter</type>
532       </note>
533       <direction placement="above">
534         <direction-type>
535           <bracket line-end="up" number="1" type="stop"/>
536         </direction-type>
537       </direction>
538       <note>
539         <pitch>
540           <step>B</step>
541           <octave>4</octave>
542         </pitch>
543         <duration>3</duration>
544         <voice>1</voice>
545         <type>quarter</type>
546       </note>
547     </measure>
548     <!--=======================================================-->
549     <measure number="14">
550       <direction placement="above">
551         <direction-type>
552           <bracket line-end="none" line-type="solid" number="1" type="start"/>
553         </direction-type>
554       </direction>
555       <note>
556         <pitch>
557           <step>B</step>
558           <octave>4</octave>
559         </pitch>
560         <duration>3</duration>
561         <voice>1</voice>
562         <type>quarter</type>
563       </note>
564       <note>
565         <pitch>
566           <step>B</step>
567           <octave>4</octave>
568         </pitch>
569         <duration>3</duration>
570         <voice>1</voice>
571         <type>quarter</type>
572       </note>
573       <direction placement="above">
574         <direction-type>
575           <bracket line-end="none" number="1" type="stop"/>
576         </direction-type>
577       </direction>
578       <note>
579         <pitch>
580           <step>B</step>
581           <octave>4</octave>
582         </pitch>
583         <duration>3</duration>
584         <voice>1</voice>
585         <type>quarter</type>
586       </note>
587     </measure>
588     <!--=======================================================-->
589     <measure number="15">
590       <direction placement="above">
591         <direction-type>
592           <dashes number="1" type="start"/>
593         </direction-type>
594       </direction>
595       <note>
596         <pitch>
597           <step>B</step>
598           <octave>4</octave>
599         </pitch>
600         <duration>3</duration>
601         <voice>1</voice>
602         <type>quarter</type>
603       </note>
604       <note>
605         <pitch>
606           <step>B</step>
607           <octave>4</octave>
608         </pitch>
609         <duration>3</duration>
610         <voice>1</voice>
611         <type>quarter</type>
612       </note>
613       <direction placement="above">
614         <direction-type>
615           <dashes number="1" type="stop"/>
616         </direction-type>
617       </direction>
618       <note>
619         <pitch>
620           <step>B</step>
621           <octave>4</octave>
622         </pitch>
623         <duration>3</duration>
624         <voice>1</voice>
625         <type>quarter</type>
626       </note>
627     </measure>
628     <!--=======================================================-->
629     <measure number="16">
630       <note>
631         <pitch>
632           <step>B</step>
633           <octave>4</octave>
634         </pitch>
635         <duration>3</duration>
636         <voice>1</voice>
637         <type>quarter</type>
638         <notations>
639           <glissando line-type="wavy" number="1" type="start"/>
640         </notations>
641       </note>
642       <note>
643         <pitch>
644           <step>F</step>
645           <octave>5</octave>
646         </pitch>
647         <duration>3</duration>
648         <voice>1</voice>
649         <type>quarter</type>
650         <notations>
651           <glissando line-type="wavy" number="1" type="stop"/>
652         </notations>
653       </note>
654       <note>
655         <rest/>
656         <duration>3</duration>
657         <voice>1</voice>
658         <type>quarter</type>
659       </note>
660     </measure>
661     <!--=======================================================-->
662     <measure number="17">
663       <note>
664         <pitch>
665           <step>B</step>
666           <octave>4</octave>
667         </pitch>
668         <duration>3</duration>
669         <voice>1</voice>
670         <type>quarter</type>
671         <notations>
672           <technical>
673             <bend>
674               <bend-alter>6</bend-alter>
675             </bend>
676           </technical>
677         </notations>
678       </note>
679       <note>
680         <pitch>
681           <step>C</step>
682           <octave>5</octave>
683         </pitch>
684         <duration>3</duration>
685         <voice>1</voice>
686         <type>quarter</type>
687         <notations>
688           <technical>
689             <bend>
690               <bend-alter>0</bend-alter>
691             </bend>
692           </technical>
693         </notations>
694       </note>
695       <note>
696         <rest/>
697         <duration>3</duration>
698         <voice>1</voice>
699         <type>quarter</type>
700       </note>
701     </measure>
702     <!--=======================================================-->
703     <measure number="18">
704       <note>
705         <pitch>
706           <step>B</step>
707           <octave>4</octave>
708         </pitch>
709         <duration>3</duration>
710         <voice>1</voice>
711         <type>quarter</type>
712         <notations>
713           <slide line-type="solid" number="1" type="start"/>
714         </notations>
715       </note>
716       <note>
717         <pitch>
718           <step>C</step>
719           <octave>4</octave>
720         </pitch>
721         <duration>3</duration>
722         <voice>1</voice>
723         <type>quarter</type>
724         <notations>
725           <slide line-type="solid" number="1" type="stop"/>
726         </notations>
727       </note>
728       <note>
729         <rest/>
730         <duration>3</duration>
731         <voice>1</voice>
732         <type>quarter</type>
733       </note>
734     </measure>
735     <!--=======================================================-->
736     <measure number="19">
737       <grouping type="start"/>
738       <note>
739         <pitch>
740           <step>B</step>
741           <octave>4</octave>
742         </pitch>
743         <duration>3</duration>
744         <voice>1</voice>
745         <type>quarter</type>
746       </note>
747       <note>
748         <pitch>
749           <step>B</step>
750           <octave>4</octave>
751         </pitch>
752         <duration>3</duration>
753         <voice>1</voice>
754         <type>quarter</type>
755       </note>
756       <note>
757         <pitch>
758           <step>B</step>
759           <octave>4</octave>
760         </pitch>
761         <duration>3</duration>
762         <voice>1</voice>
763         <type>quarter</type>
764       </note>
765       <grouping type="stop"/>
766     </measure>
767     <!--=======================================================-->
768     <measure number="20">
769       <note>
770         <pitch>
771           <step>B</step>
772           <octave>4</octave>
773         </pitch>
774         <duration>3</duration>
775         <voice>1</voice>
776         <type>quarter</type>
777         <notations>
778           <ornaments><tremolo type="start">2</tremolo></ornaments>
779         </notations>
780       </note>
781       <note>
782         <pitch>
783           <step>B</step>
784           <octave>4</octave>
785         </pitch>
786         <duration>3</duration>
787         <voice>1</voice>
788         <type>quarter</type>
789         <notations>
790           <ornaments><tremolo type="stop">2</tremolo></ornaments>
791         </notations>
792       </note>
793       <note>
794         <rest/>
795         <duration>3</duration>
796         <voice>1</voice>
797         <type>quarter</type>
798       </note>
799     </measure>
800     <!--=======================================================-->
801     <measure number="21">
802       <note>
803         <pitch>
804           <step>B</step><octave>4</octave>
805         </pitch>
806         <duration>3</duration>
807         <voice>1</voice>
808         <type>quarter</type>
809         <notations>
810           <technical>
811             <hammer-on type="start"/>
812           </technical>
813         </notations>
814       </note>
815       <note>
816         <pitch>
817           <step>B</step><octave>4</octave>
818         </pitch>
819         <duration>3</duration>
820         <voice>1</voice>
821         <type>quarter</type>
822         <notations>
823           <technical>
824             <hammer-on type="stop"/>
825           </technical>
826         </notations>
827       </note>
828       <note>
829         <rest/>
830         <duration>3</duration>
831         <voice>1</voice>
832         <type>quarter</type>
833       </note>
834     </measure>
835     <!--=======================================================-->
836     <measure number="22">
837       <note>
838         <pitch>
839           <step>B</step><octave>4</octave>
840         </pitch>
841         <duration>3</duration>
842         <voice>1</voice>
843         <type>quarter</type>
844         <notations>
845           <technical>
846             <pull-off type="start"/>
847           </technical>
848         </notations>
849       </note>
850       <note>
851         <pitch>
852           <step>B</step><octave>4</octave>
853         </pitch>
854         <duration>3</duration>
855         <voice>1</voice>
856         <type>quarter</type>
857         <notations>
858           <technical>
859             <pull-off type="stop"/>
860           </technical>
861         </notations>
862       </note>
863       <note>
864         <rest/>
865         <duration>3</duration>
866         <voice>1</voice>
867         <type>quarter</type>
868       </note>
869     </measure>
870     <!--=======================================================-->
871     <measure number="23">
872       <direction>
873         <direction-type>
874           <pedal type="start"/>
875         </direction-type>
876       </direction>
877       <note>
878         <pitch><step>B</step><octave>4</octave></pitch>
879         <duration>3</duration>
880         <voice>1</voice>
881         <type>quarter</type>
882       </note>
883       <direction>
884         <direction-type>
885           <pedal type="change"/>
886         </direction-type>
887       </direction>
888       <note>
889         <pitch><step>B</step><octave>4</octave></pitch>
890         <duration>3</duration>
891         <voice>1</voice>
892         <type>quarter</type>
893       </note>
894       <direction>
895         <direction-type>
896           <pedal type="stop"/>
897         </direction-type>
898       </direction>
899       <note>
900         <pitch><step>B</step><octave>4</octave></pitch>
901         <duration>3</duration>
902         <voice>1</voice>
903         <type>quarter</type>
904       </note>
905       <barline location="right">
906         <bar-style>light-heavy</bar-style>
907       </barline>
908     </measure>
909   </part>
910   <!--=========================================================-->
911 </score-partwise>