You are here: MusicXML Reference > Score Schema (XSD) > Elements > Element: pitch

Element: pitch [group full-note]

Description

Pitch is represented as a combination of the step of the diatonic scale, the chromatic alteration, and the octave.

Derived By

Type pitch

Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Default  Description 
  1..1 
step  step  1..1  The step type represents a step of the diatonic scale, represented using the English letters A through G.
alter  semitones  0..1 

The alter element represents chromatic alteration in number of semitones (e.g., -1 for flat, 1 for sharp). Decimal values like 0.5 (quarter tone sharp) are used for microtones. The octave element is represented by the numbers 0 to 9, where 4 indicates the octave started by middle C.  In the first example below, notice an accidental element is used for the third note, rather than the alter element, because the pitch is not altered from the the pitch designated to that staff position by the key signature.

octave  octave  1..1  Octaves are represented by the numbers 0 to 9, where 4 indicates the octave started by middle C.
Referenced By
Example

      <note default-x="87">
        <pitch>
          <step>G</step>
          <octave>3</octave>
        </pitch>

        <duration>1</duration>
        <voice>1</voice>
        <type>eighth</type>
        <stem default-y="-20">up</stem>
      </note>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301