Godley/MuseParse

View on GitHub
MuseParse/SampleMusicXML/testcases/lilypond-passing-tests/21c-Chords-ThreeNotesDuration.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">Some three-note 
                            chords, with various durations.</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>960</divisions>
                <time>
                <beats>4</beats>
                <beat-type>4</beat-type>
                </time>
                <clef>
                <sign>G</sign>
                <line>2</line>
                </clef>
            </attributes>
            <note>
                <pitch>
                    <step>F</step>
                    <octave>4</octave>
                </pitch>
                <duration>1440</duration>
                <voice>1</voice>
                <type>quarter</type>
                <dot/>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>A</step>
                    <octave>4</octave>
                </pitch>
                <duration>1440</duration>
                <voice>1</voice>
                <type>quarter</type>
                <dot/>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>C</step>
                    <octave>5</octave>
                </pitch>
                <duration>1440</duration>
                <voice>1</voice>
                <type>quarter</type>
                <dot/>
            </note>
            <note>
                <pitch>
                    <step>A</step>
                    <octave>4</octave>
                </pitch>
                <duration>480</duration>
                <voice>1</voice>
                <type>eighth</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>G</step>
                    <octave>5</octave>
                </pitch>
                <duration>480</duration>
                <voice>1</voice>
                <type>eighth</type>
            </note>
            <note>
                <pitch>
                    <step>A</step>
                    <octave>4</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>F</step>
                    <octave>4</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>C</step>
                    <octave>5</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <pitch>
                    <step>A</step>
                    <octave>4</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>F</step>
                    <octave>4</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>C</step>
                    <octave>5</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
        </measure>

        <measure number="2">
            <note>
                <pitch>
                    <step>A</step>
                    <octave>4</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>F</step>
                    <octave>4</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>E</step>
                    <octave>5</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <pitch>
                    <step>A</step>
                    <octave>4</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>F</step>
                    <octave>4</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>F</step>
                    <octave>5</octave>
                </pitch>
                <duration>960</duration>
                <voice>1</voice>
                <type>quarter</type>
            </note>
            <note>
                <pitch>
                    <step>A</step>
                    <octave>4</octave>
                </pitch>
                <duration>1920</duration>
                <voice>1</voice>
                <type>half</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>F</step>
                    <octave>4</octave>
                </pitch>
                <duration>1920</duration>
                <voice>1</voice>
                <type>half</type>
            </note>
            <note>
                <chord/>
                <pitch>
                    <step>D</step>
                    <octave>5</octave>
                </pitch>
                <duration>1920</duration>
                <voice>1</voice>
                <type>half</type>
            </note>
        </measure>
    </part>
</score-partwise>