MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Examples > <harmonic>

<harmonic>

harmonic-element

Source: Paganini, N. Caprice in E Major. Op. 1, No. 9

<?xml version="1.0" encoding="UTF-8"?>
<score-partwise
  version="4.1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="http://www.musicxml.org/xsd/musicxml.xsd">
  <part-list>
    <score-part id="P1">
      <part-name></part-name>
    </score-part>
  </part-list>
  <part id="P1">
    <measure number="1">
      <attributes>
        <divisions>1</divisions>
        <clef>
          <sign>G</sign>
          <line>2</line>
        </clef>
      </attributes>
      <note>
        <pitch>
          <step>B</step>
          <octave>3</octave>
        </pitch>
        <duration>1</duration>
        <type>quarter</type>
        <notations>
          <technical>
            <harmonic number="1">
              <artificial/>
              <base-pitch/>
            </harmonic>
          </technical>
        </notations>
      </note>
      <note>
        <chord/>
        <pitch>
          <step>E</step>
          <octave>4</octave>
        </pitch>
        <duration>1</duration>
        <type>quarter</type>
        <notations>
          <technical>
            <harmonic number="1">
              <artificial/>
              <touching-pitch/>
            </harmonic>
          </technical>
        </notations>
      </note>
      <note>
        <chord/>
        <pitch>
          <step>F</step>
          <alter>1</alter>
          <octave>4</octave>
        </pitch>
        <duration>1</duration>
        <type>quarter</type>
        <accidental>sharp</accidental>
        <notations>
          <technical>
            <harmonic number="2">
              <artificial/>
              <base-pitch/>
            </harmonic>
          </technical>
        </notations>
      </note>
      <note>
        <chord/>
        <pitch>
          <step>B</step>
          <octave>4</octave>
        </pitch>
        <duration>1</duration>
        <type>quarter</type>
        <notations>
          <technical>
            <harmonic number="2">
              <artificial/>
              <touching-pitch/>
            </harmonic>
          </technical>
        </notations>
      </note>
    </measure>
  </part>
</score-partwise>