Godley/MuseParse

View on GitHub
MuseParse/SampleMusicXML/testcases/lilypond-passing-tests/02b-Rests-PitchedRests.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 0.6b Partwise//EN"
 "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise>
    <identification>
        <miscellaneous>
            <miscellaneous-field name="description">Rests can have 
                            explicit pitches, where they are displayed. The 
                            first rest uses no explicit position and should use 
                            the default position, all others are explicitly 
                            positioned somewhere else.</miscellaneous-field>
        </miscellaneous>
    </identification>
    <part-list>
        <score-part id="P1"><part-name>MusicXML Part</part-name></score-part>
    </part-list>
    <part id="P1">
        <measure number="1">
            <attributes>
                <divisions>96</divisions>
                <key><fifths>0</fifths></key>
                <time><beats>5</beats><beat-type>4</beat-type></time>
                <staves>1</staves>
                <clef number="1"><sign>G</sign><line>2</line></clef>
            </attributes>
            <note>
                <rest/>
                <duration>96</duration>
                <voice>1</voice>
                <type>quarter</type>
                <staff>1</staff>
            </note>
            <note>
                <rest><display-step>E</display-step><display-octave>4</display-octave></rest>
                <duration>96</duration>
                <voice>1</voice>
                <type>quarter</type>
                <staff>1</staff>
            </note>
            <note>
                <rest><display-step>F</display-step><display-octave>5</display-octave></rest>
                <duration>96</duration>
                <voice>1</voice>
                <type>quarter</type>
                <staff>1</staff>
            </note>
            <note>
                <rest><display-step>A</display-step><display-octave>3</display-octave></rest>
                <duration>96</duration>
                <voice>1</voice>
                <type>quarter</type>
                <staff>1</staff>
            </note>
            <note>
                <rest><display-step>C</display-step><display-octave>6</display-octave></rest>
                <duration>96</duration>
                <voice>1</voice>
                <type>quarter</type>
                <staff>1</staff>
            </note>
        </measure>
    </part>
</score-partwise>