1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN"
\r
3 "http://www.musicxml.org/dtds/partwise.dtd">
\r
4 <score-partwise version="2.0">
\r
5 <movement-title>MusicXML directions (attached to staff)</movement-title>
\r
8 <miscellaneous-field name="description">All <direction> elements
\r
9 defined in MusicXML. The lyrics for each note describes the direction
\r
10 element assigned to that note.</miscellaneous-field>
\r
15 <score-part id="P1">
\r
16 <part-name print-object="no">MusicXML Part</part-name>
\r
19 <!--=========================================================-->
\r
21 <!-- Direction type can contain the following child types:
\r
22 rehearsal+ | segno+ | words+ |
\r
23 coda+ | wedge | dynamics+ | dashes | bracket | pedal |
\r
24 metronome | octave-shift | harp-pedals | damp |
\r
25 damp-all | eyeglasses | scordatura | image |
\r
26 accordion-registration | other-direction -->
\r
27 <!-- Rehearsal marks -->
\r
28 <measure number="1">
\r
30 <divisions>1</divisions>
\r
35 <time symbol="common">
\r
37 <beat-type>4</beat-type>
\r
44 <sound tempo="120"/>
\r
45 <direction placement="below">
\r
47 <rehearsal>A</rehearsal>
\r
51 <pitch><step>C</step><octave>4</octave></pitch>
\r
52 <duration>1</duration>
\r
54 <type>quarter</type>
\r
55 <lyric number="1"><text>reh.A (def=sq.)</text></lyric>
\r
57 <direction placement="above">
\r
59 <rehearsal enclosure="none">B</rehearsal>
\r
63 <pitch><step>C</step><octave>4</octave></pitch>
\r
64 <duration>1</duration>
\r
66 <type>quarter</type>
\r
67 <lyric number="1"><text>reh.B (none)</text></lyric>
\r
71 <rehearsal enclosure="square">Test</rehearsal>
\r
75 <pitch><step>C</step><octave>4</octave></pitch>
\r
76 <duration>1</duration>
\r
78 <type>quarter</type>
\r
79 <lyric number="1"><text>reh.Test (sq.)</text></lyric>
\r
83 <rehearsal enclosure="circle">Crc</rehearsal>
\r
87 <pitch><step>C</step><octave>4</octave></pitch>
\r
88 <duration>1</duration>
\r
90 <type>quarter</type>
\r
91 <lyric number="1"><text>reh.Crc (crc.)</text></lyric>
\r
94 <!-- Segno, Coda, Words (extra unit test for formatting!), Eyeglasses -->
\r
95 <measure number="2">
\r
102 <pitch><step>C</step><octave>4</octave></pitch>
\r
103 <duration>1</duration>
\r
105 <type>quarter</type>
\r
106 <lyric number="1"><text>Segno</text></lyric>
\r
114 <pitch><step>C</step><octave>4</octave></pitch>
\r
115 <duration>1</duration>
\r
117 <type>quarter</type>
\r
118 <lyric number="1"><text>Coda</text></lyric>
\r
122 <words>words</words>
\r
126 <pitch><step>C</step><octave>4</octave></pitch>
\r
127 <duration>1</duration>
\r
129 <type>quarter</type>
\r
130 <lyric number="1"><text>Words</text></lyric>
\r
138 <pitch><step>C</step><octave>4</octave></pitch>
\r
139 <duration>1</duration>
\r
141 <type>quarter</type>
\r
142 <lyric number="1"><text>Eyegl.</text></lyric>
\r
145 <!-- Dynamics: p | pp | ppp | pppp | ppppp | pppppp |
\r
146 f | ff | fff | ffff | fffff | ffffff | mp | mf | sf |
\r
147 sfp | sfpp | fp | rf | rfz | sfz | sffz | fz |
\r
149 <measure number="3">
\r
152 <dynamics><p/></dynamics>
\r
156 <pitch><step>C</step><octave>4</octave></pitch>
\r
157 <duration>1</duration>
\r
159 <type>quarter</type>
\r
160 <lyric number="1"><text>p</text></lyric>
\r
164 <dynamics><pp/></dynamics>
\r
168 <pitch><step>C</step><octave>4</octave></pitch>
\r
169 <duration>1</duration>
\r
171 <type>quarter</type>
\r
172 <lyric number="1"><text>pp</text></lyric>
\r
176 <dynamics><ppp/></dynamics>
\r
180 <pitch><step>C</step><octave>4</octave></pitch>
\r
181 <duration>1</duration>
\r
183 <type>quarter</type>
\r
184 <lyric number="1"><text>ppp</text></lyric>
\r
188 <dynamics><pppp/></dynamics>
\r
192 <pitch><step>C</step><octave>4</octave></pitch>
\r
193 <duration>1</duration>
\r
195 <type>quarter</type>
\r
196 <lyric number="1"><text>pppp</text></lyric>
\r
199 <measure number="4">
\r
202 <dynamics><ppppp/></dynamics>
\r
206 <pitch><step>C</step><octave>4</octave></pitch>
\r
207 <duration>1</duration>
\r
209 <type>quarter</type>
\r
210 <lyric number="1"><text>ppppp</text></lyric>
\r
214 <dynamics><pppppp/></dynamics>
\r
218 <pitch><step>C</step><octave>4</octave></pitch>
\r
219 <duration>1</duration>
\r
221 <type>quarter</type>
\r
222 <lyric number="1"><text>pppppp</text></lyric>
\r
226 <dynamics><f/></dynamics>
\r
230 <pitch><step>C</step><octave>4</octave></pitch>
\r
231 <duration>1</duration>
\r
233 <type>quarter</type>
\r
234 <lyric number="1"><text>f</text></lyric>
\r
238 <dynamics><ff/></dynamics>
\r
242 <pitch><step>C</step><octave>4</octave></pitch>
\r
243 <duration>1</duration>
\r
245 <type>quarter</type>
\r
246 <lyric number="1"><text>ff</text></lyric>
\r
249 <measure number="5">
\r
252 <dynamics><fff/></dynamics>
\r
256 <pitch><step>C</step><octave>4</octave></pitch>
\r
257 <duration>1</duration>
\r
259 <type>quarter</type>
\r
260 <lyric number="1"><text>fff</text></lyric>
\r
264 <dynamics><ffff/></dynamics>
\r
268 <pitch><step>C</step><octave>4</octave></pitch>
\r
269 <duration>1</duration>
\r
271 <type>quarter</type>
\r
272 <lyric number="1"><text>ffff</text></lyric>
\r
276 <dynamics><fffff/></dynamics>
\r
280 <pitch><step>C</step><octave>4</octave></pitch>
\r
281 <duration>1</duration>
\r
283 <type>quarter</type>
\r
284 <lyric number="1"><text>fffff</text></lyric>
\r
288 <dynamics><ffffff/></dynamics>
\r
292 <pitch><step>C</step><octave>4</octave></pitch>
\r
293 <duration>1</duration>
\r
295 <type>quarter</type>
\r
296 <lyric number="1"><text>ffffff</text></lyric>
\r
299 <measure number="6">
\r
302 <dynamics><mp/></dynamics>
\r
306 <pitch><step>C</step><octave>4</octave></pitch>
\r
307 <duration>1</duration>
\r
309 <type>quarter</type>
\r
310 <lyric number="1"><text>mp</text></lyric>
\r
314 <dynamics><mf/></dynamics>
\r
318 <pitch><step>C</step><octave>4</octave></pitch>
\r
319 <duration>1</duration>
\r
321 <type>quarter</type>
\r
322 <lyric number="1"><text>mf</text></lyric>
\r
326 <dynamics><sf/></dynamics>
\r
330 <pitch><step>C</step><octave>4</octave></pitch>
\r
331 <duration>1</duration>
\r
333 <type>quarter</type>
\r
334 <lyric number="1"><text>sf</text></lyric>
\r
338 <dynamics><sfp/></dynamics>
\r
342 <pitch><step>C</step><octave>4</octave></pitch>
\r
343 <duration>1</duration>
\r
345 <type>quarter</type>
\r
346 <lyric number="1"><text>sfp</text></lyric>
\r
349 <measure number="7">
\r
352 <dynamics><sfpp/></dynamics>
\r
356 <pitch><step>C</step><octave>4</octave></pitch>
\r
357 <duration>1</duration>
\r
359 <type>quarter</type>
\r
360 <lyric number="1"><text>sfpp</text></lyric>
\r
364 <dynamics><fp/></dynamics>
\r
368 <pitch><step>C</step><octave>4</octave></pitch>
\r
369 <duration>1</duration>
\r
371 <type>quarter</type>
\r
372 <lyric number="1"><text>fp</text></lyric>
\r
376 <dynamics><rf/></dynamics>
\r
380 <pitch><step>C</step><octave>4</octave></pitch>
\r
381 <duration>1</duration>
\r
383 <type>quarter</type>
\r
384 <lyric number="1"><text>rf</text></lyric>
\r
388 <dynamics><rfz/></dynamics>
\r
392 <pitch><step>C</step><octave>4</octave></pitch>
\r
393 <duration>1</duration>
\r
395 <type>quarter</type>
\r
396 <lyric number="1"><text>rfz</text></lyric>
\r
399 <measure number="8">
\r
402 <dynamics><sfz/></dynamics>
\r
406 <pitch><step>C</step><octave>4</octave></pitch>
\r
407 <duration>1</duration>
\r
409 <type>quarter</type>
\r
410 <lyric number="1"><text>sfz</text></lyric>
\r
414 <dynamics><sffz/></dynamics>
\r
418 <pitch><step>C</step><octave>4</octave></pitch>
\r
419 <duration>1</duration>
\r
421 <type>quarter</type>
\r
422 <lyric number="1"><text>sffz</text></lyric>
\r
426 <dynamics><fz/></dynamics>
\r
430 <pitch><step>C</step><octave>4</octave></pitch>
\r
431 <duration>1</duration>
\r
433 <type>quarter</type>
\r
434 <lyric number="1"><text>fz</text></lyric>
\r
438 <dynamics><other-dynamics>abc-ffz</other-dynamics></dynamics>
\r
442 <pitch><step>C</step><octave>4</octave></pitch>
\r
443 <duration>1</duration>
\r
445 <type>quarter</type>
\r
446 <lyric number="1"><text>abc-ffz (oth.)</text></lyric>
\r
449 <!-- Spanners (there is another unit test for testing the various options):
\r
450 wedge, dashes, bracket, pedal, octave-shift -->
\r
451 <measure number="9">
\r
454 <wedge type="crescendo"/>
\r
458 <pitch><step>C</step><octave>4</octave></pitch>
\r
459 <duration>1</duration>
\r
461 <type>quarter</type>
\r
462 <lyric number="1"><syllabic>begin</syllabic><text>hairpin</text></lyric>
\r
466 <wedge type="stop"/>
\r
470 <pitch><step>C</step><octave>4</octave></pitch>
\r
471 <duration>1</duration>
\r
473 <type>quarter</type>
\r
474 <lyric number="1"><syllabic>end</syllabic><text>cresc</text></lyric>
\r
478 <dashes type="start"/>
\r
482 <pitch><step>C</step><octave>4</octave></pitch>
\r
483 <duration>1</duration>
\r
485 <type>quarter</type>
\r
486 <lyric number="1"><syllabic>begin</syllabic><text>dash</text></lyric>
\r
490 <dashes type="stop"/>
\r
494 <pitch><step>C</step><octave>4</octave></pitch>
\r
495 <duration>1</duration>
\r
497 <type>quarter</type>
\r
498 <lyric number="1"><syllabic>end</syllabic><text>es</text></lyric>
\r
501 <measure number="10">
\r
504 <bracket type="start" line-end="none"/>
\r
508 <pitch><step>C</step><octave>4</octave></pitch>
\r
509 <duration>1</duration>
\r
511 <type>quarter</type>
\r
512 <lyric number="1"><syllabic>begin</syllabic><text>bra</text></lyric>
\r
516 <bracket type="stop" line-end="none"/>
\r
520 <pitch><step>C</step><octave>4</octave></pitch>
\r
521 <duration>1</duration>
\r
523 <type>quarter</type>
\r
524 <lyric number="1"><syllabic>end</syllabic><text>cket</text></lyric>
\r
528 <octave-shift type="up"/>
\r
532 <pitch><step>C</step><octave>4</octave></pitch>
\r
533 <duration>1</duration>
\r
535 <type>quarter</type>
\r
536 <lyric number="1"><syllabic>begin</syllabic><text>oct.</text></lyric>
\r
540 <octave-shift type="stop"/>
\r
544 <pitch><step>C</step><octave>4</octave></pitch>
\r
545 <duration>1</duration>
\r
547 <type>quarter</type>
\r
548 <lyric number="1"><syllabic>end</syllabic><text>shift</text></lyric>
\r
551 <measure number="11">
\r
554 <pedal type="start"/>
\r
558 <pitch><step>C</step><octave>4</octave></pitch>
\r
559 <duration>1</duration>
\r
561 <type>quarter</type>
\r
562 <lyric number="1"><syllabic>begin</syllabic><text>pedal</text></lyric>
\r
566 <pedal type="change"/>
\r
570 <pitch><step>C</step><octave>4</octave></pitch>
\r
571 <duration>1</duration>
\r
573 <type>quarter</type>
\r
574 <lyric number="1"><syllabic>continue</syllabic><text>change</text></lyric>
\r
577 <pitch><step>C</step><octave>4</octave></pitch>
\r
578 <duration>1</duration>
\r
580 <type>quarter</type>
\r
584 <pedal type="stop"/>
\r
588 <pitch><step>C</step><octave>4</octave></pitch>
\r
589 <duration>1</duration>
\r
591 <type>quarter</type>
\r
592 <lyric number="1"><syllabic>end</syllabic><text>mark</text></lyric>
\r
595 <!-- metronome, harp-pedals, damp, damp-all, scordatura, accordion-registration -->
\r
596 <measure number="12">
\r
599 <metronome><beat-unit>quarter</beat-unit><per-minute>60</per-minute></metronome>
\r
603 <pitch><step>C</step><octave>4</octave></pitch>
\r
604 <duration>1</duration>
\r
606 <type>quarter</type>
\r
607 <lyric number="1"><text>Metr.</text></lyric>
\r
613 <pedal-step>D</pedal-step>
\r
614 <pedal-alter>0</pedal-alter>
\r
617 <pedal-step>C</pedal-step>
\r
618 <pedal-alter>-1</pedal-alter>
\r
621 <pedal-step>B</pedal-step>
\r
622 <pedal-alter>-1</pedal-alter>
\r
625 <pedal-step>E</pedal-step>
\r
626 <pedal-alter>0</pedal-alter>
\r
629 <pedal-step>F</pedal-step>
\r
630 <pedal-alter>0</pedal-alter>
\r
633 <pedal-step>G</pedal-step>
\r
634 <pedal-alter>1</pedal-alter>
\r
637 <pedal-step>A</pedal-step>
\r
638 <pedal-alter>-1</pedal-alter>
\r
644 <pitch><step>C</step><octave>4</octave></pitch>
\r
645 <duration>1</duration>
\r
647 <type>quarter</type>
\r
648 <lyric number="1"><text>Harp ped.</text></lyric>
\r
656 <pitch><step>C</step><octave>4</octave></pitch>
\r
657 <duration>1</duration>
\r
659 <type>quarter</type>
\r
660 <lyric number="1"><text>Damp</text></lyric>
\r
668 <pitch><step>C</step><octave>4</octave></pitch>
\r
669 <duration>1</duration>
\r
671 <type>quarter</type>
\r
672 <lyric number="1"><text>Damp all</text></lyric>
\r
675 <measure number="13">
\r
679 <accord string="0"><tuning-step>C</tuning-step><tuning-octave>3</tuning-octave></accord>
\r
680 <accord string="1"><tuning-step>G</tuning-step><tuning-octave>5</tuning-octave></accord>
\r
681 <accord string="2"><tuning-step>E</tuning-step><tuning-octave>5</tuning-octave></accord>
\r
686 <pitch><step>C</step><octave>4</octave></pitch>
\r
687 <duration>1</duration>
\r
689 <type>quarter</type>
\r
690 <lyric number="1"><text>Scord.</text></lyric>
\r
694 <accordion-registration>
\r
696 <accordion-middle>2</accordion-middle>
\r
698 </accordion-registration>
\r
702 <pitch><step>C</step><octave>4</octave></pitch>
\r
703 <duration>1</duration>
\r
705 <type>quarter</type>
\r
706 <lyric number="1"><text>Accordion reg.</text></lyric>
\r
710 <duration>2</duration>
\r
714 <barline location="right">
\r
715 <bar-style>light-light</bar-style>
\r
718 <!-- Other issues: Multiple direction-type elements: "subito p", ppp<fff -->
\r
719 <measure number="14">
\r
720 <direction placement="below">
\r
722 <words default-y="-80" font-family="Times New Roman" font-size="10.25" font-style="italic">subito</words>
\r
725 <words default-y="-80" font-family="Times New Roman" font-size="10.25"> </words>
\r
728 <dynamics default-y="-80">
\r
735 <pitch><step>C</step><octave>4</octave></pitch>
\r
736 <duration>1</duration>
\r
738 <type>quarter</type>
\r
739 <lyric number="1"><text>subp</text></lyric>
\r
741 <direction placement="below">
\r
743 <dynamics><ppp/></dynamics>
\r
746 <wedge type="crescendo"/>
\r
751 <pitch><step>C</step><octave>4</octave></pitch>
\r
752 <duration>1</duration>
\r
754 <type>quarter</type>
\r
755 <lyric number="1"><syllabic>begin</syllabic><text>ppp cresc</text></lyric>
\r
757 <direction placement="below">
\r
759 <wedge type="stop"/>
\r
762 <dynamics><fff/></dynamics>
\r
767 <pitch><step>C</step><octave>4</octave></pitch>
\r
768 <duration>1</duration>
\r
770 <type>quarter</type>
\r
771 <lyric number="1"><syllabic>end</syllabic><text>to fff</text></lyric>
\r
775 <duration>1</duration>
\r
777 <type>quarter</type>
\r
778 <lyric number="1"><text>subp</text></lyric>
\r
780 <barline location="right">
\r
781 <bar-style>light-heavy</bar-style>
\r
784 <!--=======================================================-->
\r
786 <!--=========================================================-->
\r