Godley/MuseParse

View on GitHub
MuseParse/SampleMusicXML/testcases/ignored-lilypond-testcases/71f-AllChordTypes.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"
                                "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise>
  <movement-title>All MusicXML chord names/types with &lt;root&gt;</movement-title>
  <identification>
    <miscellaneous>
      <miscellaneous-field name="description">All chord types defined in 
          MusicXML. The staff will only contain one c' note (NO chord) for 
          all of them, but the chord names should be properly 
          printed.</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>2</divisions>
        <key>
          <fifths>0</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>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>major</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>major</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>minor</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>minor</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>augmented</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>augmented</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>diminished</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>diminished</text></lyric>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="2">
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>dominant</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>dominant</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>major-seventh</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>major-seventh</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>minor-seventh</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>minor-seventh</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>diminished-seventh</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>diminished-seventh</text></lyric>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="3">
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>augmented-seventh</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>augmented-seventh</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>half-diminished</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>half-diminished</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>major-minor</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>major-minor</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>major-sixth</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>major-sixth</text></lyric>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="4">
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>minor-sixth</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>minor-sixth</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>dominant-ninth</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>dominant-ninth</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>major-ninth</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>major-ninth</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>minor-ninth</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>minor-ninth</text></lyric>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="5">
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>dominant-11th</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>dominant-11th</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>major-11th</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>major-11th</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>minor-11th</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>minor-11th</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>dominant-13th</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>dominant-13th</text></lyric>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="6">
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>major-13th</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>major-13th</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>minor-13th</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>minor-13th</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>suspended-second</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>suspended-second</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>suspended-fourth</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>suspended-fourth</text></lyric>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="7">
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>Neapolitan</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>Neapolitan</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>Italian</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>Italians</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>French</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>French</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>German</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
         <lyric number="1"><text>German</text></lyric>
     </note>
    </measure>
    <!--=======================================================-->
    <measure number="8">
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>pedal</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>pedal</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>power</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>power</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>Tristan</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>Tristan</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>other</kind>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>other</text></lyric>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="9">
      <harmony>
        <root>
          <root-step>F</root-step>
          <root-alter>1</root-alter>
        </root>
        <kind>major</kind>
        <inversion>2</inversion>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>4</duration>
        <voice>1</voice>
        <type>half</type>
        <lyric number="1"><text>Inversion</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>F</root-step>
          <root-alter>-2</root-alter>
        </root>
        <kind>major</kind>
        <bass>
          <bass-step>C</bass-step>
        </bass>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>1</duration>
        <voice>1</voice>
        <type>eighth</type>
        <lyric number="1"><text>Fbb/C</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>G</root-step>
          <root-alter>1</root-alter>
        </root>
        <kind>major</kind>
        <bass>
          <bass-step>D</bass-step>
          <bass-alter>1</bass-alter>
        </bass>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>1</duration>
        <voice>1</voice>
        <type>eighth</type>
        <lyric number="1"><text>G#/D#</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>major</kind>
      </harmony>
      <note>
        <rest/>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>C</text></lyric>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="10">
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>major</kind>
        <degree>
          <degree-value>3</degree-value>
          <degree-alter>0</degree-alter>
          <degree-type>subtract</degree-type>
        </degree>
        <degree>
          <degree-value>5</degree-value>
          <degree-alter>-1</degree-alter>
          <degree-type>alter</degree-type>
        </degree>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>C-3+5b</text></lyric>
      </note>
      <harmony>
        <root>
          <root-step>C</root-step>
        </root>
        <kind>major</kind>
        <degree>
          <degree-value>1</degree-value>
          <degree-alter>0</degree-alter>
          <degree-type>subtract</degree-type>
        </degree>
        <degree>
          <degree-value>6</degree-value>
          <degree-alter>-1</degree-alter>
          <degree-type>add</degree-type>
        </degree>
      </harmony>
      <note>
        <pitch><step>C</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <lyric number="1"><text>C-1+6b</text></lyric>
      </note>
      <barline location="right">
        <bar-style>light-heavy</bar-style>
      </barline>
    </measure>
  </part>
  <!--=========================================================-->
</score-partwise>