Godley/MuseParse

View on GitHub
MuseParse/SampleMusicXML/testcases/ignored-lilypond-testcases/74a-FiguredBass.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 version="1.1">
  <identification>
    <miscellaneous>
      <miscellaneous-field name="description">Some figured bass containing 
          alterated figures, bracketed figures and slashed figures. The last 
          note contains an empty &lt;figured-bass&gt; element, which is 
          invalid MusicXML, to check how well applications cope with malformed 
          files.

          Note that this file does not contain any extenders!</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>8</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>
      <figured-bass>
        <figure><figure-number>3</figure-number></figure>
        <duration>4</duration>
      </figured-bass>
      <note>
        <pitch><step>G</step><octave>4</octave></pitch>
        <duration>4</duration>
        <voice>1</voice>
        <type>eighth</type>
      </note>
      <note>
        <pitch><step>G</step><octave>4</octave></pitch>
        <duration>4</duration>
        <voice>1</voice>
        <type>eighth</type>
      </note>
      <figured-bass>
        <figure><prefix>sharp</prefix><figure-number>1</figure-number></figure>
        <figure><prefix>flat</prefix><figure-number>3</figure-number></figure>
        <figure><prefix>natural</prefix><figure-number>5</figure-number></figure>
        <duration>6</duration>
      </figured-bass>
      <note>
        <pitch><step>G</step><octave>4</octave></pitch>
        <duration>6</duration>
        <voice>1</voice>
        <type>eighth</type>
        <dot/>
      </note>
      <figured-bass parentheses="yes">
        <figure><figure-number>6</figure-number></figure>
      </figured-bass>
      <note>
        <pitch><step>G</step><octave>4</octave></pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>16th</type>
      </note>
      <figured-bass>
        <figure><figure-number>5</figure-number><suffix>slash</suffix></figure>
        <figure><prefix>flat</prefix><figure-number>127</figure-number><suffix>slash</suffix></figure>
        <duration>8</duration>
      </figured-bass>
      <note>
        <pitch><step>G</step><octave>4</octave></pitch>
        <duration>8</duration>
        <voice>1</voice>
        <type>eighth</type>
        <dot/>
      </note>
      <!-- Check how well the application handles an empty element (invalid MusicXML!) -->
      <figured-bass>
      </figured-bass>
      <note>
        <pitch><step>G</step><octave>4</octave></pitch>
        <duration>8</duration>
        <voice>1</voice>
        <type>quarter</type>
      </note>
      <barline location="right">
        <bar-style>light-heavy</bar-style>
      </barline>
    </measure>
  </part>
  <!--=========================================================-->
</score-partwise>