1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN"
3 "http://www.musicxml.org/dtds/partwise.dtd">
4 <score-partwise version="2.0">
5 <movement-title>MusicXML directions (attached to staff)</movement-title>
8 <miscellaneous-field name="description">All <direction> elements
9 defined in MusicXML. The lyrics for each note describes the direction
10 element assigned to that note.</miscellaneous-field>
15 <part-name print-object="no">MusicXML Part</part-name>
18 <!--=========================================================-->
20 <!-- Direction type can contain the following child types:
21 rehearsal+ | segno+ | words+ |
22 coda+ | wedge | dynamics+ | dashes | bracket | pedal |
23 metronome | octave-shift | harp-pedals | damp |
24 damp-all | eyeglasses | scordatura | image |
25 accordion-registration | other-direction -->
26 <!-- Rehearsal marks -->
29 <divisions>1</divisions>
34 <time symbol="common">
36 <beat-type>4</beat-type>
43 <direction placement="below">
45 <rehearsal>A</rehearsal>
49 <pitch><step>C</step><octave>4</octave></pitch>
50 <duration>1</duration>
53 <lyric number="1"><text>reh.A (def=sq.)</text></lyric>
55 <direction placement="above">
57 <rehearsal enclosure="none">B</rehearsal>
61 <pitch><step>C</step><octave>4</octave></pitch>
62 <duration>1</duration>
65 <lyric number="1"><text>reh.B (none)</text></lyric>
69 <rehearsal enclosure="square">Test</rehearsal>
73 <pitch><step>C</step><octave>4</octave></pitch>
74 <duration>1</duration>
77 <lyric number="1"><text>reh.Test (sq.)</text></lyric>
81 <rehearsal enclosure="circle">Crc</rehearsal>
85 <pitch><step>C</step><octave>4</octave></pitch>
86 <duration>1</duration>
89 <lyric number="1"><text>reh.Crc (crc.)</text></lyric>
92 <!-- Segno, Coda, Words (extra unit test for formatting!), Eyeglasses -->
100 <pitch><step>C</step><octave>4</octave></pitch>
101 <duration>1</duration>
104 <lyric number="1"><text>Segno</text></lyric>
112 <pitch><step>C</step><octave>4</octave></pitch>
113 <duration>1</duration>
116 <lyric number="1"><text>Coda</text></lyric>
124 <pitch><step>C</step><octave>4</octave></pitch>
125 <duration>1</duration>
128 <lyric number="1"><text>Words</text></lyric>
136 <pitch><step>C</step><octave>4</octave></pitch>
137 <duration>1</duration>
140 <lyric number="1"><text>Eyegl.</text></lyric>
143 <!-- Dynamics: p | pp | ppp | pppp | ppppp | pppppp |
144 f | ff | fff | ffff | fffff | ffffff | mp | mf | sf |
145 sfp | sfpp | fp | rf | rfz | sfz | sffz | fz |
150 <dynamics><p/></dynamics>
154 <pitch><step>C</step><octave>4</octave></pitch>
155 <duration>1</duration>
158 <lyric number="1"><text>p</text></lyric>
162 <dynamics><pp/></dynamics>
166 <pitch><step>C</step><octave>4</octave></pitch>
167 <duration>1</duration>
170 <lyric number="1"><text>pp</text></lyric>
174 <dynamics><ppp/></dynamics>
178 <pitch><step>C</step><octave>4</octave></pitch>
179 <duration>1</duration>
182 <lyric number="1"><text>ppp</text></lyric>
186 <dynamics><pppp/></dynamics>
190 <pitch><step>C</step><octave>4</octave></pitch>
191 <duration>1</duration>
194 <lyric number="1"><text>pppp</text></lyric>
200 <dynamics><ppppp/></dynamics>
204 <pitch><step>C</step><octave>4</octave></pitch>
205 <duration>1</duration>
208 <lyric number="1"><text>ppppp</text></lyric>
212 <dynamics><pppppp/></dynamics>
216 <pitch><step>C</step><octave>4</octave></pitch>
217 <duration>1</duration>
220 <lyric number="1"><text>pppppp</text></lyric>
224 <dynamics><f/></dynamics>
228 <pitch><step>C</step><octave>4</octave></pitch>
229 <duration>1</duration>
232 <lyric number="1"><text>f</text></lyric>
236 <dynamics><ff/></dynamics>
240 <pitch><step>C</step><octave>4</octave></pitch>
241 <duration>1</duration>
244 <lyric number="1"><text>ff</text></lyric>
250 <dynamics><fff/></dynamics>
254 <pitch><step>C</step><octave>4</octave></pitch>
255 <duration>1</duration>
258 <lyric number="1"><text>fff</text></lyric>
262 <dynamics><ffff/></dynamics>
266 <pitch><step>C</step><octave>4</octave></pitch>
267 <duration>1</duration>
270 <lyric number="1"><text>ffff</text></lyric>
274 <dynamics><fffff/></dynamics>
278 <pitch><step>C</step><octave>4</octave></pitch>
279 <duration>1</duration>
282 <lyric number="1"><text>fffff</text></lyric>
286 <dynamics><ffffff/></dynamics>
290 <pitch><step>C</step><octave>4</octave></pitch>
291 <duration>1</duration>
294 <lyric number="1"><text>ffffff</text></lyric>
300 <dynamics><mp/></dynamics>
304 <pitch><step>C</step><octave>4</octave></pitch>
305 <duration>1</duration>
308 <lyric number="1"><text>mp</text></lyric>
312 <dynamics><mf/></dynamics>
316 <pitch><step>C</step><octave>4</octave></pitch>
317 <duration>1</duration>
320 <lyric number="1"><text>mf</text></lyric>
324 <dynamics><sf/></dynamics>
328 <pitch><step>C</step><octave>4</octave></pitch>
329 <duration>1</duration>
332 <lyric number="1"><text>sf</text></lyric>
336 <dynamics><sfp/></dynamics>
340 <pitch><step>C</step><octave>4</octave></pitch>
341 <duration>1</duration>
344 <lyric number="1"><text>sfp</text></lyric>
350 <dynamics><sfpp/></dynamics>
354 <pitch><step>C</step><octave>4</octave></pitch>
355 <duration>1</duration>
358 <lyric number="1"><text>sfpp</text></lyric>
362 <dynamics><fp/></dynamics>
366 <pitch><step>C</step><octave>4</octave></pitch>
367 <duration>1</duration>
370 <lyric number="1"><text>fp</text></lyric>
374 <dynamics><rf/></dynamics>
378 <pitch><step>C</step><octave>4</octave></pitch>
379 <duration>1</duration>
382 <lyric number="1"><text>rf</text></lyric>
386 <dynamics><rfz/></dynamics>
390 <pitch><step>C</step><octave>4</octave></pitch>
391 <duration>1</duration>
394 <lyric number="1"><text>rfz</text></lyric>
400 <dynamics><sfz/></dynamics>
404 <pitch><step>C</step><octave>4</octave></pitch>
405 <duration>1</duration>
408 <lyric number="1"><text>sfz</text></lyric>
412 <dynamics><sffz/></dynamics>
416 <pitch><step>C</step><octave>4</octave></pitch>
417 <duration>1</duration>
420 <lyric number="1"><text>sffz</text></lyric>
424 <dynamics><fz/></dynamics>
428 <pitch><step>C</step><octave>4</octave></pitch>
429 <duration>1</duration>
432 <lyric number="1"><text>fz</text></lyric>
436 <dynamics><other-dynamics>abc-ffz</other-dynamics></dynamics>
440 <pitch><step>C</step><octave>4</octave></pitch>
441 <duration>1</duration>
444 <lyric number="1"><text>abc-ffz (oth.)</text></lyric>
447 <!-- Spanners (there is another unit test for testing the various options):
448 wedge, dashes, bracket, pedal, octave-shift -->
452 <wedge type="crescendo"/>
456 <pitch><step>C</step><octave>4</octave></pitch>
457 <duration>1</duration>
460 <lyric number="1"><syllabic>begin</syllabic><text>hairpin</text></lyric>
468 <pitch><step>C</step><octave>4</octave></pitch>
469 <duration>1</duration>
472 <lyric number="1"><syllabic>end</syllabic><text>cresc</text></lyric>
476 <dashes type="start"/>
480 <pitch><step>C</step><octave>4</octave></pitch>
481 <duration>1</duration>
484 <lyric number="1"><syllabic>begin</syllabic><text>dash</text></lyric>
488 <dashes type="stop"/>
492 <pitch><step>C</step><octave>4</octave></pitch>
493 <duration>1</duration>
496 <lyric number="1"><syllabic>end</syllabic><text>es</text></lyric>
499 <measure number="10">
502 <bracket type="start" line-end="none"/>
506 <pitch><step>C</step><octave>4</octave></pitch>
507 <duration>1</duration>
510 <lyric number="1"><syllabic>begin</syllabic><text>bra</text></lyric>
514 <bracket type="stop" line-end="none"/>
518 <pitch><step>C</step><octave>4</octave></pitch>
519 <duration>1</duration>
522 <lyric number="1"><syllabic>end</syllabic><text>cket</text></lyric>
526 <octave-shift type="up"/>
530 <pitch><step>C</step><octave>4</octave></pitch>
531 <duration>1</duration>
534 <lyric number="1"><syllabic>begin</syllabic><text>oct.</text></lyric>
538 <octave-shift type="stop"/>
542 <pitch><step>C</step><octave>4</octave></pitch>
543 <duration>1</duration>
546 <lyric number="1"><syllabic>end</syllabic><text>shift</text></lyric>
549 <measure number="11">
552 <pedal type="start"/>
556 <pitch><step>C</step><octave>4</octave></pitch>
557 <duration>1</duration>
560 <lyric number="1"><syllabic>begin</syllabic><text>pedal</text></lyric>
564 <pedal type="change"/>
568 <pitch><step>C</step><octave>4</octave></pitch>
569 <duration>1</duration>
572 <lyric number="1"><syllabic>middle</syllabic><text>change</text></lyric>
575 <pitch><step>C</step><octave>4</octave></pitch>
576 <duration>1</duration>
586 <pitch><step>C</step><octave>4</octave></pitch>
587 <duration>1</duration>
590 <lyric number="1"><syllabic>end</syllabic><text>mark</text></lyric>
593 <!-- metronome, harp-pedals, damp, damp-all, scordatura, accordion-registration -->
594 <measure number="12">
597 <metronome><beat-unit>quarter</beat-unit><per-minute>60</per-minute></metronome>
601 <pitch><step>C</step><octave>4</octave></pitch>
602 <duration>1</duration>
605 <lyric number="1"><text>Metr.</text></lyric>
611 <pedal-step>D</pedal-step>
612 <pedal-alter>0</pedal-alter>
615 <pedal-step>C</pedal-step>
616 <pedal-alter>-1</pedal-alter>
619 <pedal-step>B</pedal-step>
620 <pedal-alter>-1</pedal-alter>
623 <pedal-step>E</pedal-step>
624 <pedal-alter>0</pedal-alter>
627 <pedal-step>F</pedal-step>
628 <pedal-alter>0</pedal-alter>
631 <pedal-step>G</pedal-step>
632 <pedal-alter>1</pedal-alter>
635 <pedal-step>A</pedal-step>
636 <pedal-alter>-1</pedal-alter>
642 <pitch><step>C</step><octave>4</octave></pitch>
643 <duration>1</duration>
646 <lyric number="1"><text>Harp ped.</text></lyric>
654 <pitch><step>C</step><octave>4</octave></pitch>
655 <duration>1</duration>
658 <lyric number="1"><text>Damp</text></lyric>
666 <pitch><step>C</step><octave>4</octave></pitch>
667 <duration>1</duration>
670 <lyric number="1"><text>Damp all</text></lyric>
673 <measure number="13">
677 <accord string="3"><tuning-step>C</tuning-step><tuning-octave>3</tuning-octave></accord>
678 <accord string="2"><tuning-step>G</tuning-step><tuning-octave>5</tuning-octave></accord>
679 <accord string="1"><tuning-step>E</tuning-step><tuning-octave>5</tuning-octave></accord>
684 <pitch><step>C</step><octave>4</octave></pitch>
685 <duration>1</duration>
688 <lyric number="1"><text>Scord.</text></lyric>
692 <accordion-registration>
694 <accordion-middle>2</accordion-middle>
696 </accordion-registration>
700 <pitch><step>C</step><octave>4</octave></pitch>
701 <duration>1</duration>
704 <lyric number="1"><text>Accordion reg.</text></lyric>
708 <duration>2</duration>
712 <barline location="right">
713 <bar-style>light-light</bar-style>
716 <!-- Other issues: Multiple direction-type elements: "subito p", ppp<fff -->
717 <measure number="14">
718 <direction placement="below">
720 <words default-y="-80" font-family="Times New Roman" font-size="10.25" font-style="italic">subito</words>
723 <words default-y="-80" font-family="Times New Roman" font-size="10.25"> </words>
726 <dynamics default-y="-80">
733 <pitch><step>C</step><octave>4</octave></pitch>
734 <duration>1</duration>
737 <lyric number="1"><text>subp</text></lyric>
739 <direction placement="below">
741 <dynamics><ppp/></dynamics>
744 <wedge type="crescendo"/>
749 <pitch><step>C</step><octave>4</octave></pitch>
750 <duration>1</duration>
753 <lyric number="1"><syllabic>begin</syllabic><text>ppp cresc</text></lyric>
755 <direction placement="below">
760 <dynamics><fff/></dynamics>
765 <pitch><step>C</step><octave>4</octave></pitch>
766 <duration>1</duration>
769 <lyric number="1"><syllabic>end</syllabic><text>to fff</text></lyric>
773 <duration>1</duration>
776 <lyric number="1"><text>subp</text></lyric>
778 <barline location="right">
779 <bar-style>light-heavy</bar-style>
782 <!--=======================================================-->
784 <!--=========================================================-->