MusicXML 3.0 (12) 声部


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="3.0">
  <part-list>
    <score-part id="P1">
      <part-name>Piano</part-name>
    </score-part>
  </part-list>
  <part id="P1">
    <measure number="1">
      <attributes>
        <divisions>256</divisions>
        <key>
          <fifths>0</fifths>
        </key>
        <time>
          <beats>3</beats>
          <beat-type>4</beat-type>
        </time>
        <clef>
          <sign>G</sign>
          <line>2</line>
        </clef>
      </attributes>
      <note>
        <rest/>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
      </note>
      <note>
        <pitch>
          <step>E</step>
          <octave>4</octave>
        </pitch>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
        <beam>start</beam>
      </note>
      <note>
        <pitch>
          <step>G</step>
          <octave>4</octave>
        </pitch>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
        <beam>continue</beam>
      </note>
      <note>
        <pitch>
          <step>C</step>
          <octave>5</octave>
        </pitch>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
        <beam>continue</beam>
      </note>
      <note>
        <pitch>
          <step>G</step>
          <octave>4</octave>
        </pitch>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
        <beam>continue</beam>
      </note>
      <note>
        <pitch>
          <step>E</step>
          <octave>4</octave>
        </pitch>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
        <beam>end</beam>
      </note>
      <backup>
        <duration>768</duration>
      </backup>
      <note>
        <pitch>
          <step>C</step>
          <octave>4</octave>
        </pitch>
        <duration>768</duration>
        <voice>2</voice>
        <type>half</type>
        <dot/>
      </note>
    </measure>
    <measure number="2">
      <note>
        <rest/>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
      </note>
      <note>
        <pitch>
          <step>E</step>
          <octave>4</octave>
        </pitch>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
        <beam>start</beam>
      </note>
      <note>
        <pitch>
          <step>G</step>
          <octave>4</octave>
        </pitch>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
        <beam>continue</beam>
      </note>
      <note>
        <pitch>
          <step>C</step>
          <octave>5</octave>
        </pitch>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
        <beam>continue</beam>
      </note>
      <note>
        <pitch>
          <step>G</step>
          <octave>4</octave>
        </pitch>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
        <beam>continue</beam>
      </note>
      <note>
        <pitch>
          <step>E</step>
          <octave>4</octave>
        </pitch>
        <duration>128</duration>
        <voice>1</voice>
        <type>eighth</type>
        <beam>end</beam>
      </note>
      <backup>
        <duration>768</duration>
      </backup>
      <note>
        <pitch>
          <step>C</step>
          <octave>4</octave>
        </pitch>
        <duration>768</duration>
        <voice>2</voice>
        <type>half</type>
        <dot/>
      </note>
    </measure>
  </part>
</score-partwise>


效果图:

原文地址:https://www.cnblogs.com/del/p/2223232.html