UNPKG

vexflow-musicxml

Version:

MusicXml Parser for vexflow

1,137 lines (1,136 loc) 32.7 kB
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd"> <score-partwise version="3.0"> <movement-title>Excerpt from Piano Sonata in A Major, K. 331</movement-title> <identification> <creator type="composer">Wolfgang Amadeus Mozart</creator> <rights>Copyright © 2010 Recordare LLC</rights> <encoding> <software>Finale 2011 for Windows</software> <software>Dolet 6.0 for Finale</software> <encoding-date>2011-08-08</encoding-date> <supports attribute="new-system" element="print" type="yes" value="yes"/> <supports attribute="new-page" element="print" type="yes" value="yes"/> </encoding> </identification> <defaults> <scaling> <millimeters>6.9674</millimeters> <tenths>40</tenths> </scaling> <page-layout> <page-height>1604</page-height> <page-width>1239</page-width> <page-margins type="both"> <left-margin>86</left-margin> <right-margin>63</right-margin> <top-margin>73</top-margin> <bottom-margin>73</bottom-margin> </page-margins> </page-layout> <system-layout> <system-margins> <left-margin>0</left-margin> <right-margin>0</right-margin> </system-margins> <system-distance>126</system-distance> <top-system-distance>73</top-system-distance> </system-layout> <staff-layout> <staff-distance>93</staff-distance> </staff-layout> <appearance> <line-width type="stem">0.957</line-width> <line-width type="beam">5</line-width> <line-width type="staff">1.25</line-width> <line-width type="light barline">1.4583</line-width> <line-width type="heavy barline">5</line-width> <line-width type="leger">1.875</line-width> <line-width type="ending">1.4583</line-width> <line-width type="wedge">0.9375</line-width> <line-width type="enclosure">1.4583</line-width> <line-width type="tuplet bracket">1.4583</line-width> <note-size type="grace">60</note-size> <note-size type="cue">60</note-size> <distance type="hyphen">60</distance> <distance type="beam">8</distance> </appearance> <music-font font-family="Maestro,engraved" font-size="19.75"/> <word-font font-family="Times New Roman" font-size="9"/> </defaults> <part-list> <score-part id="P1"> <part-name print-object="no">Piano</part-name> <score-instrument id="P1-I1"> <instrument-name>Acoustic Grand Piano</instrument-name> </score-instrument> <midi-instrument id="P1-I1"> <midi-channel>1</midi-channel> <midi-program>1</midi-program> <volume>80</volume> <pan>0</pan> </midi-instrument> </score-part> </part-list> <!--=========================================================--> <part id="P1"> <measure number="1" width="242"> <print> <system-layout> <top-system-distance>219</top-system-distance> </system-layout> <staff-layout number="2"> <staff-distance>75</staff-distance> </staff-layout> <measure-numbering>none</measure-numbering> </print> <attributes> <divisions>8</divisions> <key> <fifths>3</fifths> <mode>major</mode> </key> <staves>2</staves> <clef number="1"> <sign>G</sign> <line>2</line> </clef> <clef number="2"> <sign>F</sign> <line>4</line> </clef> </attributes> <sound tempo="120"/> <note default-x="129"> <pitch> <step>C</step> <alter>1</alter> <octave>6</octave> </pitch> <duration>16</duration> <voice>1</voice> <type>half</type> <stem default-y="46">up</stem> <staff>1</staff> </note> <backup> <duration>16</duration> </backup> <note default-x="129"> <pitch> <step>C</step> <alter>1</alter> <octave>5</octave> </pitch> <duration>8</duration> <voice>2</voice> <type>quarter</type> <stem default-y="-50.5">down</stem> <staff>1</staff> <notations> <arpeggiate default-x="-15" number="1"/> </notations> </note> <note default-x="129"> <chord/> <pitch> <step>E</step> <octave>5</octave> </pitch> <duration>8</duration> <voice>2</voice> <type>quarter</type> <stem>down</stem> <staff>1</staff> <notations> <arpeggiate default-x="-15" number="1"/> </notations> </note> <note default-x="129"> <chord/> <pitch> <step>A</step> <octave>5</octave> </pitch> <duration>8</duration> <voice>2</voice> <type>quarter</type> <stem>down</stem> <staff>1</staff> <notations> <arpeggiate default-x="-15" number="1"/> </notations> </note> <forward> <duration>8</duration> <voice>2</voice> <staff>1</staff> </forward> <backup> <duration>16</duration> </backup> <note default-x="88"> <grace/> <pitch> <step>A</step> <octave>2</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="3">up</stem> <staff>2</staff> <beam number="1">begin</beam> <beam number="2">begin</beam> <beam number="3">begin</beam> <notations> <slur number="1" placement="above" type="start"/> </notations> </note> <note default-x="101"> <grace/> <pitch> <step>C</step> <alter>1</alter> <octave>3</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="7">up</stem> <staff>2</staff> <beam number="1">continue</beam> <beam number="2">continue</beam> <beam number="3">continue</beam> </note> <note default-x="114"> <grace/> <pitch> <step>E</step> <octave>3</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="11">up</stem> <staff>2</staff> <beam number="1">end</beam> <beam number="2">end</beam> <beam number="3">end</beam> </note> <note default-x="129"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-34">down</stem> <staff>2</staff> <beam number="1">begin</beam> <notations> <slur number="1" type="stop"/> </notations> </note> <note default-x="157"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-34">down</stem> <staff>2</staff> <beam number="1">continue</beam> </note> <note default-x="185"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-34">down</stem> <staff>2</staff> <beam number="1">continue</beam> </note> <note default-x="213"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-34">down</stem> <staff>2</staff> <beam number="1">end</beam> </note> </measure> <!--=======================================================--> <measure number="2" width="272"> <print new-system="no"/> <note default-x="51"> <pitch> <step>D</step> <octave>6</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>16th</type> <stem default-y="-20">down</stem> <staff>1</staff> <beam number="1">begin</beam> <beam number="2">begin</beam> <notations> <slur number="1" placement="above" type="start"/> </notations> </note> <note default-x="79"> <pitch> <step>C</step> <alter>1</alter> <octave>6</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>16th</type> <stem default-y="-20">down</stem> <staff>1</staff> <beam number="1">continue</beam> <beam number="2">continue</beam> <notations> <slur number="1" type="stop"/> </notations> </note> <note default-x="105"> <pitch> <step>B</step> <octave>5</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>16th</type> <stem default-y="-20">down</stem> <staff>1</staff> <beam number="1">continue</beam> <beam number="2">continue</beam> <notations> <articulations> <staccato default-x="3" default-y="25" placement="above"/> </articulations> </notations> </note> <note default-x="133"> <pitch> <step>C</step> <alter>1</alter> <octave>6</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>16th</type> <stem default-y="-20">down</stem> <staff>1</staff> <beam number="1">end</beam> <beam number="2">end</beam> <notations> <articulations> <staccato default-x="3" default-y="30" placement="above"/> </articulations> </notations> </note> <note default-x="158"> <pitch> <step>D</step> <octave>6</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>16th</type> <stem default-y="-20">down</stem> <staff>1</staff> <beam number="1">begin</beam> <beam number="2">begin</beam> <notations> <slur number="1" placement="above" type="start"/> </notations> </note> <note default-x="186"> <pitch> <step>C</step> <alter>1</alter> <octave>6</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>16th</type> <stem default-y="-20">down</stem> <staff>1</staff> <beam number="1">continue</beam> <beam number="2">continue</beam> <notations> <slur number="1" type="stop"/> </notations> </note> <note default-x="214"> <pitch> <step>B</step> <octave>5</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>16th</type> <stem default-y="-20">down</stem> <staff>1</staff> <beam number="1">continue</beam> <beam number="2">continue</beam> <notations> <articulations> <staccato default-x="3" default-y="25" placement="above"/> </articulations> </notations> </note> <note default-x="242"> <pitch> <step>C</step> <alter>1</alter> <octave>6</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>16th</type> <stem default-y="-20">down</stem> <staff>1</staff> <beam number="1">end</beam> <beam number="2">end</beam> <notations> <articulations> <staccato default-x="3" default-y="30" placement="above"/> </articulations> </notations> </note> <backup> <duration>16</duration> </backup> <note default-x="10"> <grace/> <pitch> <step>A</step> <octave>2</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="3">up</stem> <staff>2</staff> <beam number="1">begin</beam> <beam number="2">begin</beam> <beam number="3">begin</beam> <notations> <slur number="1" placement="above" type="start"/> </notations> </note> <note default-x="23"> <grace/> <pitch> <step>C</step> <alter>1</alter> <octave>3</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="8">up</stem> <staff>2</staff> <beam number="1">continue</beam> <beam number="2">continue</beam> <beam number="3">continue</beam> </note> <note default-x="37"> <grace/> <pitch> <step>E</step> <octave>3</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="12">up</stem> <staff>2</staff> <beam number="1">end</beam> <beam number="2">end</beam> <beam number="3">end</beam> </note> <note default-x="51"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-35">down</stem> <staff>2</staff> <beam number="1">begin</beam> <notations> <slur number="1" type="stop"/> </notations> </note> <note default-x="105"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-35">down</stem> <staff>2</staff> <beam number="1">continue</beam> </note> <note default-x="158"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-35">down</stem> <staff>2</staff> <beam number="1">continue</beam> </note> <note default-x="214"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-35">down</stem> <staff>2</staff> <beam number="1">end</beam> </note> </measure> <!--=======================================================--> <measure number="3" width="165"> <print new-system="no"/> <note default-x="51"> <pitch> <step>F</step> <alter>1</alter> <octave>5</octave> </pitch> <duration>16</duration> <voice>1</voice> <type>half</type> <stem default-y="-35">down</stem> <staff>1</staff> </note> <note default-x="51"> <chord/> <pitch> <step>A</step> <octave>5</octave> </pitch> <duration>16</duration> <voice>1</voice> <type>half</type> <stem>down</stem> <staff>1</staff> </note> <note default-x="51"> <chord/> <pitch> <step>D</step> <octave>6</octave> </pitch> <duration>16</duration> <voice>1</voice> <type>half</type> <stem>down</stem> <staff>1</staff> </note> <backup> <duration>16</duration> </backup> <note default-x="7"> <grace/> <pitch> <step>D</step> <octave>2</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="-16.5">up</stem> <staff>2</staff> <beam number="1">begin</beam> <beam number="2">begin</beam> <beam number="3">begin</beam> <notations> <slur number="1" placement="above" type="start"/> </notations> </note> <note default-x="23"> <grace/> <pitch> <step>F</step> <alter>1</alter> <octave>2</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="-12">up</stem> <staff>2</staff> <beam number="1">continue</beam> <beam number="2">continue</beam> <beam number="3">continue</beam> </note> <note default-x="36"> <grace/> <pitch> <step>A</step> <octave>2</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="-8">up</stem> <staff>2</staff> <beam number="1">end</beam> <beam number="2">end</beam> <beam number="3">end</beam> </note> <note default-x="51"> <pitch> <step>D</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-54">down</stem> <staff>2</staff> <beam number="1">begin</beam> <notations> <slur number="1" type="stop"/> </notations> </note> <note default-x="79"> <pitch> <step>D</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-54">down</stem> <staff>2</staff> <beam number="1">continue</beam> </note> <note default-x="107"> <pitch> <step>D</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-54">down</stem> <staff>2</staff> <beam number="1">continue</beam> </note> <note default-x="136"> <pitch> <step>D</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-54">down</stem> <staff>2</staff> <beam number="1">end</beam> </note> </measure> <!--=======================================================--> <measure number="4" width="234"> <print new-system="no"/> <note default-x="36"> <grace/> <pitch> <step>D</step> <octave>6</octave> </pitch> <voice>1</voice> <type>32nd</type> <stem default-y="52">up</stem> <staff>1</staff> <notations> <slur bezier-x="-8" bezier-y="-12" default-x="4" default-y="17" number="1" placement="below" type="start"/> </notations> </note> <note default-x="56"> <pitch> <step>E</step> <octave>5</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem default-y="-40">down</stem> <staff>1</staff> <beam number="1">begin</beam> <notations> <slur bezier-x="-15" bezier-y="3" default-x="-4" default-y="-9" number="1" type="stop"/> </notations> </note> <note default-x="56"> <chord/> <pitch> <step>A</step> <octave>5</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <staff>1</staff> </note> <note default-x="56"> <chord/> <pitch> <step>C</step> <alter>1</alter> <octave>6</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <staff>1</staff> </note> <note default-x="85"> <grace/> <pitch> <step>D</step> <octave>6</octave> </pitch> <voice>1</voice> <type>32nd</type> <stem default-y="52">up</stem> <staff>1</staff> <notations> <slur bezier-x="-9" bezier-y="-14" default-x="4" default-y="17" number="1" placement="below" type="start"/> </notations> </note> <note default-x="105"> <pitch> <step>E</step> <octave>5</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem default-y="-40">down</stem> <staff>1</staff> <beam number="1">continue</beam> <notations> <slur bezier-x="-17" bezier-y="-2" default-x="-1" default-y="-5" number="1" type="stop"/> </notations> </note> <note default-x="105"> <chord/> <pitch> <step>A</step> <octave>5</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <staff>1</staff> </note> <note default-x="105"> <chord/> <pitch> <step>C</step> <alter>1</alter> <octave>6</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <staff>1</staff> </note> <note default-x="132"> <grace/> <pitch> <step>D</step> <octave>6</octave> </pitch> <voice>1</voice> <type>32nd</type> <stem default-y="52">up</stem> <staff>1</staff> <notations> <slur bezier-x="-9" bezier-y="-11" default-x="4" default-y="17" number="1" placement="below" type="start"/> </notations> </note> <note default-x="152"> <pitch> <step>E</step> <octave>5</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem default-y="-40">down</stem> <staff>1</staff> <beam number="1">continue</beam> <notations> <slur bezier-x="-14" bezier-y="2" default-x="-6" default-y="-7" number="1" type="stop"/> </notations> </note> <note default-x="152"> <chord/> <pitch> <step>A</step> <octave>5</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <staff>1</staff> </note> <note default-x="152"> <chord/> <pitch> <step>C</step> <alter>1</alter> <octave>6</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <staff>1</staff> </note> <note default-x="182"> <grace/> <pitch> <step>D</step> <octave>6</octave> </pitch> <voice>1</voice> <type>32nd</type> <stem default-y="52">up</stem> <staff>1</staff> <notations> <slur bezier-x="-10" bezier-y="-15" default-x="4" default-y="17" number="1" placement="below" type="start"/> </notations> </note> <note default-x="202"> <pitch> <step>E</step> <octave>5</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem default-y="-40">down</stem> <staff>1</staff> <beam number="1">end</beam> <notations> <slur bezier-x="-18" bezier-y="1" default-x="-3" default-y="-12" number="1" type="stop"/> </notations> </note> <note default-x="202"> <chord/> <pitch> <step>A</step> <octave>5</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <staff>1</staff> </note> <note default-x="202"> <chord/> <pitch> <step>C</step> <alter>1</alter> <octave>6</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <staff>1</staff> </note> <backup> <duration>16</duration> </backup> <note default-x="11"> <grace/> <pitch> <step>A</step> <octave>2</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="3">up</stem> <staff>2</staff> <beam number="1">begin</beam> <beam number="2">begin</beam> <beam number="3">begin</beam> <notations> <slur number="1" placement="above" type="start"/> </notations> </note> <note default-x="25"> <grace/> <pitch> <step>C</step> <alter>1</alter> <octave>3</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="8">up</stem> <staff>2</staff> <beam number="1">continue</beam> <beam number="2">continue</beam> <beam number="3">continue</beam> </note> <note default-x="37"> <grace/> <pitch> <step>E</step> <octave>3</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="12">up</stem> <staff>2</staff> <beam number="1">end</beam> <beam number="2">end</beam> <beam number="3">end</beam> </note> <note default-x="56"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-35">down</stem> <staff>2</staff> <beam number="1">begin</beam> <notations> <slur number="1" type="stop"/> </notations> </note> <note default-x="105"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-35">down</stem> <staff>2</staff> <beam number="1">continue</beam> </note> <note default-x="152"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-35">down</stem> <staff>2</staff> <beam number="1">continue</beam> </note> <note default-x="202"> <pitch> <step>A</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-35">down</stem> <staff>2</staff> <beam number="1">end</beam> </note> </measure> <!--=======================================================--> <measure number="5" width="177"> <print new-system="no"/> <note default-x="54"> <pitch> <step>B</step> <octave>5</octave> </pitch> <duration>12</duration> <voice>1</voice> <type>quarter</type> <dot/> <stem default-y="40.5">up</stem> <staff>1</staff> <notations> <slur number="1" placement="above" type="start"/> </notations> </note> <note default-x="142"> <pitch> <step>E</step> <octave>6</octave> </pitch> <duration>4</duration> <voice>1</voice> <type>eighth</type> <stem default-y="61">up</stem> <staff>1</staff> <notations> <slur number="1" type="stop"/> </notations> </note> <backup> <duration>16</duration> </backup> <note default-x="54"> <pitch> <step>E</step> <octave>5</octave> </pitch> <duration>16</duration> <voice>2</voice> <type>half</type> <stem default-y="-40.5">down</stem> <staff>1</staff> </note> <note default-x="54"> <chord/> <pitch> <step>G</step> <alter>1</alter> <octave>5</octave> </pitch> <duration>16</duration> <voice>2</voice> <type>half</type> <stem>down</stem> <staff>1</staff> </note> <backup> <duration>16</duration> </backup> <note default-x="9"> <grace/> <pitch> <step>E</step> <octave>2</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="-12.5">up</stem> <staff>2</staff> <beam number="1">begin</beam> <beam number="2">begin</beam> <beam number="3">begin</beam> <notations> <slur number="1" placement="above" type="start"/> </notations> </note> <note default-x="25"> <grace/> <pitch> <step>G</step> <alter>1</alter> <octave>2</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="-7.5">up</stem> <staff>2</staff> <beam number="1">continue</beam> <beam number="2">continue</beam> <beam number="3">continue</beam> </note> <note default-x="38"> <grace/> <pitch> <step>B</step> <octave>2</octave> </pitch> <voice>3</voice> <type>32nd</type> <stem default-y="-3.5">up</stem> <staff>2</staff> <beam number="1">end</beam> <beam number="2">end</beam> <beam number="3">end</beam> </note> <note default-x="54"> <pitch> <step>E</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-49">down</stem> <staff>2</staff> <beam number="1">begin</beam> <notations> <slur number="1" type="stop"/> </notations> </note> <note default-x="85"> <pitch> <step>E</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-49">down</stem> <staff>2</staff> <beam number="1">continue</beam> </note> <note default-x="113"> <pitch> <step>E</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-49">down</stem> <staff>2</staff> <beam number="1">continue</beam> </note> <note default-x="142"> <pitch> <step>E</step> <octave>3</octave> </pitch> <duration>4</duration> <voice>3</voice> <type>eighth</type> <stem default-y="-49">down</stem> <staff>2</staff> <beam number="1">end</beam> </note> </measure> </part> <!--=========================================================--> </score-partwise>