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>
16 <part-name print-object="no">MusicXML Part</part-name>
19 <!--=========================================================-->
21 <!-- Direction type can contain the following child types:
22 rehearsal+ | segno+ | words+ |
23 coda+ | wedge | dynamics+ | dashes | bracket | pedal |
24 metronome | octave-shift | harp-pedals | damp |
25 damp-all | eyeglasses | scordatura | image |
26 accordion-registration | other-direction -->
27 <!-- Rehearsal marks -->
30 <divisions>1</divisions>
35 <time symbol="common">
37 <beat-type>4</beat-type>
45 <direction placement="below">
47 <rehearsal>A</rehearsal>
51 <pitch><step>C</step><octave>4</octave></pitch>
52 <duration>1</duration>
55 <lyric number="1"><text>reh.A (def=sq.)</text></lyric>
57 <direction placement="above">
59 <rehearsal enclosure="none">B</rehearsal>
63 <pitch><step>C</step><octave>4</octave></pitch>
64 <duration>1</duration>
67 <lyric number="1"><text>reh.B (none)</text></lyric>
71 <rehearsal enclosure="square">Test</rehearsal>
75 <pitch><step>C</step><octave>4</octave></pitch>
76 <duration>1</duration>
79 <lyric number="1"><text>reh.Test (sq.)</text></lyric>
83 <rehearsal enclosure="circle">Crc</rehearsal>
87 <pitch><step>C</step><octave>4</octave></pitch>
88 <duration>1</duration>
91 <lyric number="1"><text>reh.Crc (crc.)</text></lyric>
94 <!-- Segno, Coda, Words (extra unit test for formatting!), Eyeglasses -->
102 <pitch><step>C</step><octave>4</octave></pitch>
103 <duration>1</duration>
106 <lyric number="1"><text>Segno</text></lyric>
114 <pitch><step>C</step><octave>4</octave></pitch>
115 <duration>1</duration>
118 <lyric number="1"><text>Coda</text></lyric>
126 <pitch><step>C</step><octave>4</octave></pitch>
127 <duration>1</duration>
130 <lyric number="1"><text>Words</text></lyric>
138 <pitch><step>C</step><octave>4</octave></pitch>
139 <duration>1</duration>
142 <lyric number="1"><text>Eyegl.</text></lyric>
145 <!-- Dynamics: p | pp | ppp | pppp | ppppp | pppppp |
146 f | ff | fff | ffff | fffff | ffffff | mp | mf | sf |
147 sfp | sfpp | fp | rf | rfz | sfz | sffz | fz |
152 <dynamics><p/></dynamics>
156 <pitch><step>C</step><octave>4</octave></pitch>
157 <duration>1</duration>
160 <lyric number="1"><text>p</text></lyric>
164 <dynamics><pp/></dynamics>
168 <pitch><step>C</step><octave>4</octave></pitch>
169 <duration>1</duration>
172 <lyric number="1"><text>pp</text></lyric>
176 <dynamics><ppp/></dynamics>
180 <pitch><step>C</step><octave>4</octave></pitch>
181 <duration>1</duration>
184 <lyric number="1"><text>ppp</text></lyric>
188 <dynamics><pppp/></dynamics>
192 <pitch><step>C</step><octave>4</octave></pitch>
193 <duration>1</duration>
196 <lyric number="1"><text>pppp</text></lyric>
202 <dynamics><ppppp/></dynamics>
206 <pitch><step>C</step><octave>4</octave></pitch>
207 <duration>1</duration>
210 <lyric number="1"><text>ppppp</text></lyric>
214 <dynamics><pppppp/></dynamics>
218 <pitch><step>C</step><octave>4</octave></pitch>
219 <duration>1</duration>
222 <lyric number="1"><text>pppppp</text></lyric>
226 <dynamics><f/></dynamics>
230 <pitch><step>C</step><octave>4</octave></pitch>
231 <duration>1</duration>
234 <lyric number="1"><text>f</text></lyric>
238 <dynamics><ff/></dynamics>
242 <pitch><step>C</step><octave>4</octave></pitch>
243 <duration>1</duration>
246 <lyric number="1"><text>ff</text></lyric>
252 <dynamics><fff/></dynamics>
256 <pitch><step>C</step><octave>4</octave></pitch>
257 <duration>1</duration>
260 <lyric number="1"><text>fff</text></lyric>
264 <dynamics><ffff/></dynamics>
268 <pitch><step>C</step><octave>4</octave></pitch>
269 <duration>1</duration>
272 <lyric number="1"><text>ffff</text></lyric>
276 <dynamics><fffff/></dynamics>
280 <pitch><step>C</step><octave>4</octave></pitch>
281 <duration>1</duration>
284 <lyric number="1"><text>fffff</text></lyric>
288 <dynamics><ffffff/></dynamics>
292 <pitch><step>C</step><octave>4</octave></pitch>
293 <duration>1</duration>
296 <lyric number="1"><text>ffffff</text></lyric>
302 <dynamics><mp/></dynamics>
306 <pitch><step>C</step><octave>4</octave></pitch>
307 <duration>1</duration>
310 <lyric number="1"><text>mp</text></lyric>
314 <dynamics><mf/></dynamics>
318 <pitch><step>C</step><octave>4</octave></pitch>
319 <duration>1</duration>
322 <lyric number="1"><text>mf</text></lyric>
326 <dynamics><sf/></dynamics>
330 <pitch><step>C</step><octave>4</octave></pitch>
331 <duration>1</duration>
334 <lyric number="1"><text>sf</text></lyric>
338 <dynamics><sfp/></dynamics>
342 <pitch><step>C</step><octave>4</octave></pitch>
343 <duration>1</duration>
346 <lyric number="1"><text>sfp</text></lyric>
352 <dynamics><sfpp/></dynamics>
356 <pitch><step>C</step><octave>4</octave></pitch>
357 <duration>1</duration>
360 <lyric number="1"><text>sfpp</text></lyric>
364 <dynamics><fp/></dynamics>
368 <pitch><step>C</step><octave>4</octave></pitch>
369 <duration>1</duration>
372 <lyric number="1"><text>fp</text></lyric>
376 <dynamics><rf/></dynamics>
380 <pitch><step>C</step><octave>4</octave></pitch>
381 <duration>1</duration>
384 <lyric number="1"><text>rf</text></lyric>
388 <dynamics><rfz/></dynamics>
392 <pitch><step>C</step><octave>4</octave></pitch>
393 <duration>1</duration>
396 <lyric number="1"><text>rfz</text></lyric>
402 <dynamics><sfz/></dynamics>
406 <pitch><step>C</step><octave>4</octave></pitch>
407 <duration>1</duration>
410 <lyric number="1"><text>sfz</text></lyric>
414 <dynamics><sffz/></dynamics>
418 <pitch><step>C</step><octave>4</octave></pitch>
419 <duration>1</duration>
422 <lyric number="1"><text>sffz</text></lyric>
426 <dynamics><fz/></dynamics>
430 <pitch><step>C</step><octave>4</octave></pitch>
431 <duration>1</duration>
434 <lyric number="1"><text>fz</text></lyric>
438 <dynamics><other-dynamics>abc-ffz</other-dynamics></dynamics>
442 <pitch><step>C</step><octave>4</octave></pitch>
443 <duration>1</duration>
446 <lyric number="1"><text>abc-ffz (oth.)</text></lyric>
449 <!-- Spanners (there is another unit test for testing the various options):
450 wedge, dashes, bracket, pedal, octave-shift -->
454 <wedge type="crescendo"/>
458 <pitch><step>C</step><octave>4</octave></pitch>
459 <duration>1</duration>
462 <lyric number="1"><syllabic>begin</syllabic><text>hairpin</text></lyric>
470 <pitch><step>C</step><octave>4</octave></pitch>
471 <duration>1</duration>
474 <lyric number="1"><syllabic>end</syllabic><text>cresc</text></lyric>
478 <dashes type="start"/>
482 <pitch><step>C</step><octave>4</octave></pitch>
483 <duration>1</duration>
486 <lyric number="1"><syllabic>begin</syllabic><text>dash</text></lyric>
490 <dashes type="stop"/>
494 <pitch><step>C</step><octave>4</octave></pitch>
495 <duration>1</duration>
498 <lyric number="1"><syllabic>end</syllabic><text>es</text></lyric>
501 <measure number="10">
504 <bracket type="start" line-end="none"/>
508 <pitch><step>C</step><octave>4</octave></pitch>
509 <duration>1</duration>
512 <lyric number="1"><syllabic>begin</syllabic><text>bra</text></lyric>
516 <bracket type="stop" line-end="none"/>
520 <pitch><step>C</step><octave>4</octave></pitch>
521 <duration>1</duration>
524 <lyric number="1"><syllabic>end</syllabic><text>cket</text></lyric>
528 <octave-shift type="up"/>
532 <pitch><step>C</step><octave>4</octave></pitch>
533 <duration>1</duration>
536 <lyric number="1"><syllabic>begin</syllabic><text>oct.</text></lyric>
540 <octave-shift type="stop"/>
544 <pitch><step>C</step><octave>4</octave></pitch>
545 <duration>1</duration>
548 <lyric number="1"><syllabic>end</syllabic><text>shift</text></lyric>
551 <measure number="11">
554 <pedal type="start"/>
558 <pitch><step>C</step><octave>4</octave></pitch>
559 <duration>1</duration>
562 <lyric number="1"><syllabic>begin</syllabic><text>pedal</text></lyric>
566 <pedal type="change"/>
570 <pitch><step>C</step><octave>4</octave></pitch>
571 <duration>1</duration>
574 <lyric number="1"><syllabic>continue</syllabic><text>change</text></lyric>
577 <pitch><step>C</step><octave>4</octave></pitch>
578 <duration>1</duration>
588 <pitch><step>C</step><octave>4</octave></pitch>
589 <duration>1</duration>
592 <lyric number="1"><syllabic>end</syllabic><text>mark</text></lyric>
595 <!-- metronome, harp-pedals, damp, damp-all, scordatura, accordion-registration -->
596 <measure number="12">
599 <metronome><beat-unit>quarter</beat-unit><per-minute>60</per-minute></metronome>
603 <pitch><step>C</step><octave>4</octave></pitch>
604 <duration>1</duration>
607 <lyric number="1"><text>Metr.</text></lyric>
613 <pedal-step>D</pedal-step>
614 <pedal-alter>0</pedal-alter>
617 <pedal-step>C</pedal-step>
618 <pedal-alter>-1</pedal-alter>
621 <pedal-step>B</pedal-step>
622 <pedal-alter>-1</pedal-alter>
625 <pedal-step>E</pedal-step>
626 <pedal-alter>0</pedal-alter>
629 <pedal-step>F</pedal-step>
630 <pedal-alter>0</pedal-alter>
633 <pedal-step>G</pedal-step>
634 <pedal-alter>1</pedal-alter>
637 <pedal-step>A</pedal-step>
638 <pedal-alter>-1</pedal-alter>
644 <pitch><step>C</step><octave>4</octave></pitch>
645 <duration>1</duration>
648 <lyric number="1"><text>Harp ped.</text></lyric>
656 <pitch><step>C</step><octave>4</octave></pitch>
657 <duration>1</duration>
660 <lyric number="1"><text>Damp</text></lyric>
668 <pitch><step>C</step><octave>4</octave></pitch>
669 <duration>1</duration>
672 <lyric number="1"><text>Damp all</text></lyric>
675 <measure number="13">
679 <accord string="0"><tuning-step>C</tuning-step><tuning-octave>3</tuning-octave></accord>
680 <accord string="1"><tuning-step>G</tuning-step><tuning-octave>5</tuning-octave></accord>
681 <accord string="2"><tuning-step>E</tuning-step><tuning-octave>5</tuning-octave></accord>
686 <pitch><step>C</step><octave>4</octave></pitch>
687 <duration>1</duration>
690 <lyric number="1"><text>Scord.</text></lyric>
694 <accordion-registration>
696 <accordion-middle>2</accordion-middle>
698 </accordion-registration>
702 <pitch><step>C</step><octave>4</octave></pitch>
703 <duration>1</duration>
706 <lyric number="1"><text>Accordion reg.</text></lyric>
710 <duration>2</duration>
714 <barline location="right">
715 <bar-style>light-light</bar-style>
718 <!-- Other issues: Multiple direction-type elements: "subito p", ppp<fff -->
719 <measure number="14">
720 <direction placement="below">
722 <words default-y="-80" font-family="Times New Roman" font-size="10.25" font-style="italic">subito</words>
725 <words default-y="-80" font-family="Times New Roman" font-size="10.25"> </words>
728 <dynamics default-y="-80">
735 <pitch><step>C</step><octave>4</octave></pitch>
736 <duration>1</duration>
739 <lyric number="1"><text>subp</text></lyric>
741 <direction placement="below">
743 <dynamics><ppp/></dynamics>
746 <wedge type="crescendo"/>
751 <pitch><step>C</step><octave>4</octave></pitch>
752 <duration>1</duration>
755 <lyric number="1"><syllabic>begin</syllabic><text>ppp cresc</text></lyric>
757 <direction placement="below">
762 <dynamics><fff/></dynamics>
767 <pitch><step>C</step><octave>4</octave></pitch>
768 <duration>1</duration>
771 <lyric number="1"><syllabic>end</syllabic><text>to fff</text></lyric>
775 <duration>1</duration>
778 <lyric number="1"><text>subp</text></lyric>
780 <barline location="right">
781 <bar-style>light-heavy</bar-style>
784 <!--=======================================================-->
786 <!--=========================================================-->