Skip to content

Instantly share code, notes, and snippets.

@dspreadbury
Created December 14, 2015 09:49
Show Gist options
  • Save dspreadbury/8e009a2185332dd45b51 to your computer and use it in GitHub Desktop.
Save dspreadbury/8e009a2185332dd45b51 to your computer and use it in GitHub Desktop.
Adapted from bars 42–46 of Prelude no. 2 by Julian Scriabin; MusicXML 3.0 format
<?xml version="1.0"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="3.0">
<work>
<work-title>Piano dynamics test</work-title>
</work>
<part-list>
<part-group type="start" number="1">
<group-symbol>brace</group-symbol>
</part-group>
<score-part id="P1">
<part-name>Piano</part-name>
<part-name-display>
<display-text>Piano</display-text>
</part-name-display>
<part-abbreviation>Pno.</part-abbreviation>
<part-abbreviation-display>
<display-text>Pno.</display-text>
</part-abbreviation-display>
<score-instrument id="P1-I1">
<instrument-name>Piano (2)</instrument-name>
<instrument-sound>keyboard.piano.grand</instrument-sound>
<solo/>
</score-instrument>
</score-part>
<part-group type="stop" number="1"/>
</part-list>
<part id="P1">
<!--============== Part: P1, Measure: 1 ==============-->
<measure number="1">
<attributes>
<divisions>256</divisions>
<key>
<fifths>0</fifths>
<mode>major</mode>
</key>
<time>
<beats>4</beats>
<beat-type>4</beat-type>
</time>
<staves>2</staves>
<clef number="1">
<sign>G</sign>
<line>2</line>
</clef>
<clef number="2">
<sign>F</sign>
<line>4</line>
</clef>
<staff-details number="1" print-object="yes"/>
<staff-details number="2" print-object="yes"/>
</attributes>
<direction>
<direction-type>
<dynamics font-family="Opus Text Std" font-style="normal" font-size="10.2313" font-weight="normal">
<f/>
</dynamics>
</direction-type>
</direction>
<note>
<rest/>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>half</type>
<staff>1</staff>
</note>
<note>
<pitch>
<step>A</step>
<alter>-1</alter>
<octave>4</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>half</type>
<accidental>flat</accidental>
<stem>down</stem>
<staff>1</staff>
</note>
<note>
<chord/>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>1</staff>
</note>
<note>
<chord/>
<pitch>
<step>F</step>
<octave>5</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>1</staff>
</note>
<backup>
<duration>1024</duration>
</backup>
<note>
<pitch>
<step>D</step>
<alter>-1</alter>
<octave>3</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>half</type>
<accidental>flat</accidental>
<stem>down</stem>
<staff>2</staff>
<notations>
<articulations>
<accent/>
</articulations>
</notations>
</note>
<note>
<pitch>
<step>F</step>
<octave>3</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>half</type>
<stem>down</stem>
<staff>2</staff>
</note>
<note>
<chord/>
<pitch>
<step>A</step>
<alter>-1</alter>
<octave>3</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<accidental>flat</accidental>
<staff>2</staff>
</note>
<note>
<chord/>
<pitch>
<step>C</step>
<octave>4</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>2</staff>
</note>
<note>
<chord/>
<pitch>
<step>F</step>
<octave>4</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>2</staff>
</note>
</measure>
<!--============== Part: P1, Measure: 2 ==============-->
<measure number="2">
<attributes/>
<direction>
<direction-type>
<dynamics font-family="Opus Text Std" font-style="normal" font-size="10.2313" font-weight="normal">
<mf/>
</dynamics>
</direction-type>
</direction>
<direction>
<direction-type>
<wedge type="crescendo"/>
</direction-type>
</direction>
<note print-object="no">
<rest/>
<duration>256</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>quarter</type>
<staff>1</staff>
</note>
<note>
<pitch>
<step>C</step>
<alter>1</alter>
<octave>3</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<accidental>sharp</accidental>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">begin</beam>
<notations>
<tuplet type="start" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note>
<pitch>
<step>D</step>
<octave>3</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">continue</beam>
</note>
<note>
<pitch>
<step>F</step>
<octave>3</octave>
</pitch>
<duration>86</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">end</beam>
<notations>
<tuplet type="stop" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note>
<pitch>
<step>G</step>
<alter>-1</alter>
<octave>3</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<accidental>flat</accidental>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">begin</beam>
<notations>
<tuplet type="start" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note>
<pitch>
<step>F</step>
<octave>3</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">continue</beam>
</note>
<note>
<pitch>
<step>D</step>
<octave>3</octave>
</pitch>
<duration>86</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">end</beam>
<notations>
<tuplet type="stop" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note print-object="no">
<rest/>
<duration>256</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>quarter</type>
<staff>1</staff>
</note>
<backup>
<duration>1024</duration>
</backup>
<note>
<pitch>
<step>C</step>
<alter>1</alter>
<octave>2</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<accidental>sharp</accidental>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">begin</beam>
<notations>
<tuplet type="start" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note>
<pitch>
<step>D</step>
<octave>2</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">continue</beam>
</note>
<note>
<pitch>
<step>E</step>
<octave>2</octave>
</pitch>
<duration>86</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">end</beam>
<notations>
<tuplet type="stop" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note print-object="no">
<rest/>
<duration>256</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>quarter</type>
<staff>2</staff>
</note>
<note print-object="no">
<rest/>
<duration>256</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>quarter</type>
<staff>2</staff>
</note>
<note>
<pitch>
<step>D</step>
<alter>-1</alter>
<octave>3</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<accidental>flat</accidental>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">begin</beam>
<notations>
<tuplet type="start" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note>
<pitch>
<step>C</step>
<octave>3</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">continue</beam>
</note>
<note>
<pitch>
<step>A</step>
<octave>2</octave>
</pitch>
<duration>86</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">end</beam>
<notations>
<tuplet type="stop" bracket="no" number="1" placement="above"/>
</notations>
</note>
</measure>
<!--============== Part: P1, Measure: 3 ==============-->
<measure number="3">
<attributes/>
<direction>
<direction-type>
<dynamics font-family="Opus Text Std" font-style="normal" font-size="10.2313" font-weight="normal">
<ff/>
</dynamics>
</direction-type>
</direction>
<direction>
<direction-type>
<wedge type="stop"/>
</direction-type>
</direction>
<note>
<rest/>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>half</type>
<staff>1</staff>
</note>
<note>
<pitch>
<step>A</step>
<alter>-1</alter>
<octave>4</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>half</type>
<accidental>flat</accidental>
<stem>down</stem>
<staff>1</staff>
</note>
<note>
<chord/>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>1</staff>
</note>
<note>
<chord/>
<pitch>
<step>F</step>
<octave>5</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>1</staff>
</note>
<note>
<chord/>
<pitch>
<step>A</step>
<alter>-1</alter>
<octave>5</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<accidental>flat</accidental>
<staff>1</staff>
</note>
<backup>
<duration>1024</duration>
</backup>
<note>
<pitch>
<step>A</step>
<alter>-1</alter>
<octave>2</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>half</type>
<accidental>flat</accidental>
<stem>up</stem>
<staff>2</staff>
<notations>
<articulations>
<accent/>
</articulations>
</notations>
</note>
<note>
<pitch>
<step>F</step>
<octave>3</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>half</type>
<stem>down</stem>
<staff>2</staff>
</note>
<note>
<chord/>
<pitch>
<step>A</step>
<alter>-1</alter>
<octave>3</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<accidental>flat</accidental>
<staff>2</staff>
</note>
<note>
<chord/>
<pitch>
<step>C</step>
<octave>4</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>2</staff>
</note>
<note>
<chord/>
<pitch>
<step>F</step>
<octave>4</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>2</staff>
</note>
</measure>
<!--============== Part: P1, Measure: 4 ==============-->
<measure number="4">
<attributes/>
<direction>
<direction-type>
<dynamics font-family="Opus Text Std" font-style="normal" font-size="10.2313" font-weight="normal">
<mf/>
</dynamics>
</direction-type>
</direction>
<direction>
<direction-type>
<wedge type="crescendo"/>
</direction-type>
</direction>
<note print-object="no">
<rest/>
<duration>256</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>quarter</type>
<staff>1</staff>
</note>
<note>
<pitch>
<step>G</step>
<alter>1</alter>
<octave>3</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<accidental>sharp</accidental>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">begin</beam>
<notations>
<tuplet type="start" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note>
<pitch>
<step>A</step>
<octave>3</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">continue</beam>
</note>
<note>
<pitch>
<step>C</step>
<octave>4</octave>
</pitch>
<duration>86</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">end</beam>
<notations>
<tuplet type="stop" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note>
<pitch>
<step>D</step>
<alter>-1</alter>
<octave>4</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<accidental>flat</accidental>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">begin</beam>
<notations>
<tuplet type="start" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note>
<pitch>
<step>C</step>
<octave>4</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">continue</beam>
</note>
<note>
<pitch>
<step>A</step>
<octave>3</octave>
</pitch>
<duration>86</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">end</beam>
<notations>
<tuplet type="stop" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note print-object="no">
<rest/>
<duration>256</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>quarter</type>
<staff>1</staff>
</note>
<backup>
<duration>1024</duration>
</backup>
<note>
<pitch>
<step>G</step>
<alter>1</alter>
<octave>2</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<accidental>sharp</accidental>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">begin</beam>
<notations>
<tuplet type="start" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note>
<pitch>
<step>A</step>
<octave>2</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">continue</beam>
</note>
<note>
<pitch>
<step>B</step>
<octave>2</octave>
</pitch>
<duration>86</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>up</stem>
<staff>2</staff>
<beam number="1">end</beam>
<notations>
<tuplet type="stop" bracket="no" number="1" placement="above"/>
</notations>
</note>
<note print-object="no">
<rest/>
<duration>256</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>quarter</type>
<staff>2</staff>
</note>
<note print-object="no">
<rest/>
<duration>256</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>quarter</type>
<staff>2</staff>
</note>
<note>
<pitch>
<step>A</step>
<alter>-1</alter>
<octave>3</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<accidental>flat</accidental>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>down</stem>
<staff>2</staff>
<beam number="1">begin</beam>
<notations>
<tuplet type="start" bracket="no" number="1" placement="below"/>
</notations>
</note>
<note>
<pitch>
<step>G</step>
<octave>3</octave>
</pitch>
<duration>85</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<accidental>natural</accidental>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>down</stem>
<staff>2</staff>
<beam number="1">continue</beam>
</note>
<note>
<pitch>
<step>E</step>
<octave>3</octave>
</pitch>
<duration>86</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>eighth</type>
<time-modification>
<actual-notes>3</actual-notes>
<normal-notes>2</normal-notes>
<normal-type>eighth</normal-type>
</time-modification>
<stem>down</stem>
<staff>2</staff>
<beam number="1">end</beam>
<notations>
<tuplet type="stop" bracket="no" number="1" placement="below"/>
</notations>
</note>
</measure>
<!--============== Part: P1, Measure: 5 ==============-->
<measure number="5">
<attributes/>
<direction>
<direction-type>
<dynamics font-family="Opus Text Std" font-style="normal" font-size="10.2313" font-weight="normal">
<fff/>
</dynamics>
</direction-type>
</direction>
<direction>
<direction-type>
<wedge type="stop"/>
</direction-type>
</direction>
<note>
<rest/>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>half</type>
<staff>1</staff>
</note>
<note>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>1</voice>
<type>half</type>
<stem>up</stem>
<staff>1</staff>
</note>
<note>
<chord/>
<pitch>
<step>E</step>
<octave>5</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>1</staff>
</note>
<note>
<chord/>
<pitch>
<step>G</step>
<octave>5</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>1</staff>
</note>
<note>
<chord/>
<pitch>
<step>C</step>
<octave>6</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>1</staff>
</note>
<backup>
<duration>1024</duration>
</backup>
<note>
<pitch>
<step>C</step>
<octave>3</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>half</type>
<stem>up</stem>
<staff>2</staff>
</note>
<note>
<pitch>
<step>C</step>
<octave>4</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<voice>2</voice>
<type>half</type>
<stem>down</stem>
<staff>1</staff>
</note>
<note>
<chord/>
<pitch>
<step>E</step>
<octave>4</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>1</staff>
</note>
<note>
<chord/>
<pitch>
<step>G</step>
<octave>4</octave>
</pitch>
<duration>512</duration>
<instrument id="P1-I1"/>
<type>half</type>
<staff>1</staff>
</note>
</measure>
</part>
</score-partwise>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment