Godley/MuseParse

View on GitHub
MuseParse/SampleMusicXML/testcases/lilypond-passing-tests/21f-Chord-ElementInBetween.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise>
    <identification>
      <miscellaneous>
        <miscellaneous-field name="description">Between the individual notes of 
            a chord there can be direction or harmony elements, which should be 
            properly assigned to the chord (or the position of the 
            chord).</miscellaneous-field>
      </miscellaneous>
    </identification>
    <part-list>
        <score-part id="P0">
            <part-name>MusicXML Part</part-name>
        </score-part>
    </part-list>
    <part id="P0">
        <measure number="1">
            <attributes>
                <divisions>1</divisions>
                <time>
                    <beats>4</beats>
                    <beat-type>4</beat-type>
                </time>
                <clef>
                    <sign>G</sign>
                    <line>2</line>
                </clef>
            </attributes>
            <note>
                <pitch>
                    <step>A</step>
                    <octave>4</octave>
                </pitch>
                <duration>1</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <direction>
              <direction-type>
                <segno/>
              </direction-type>
            </direction>
            <note>
                <chord/>
                <pitch>
                    <step>F</step>
                    <alter>1</alter>
                    <octave>4</octave>
                </pitch>
                <duration>1</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <direction>
                <direction-type>
                    <dynamics><p/></dynamics>
                </direction-type>
            </direction>
            <note>
                <chord/>
                <pitch>
                    <step>D</step>
                    <octave>4</octave>
                </pitch>
                <duration>1</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <rest/>
                <duration>1</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <rest/>
                <duration>2</duration>
                <voice>1</voice>
                <type>half</type>
            </note>
        </measure>
    </part>
</score-partwise>