UNPKG

doremi-script

Version:

Letter music notation processor

427 lines (424 loc) 13.3 kB
{ my_type: 'measure', id: 3, source: 'S--r --G-', items: [ { my_type: 'beat', source: 'S--r', items: [Object], subdivisions: 4, column: 0 }, { my_type: 'whitespace', source: ' ', column: 4 }, { my_type: 'beat', source: '--G-', items: [Object], subdivisions: 4, column: 5 } ], column: 0, beat_count: 2, is_partial: true } { my_type: 'beat', source: 'S--r', items: [ { my_type: 'pitch', normalized_pitch: 'C', attributes: [], pitch_source: 'S', source: 'S', column_offset: 0, octave: 0, numerator: 3, denominator: 4, fraction_array: [Object], column: 0 }, { my_type: 'dash', source: '-', column: 1 }, { my_type: 'dash', source: '-', column: 2 }, { my_type: 'pitch', normalized_pitch: 'Db', attributes: [], pitch_source: 'r', source: 'r', column_offset: 0, octave: 0, numerator: 1, denominator: 4, tied: true, fraction_array: [Object], fraction_total: [Object], column: 3 } ], subdivisions: 4, column: 0 } { my_type: 'pitch', normalized_pitch: 'C', attributes: [], pitch_source: 'S', source: 'S', column_offset: 0, octave: 0, numerator: 3, denominator: 4, fraction_array: [ { numerator: 3, denominator: 4 } ], column: 0 } { my_type: 'dash', source: '-', column: 1 } { my_type: 'dash', source: '-', column: 2 } { my_type: 'pitch', normalized_pitch: 'Db', attributes: [], pitch_source: 'r', source: 'r', column_offset: 0, octave: 0, numerator: 1, denominator: 4, tied: true, fraction_array: [ { numerator: 1, denominator: 4 }, { numerator: 1, denominator: 2 } ], fraction_total: { numerator: 3, denominator: 4 }, column: 3 } { my_type: 'whitespace', source: ' ', column: 4 } { my_type: 'beat', source: '--G-', items: [ { my_type: 'dash', source: '-', numerator: 2, denominator: 4, dash_to_tie: true, pitch_to_use_for_tie: [Object], column: 5 }, { my_type: 'dash', source: '-', column: 6 }, { my_type: 'pitch', normalized_pitch: 'E', attributes: [], pitch_source: 'G', source: 'G', column_offset: 0, octave: 0, numerator: 2, denominator: 4, fraction_array: [Object], column: 7 }, { my_type: 'dash', source: '-', column: 8 } ], subdivisions: 4, column: 5 } { my_type: 'dash', source: '-', numerator: 2, denominator: 4, dash_to_tie: true, pitch_to_use_for_tie: { my_type: 'pitch', normalized_pitch: 'Db', attributes: [], pitch_source: 'r', source: 'r', column_offset: 0, octave: 0, numerator: 1, denominator: 4, tied: true, fraction_array: [ [Object], [Object] ], fraction_total: { numerator: 3, denominator: 4 }, column: 3 }, column: 5 } { my_type: 'dash', source: '-', column: 6 } { my_type: 'pitch', normalized_pitch: 'E', attributes: [], pitch_source: 'G', source: 'G', column_offset: 0, octave: 0, numerator: 2, denominator: 4, fraction_array: [ { numerator: 1, denominator: 2 } ], column: 7 } { my_type: 'dash', source: '-', column: 8 } <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd"> <score-partwise version="2.0"> <work> <work-number></work-number> <work-title></work-title> </work> <movement-number></movement-number> <movement-title>{{movement_title}}</movement-title> <identification> <creator type="composer">{{composer}}</creator> <creator type="poet">{{poet}}</creator> <rights></rights> <encoding> <software>DoremiScript</software> <encoding-date>#{encoding_date}</encoding-date> <software>DoremiScript</software> </encoding> <source></source> </identification> <defaults> <scaling> <millimeters>7.056</millimeters> <tenths>40</tenths> </scaling> <page-layout> <page-height>1683.67</page-height> <page-width>1190.48</page-width> <page-margins type="both"> <left-margin>56.6893</left-margin> <right-margin>56.6893</right-margin> <top-margin>56.6893</top-margin> <bottom-margin>113.379</bottom-margin> </page-margins> </page-layout> </defaults> <credit page="1"> <credit-words font-size="24" default-y="1626.98" default-x="595.238" justify="center" valign="top">YESTERDAY</credit-words> </credit> <part-list> <score-part id="P1"> <part-name></part-name> <score-instrument id="P1-I3"> <instrument-name></instrument-name> </score-instrument> <midi-instrument id="P1-I3"> <midi-channel>1</midi-channel> <midi-program>1</midi-program> </midi-instrument> </score-part> </part-list> <part id="P1"> <measure number="1"> <print> <system-layout> <system-margins> <left-margin>-0.00</left-margin> <right-margin>0.00</right-margin> </system-margins> <top-system-distance>252.10</top-system-distance> </system-layout> </print> <attributes> <divisions>4</divisions> <key> <fifths>-1</fifths> <mode>major</mode> </key> <time symbol="common"> <beats>4</beats> <beat-type>4</beat-type> </time> <clef> <sign>G</sign> <line>2</line> </clef> </attributes> <harmony print-frame="no"> <root> <root-step>F</root-step> </root> <kind text="">major</kind> </harmony> <direction placement="below"> <direction-type> <words>Moderato</words> </direction-type> </direction> <note default-y="-30.00" default-x="108.08"> <pitch> <step>G</step> <octave>4</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>eighth</type> <stem>up</stem> <beam number="1">begin</beam> <lyric number="1"> <syllabic>begin</syllabic> <text>Yes</text> </lyric> <lyric number="2"> <syllabic>begin</syllabic> <text>Sud</text> </lyric> </note> <note> <attributes> </attributes> <pitch> <step>F</step> <octave>4</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>eighth</type> <stem>up</stem> <beam number="1">end</beam> <lyric number="1"> <syllabic>middle</syllabic> <text>ter</text> </lyric> <lyric number="2"> <syllabic>middle</syllabic> <text>den</text> </lyric> </note> <note> <pitch> <step>F</step> <octave>4</octave> </pitch> <duration>12</duration> <voice>1</voice> <type>half</type> <dot/> <stem>up</stem> <lyric number="1"> <syllabic>end</syllabic> <text>day,</text> </lyric> <lyric number="2"> <syllabic>end</syllabic> <text>ly,</text> </lyric> </note> </measure> <measure number="2"> <harmony print-frame="no"> <root> <root-step>E</root-step> </root> <kind text="m7">minor-seventh</kind> </harmony> <note> <rest/> <duration>4</duration> <voice>1</voice> <type>quarter</type> </note> <note default-y="-25.00" default-x="61.26"> <pitch> <step>A</step> <octave>4</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>eighth</type> <stem>up</stem> <beam number="1">begin</beam> <lyric number="1"> <syllabic>single</syllabic> <text>all</text> </lyric> <lyric number="2"> <syllabic>single</syllabic> <text>I'm</text> </lyric> </note> <note default-y="-20.00" default-x="96.14"> <pitch> <step>B</step> <octave>4</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>eighth</type> <accidental>natural</accidental> <stem>up</stem> <beam number="1">end</beam> <lyric number="1"> <syllabic>single</syllabic> <text>my</text> </lyric> <lyric number="2"> <syllabic>single</syllabic> <text>not</text> </lyric> </note> <harmony print-frame="no"> <root> <root-step>A</root-step> </root> <kind text="7">dominant</kind> </harmony> <note default-y="-15.00" default-x="134.63"> <pitch> <step>C</step> <alter>1</alter> <octave>5</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>eighth</type> <accidental>sharp</accidental> <stem>down</stem> <beam number="1">begin</beam> <lyric number="1"> <syllabic>begin</syllabic> <text>trou</text> </lyric> <lyric number="2"> <syllabic>single</syllabic> <text>half</text> </lyric> </note> <note default-y="-10.00" default-x="176.88"> <pitch> <step>D</step> <octave>5</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <beam number="1">continue</beam> <lyric number="1"> <syllabic>end</syllabic> <text>bles</text> </lyric> <lyric number="2"> <syllabic>single</syllabic> <text>the</text> </lyric> </note> <note default-y="-5.00" default-x="234.77"> <pitch> <step>E</step> <octave>5</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <beam number="1">continue</beam> <lyric number="1"> <syllabic>single</syllabic> <text>seemed</text> </lyric> <lyric number="2"> <syllabic>single</syllabic> <text>man</text> </lyric> </note> <note default-y="0.00" default-x="284.52"> <pitch> <step>F</step> <octave>5</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>eighth</type> <stem>down</stem> <beam number="1">end</beam> <lyric number="1"> <syllabic>single</syllabic> <text>so</text> </lyric> <lyric number="2"> <syllabic>single</syllabic> <text>I</text> </lyric> </note> </measure> {{body}} </part> </score-partwise>