MakeMusic
SmartMusic Finale Garritan MusicXML

Unpitched Notes

To illustrate MusicXML’s percussion features, here’s a two-bar example for two players: one on a drum kit, and one on cowbell:

In the drum part, the top space (B in bass clef) is used for the cymbal (diamond notehead) and hi-hat (x notehead). The E space is used for the snare drum, and the bottom A space is used for the bass drum. The cowbell player has only one instrument, so it is represented on a one-line staff.

Since these notes have no definite pitch, it would be misleading to represent them using the pitch element. An analysis program looking for a series of repeated B’s should not return this piece of music. Neither should a program looking for a series of repeated F-sharps, based on the General MIDI pitch for a closed hi-hat.

Instead, we represent percussion and other unpitched instruments with the unpitched element. As with rests, there are display-step and display-octave elements to indicate where the note should appear on the staff, based on the current clef. So the cymbal and hi-hat notes on this bass clef staff are represented as:

        <unpitched>
          <display-step>B</display-step>
          <display-octave>3</display-octave>
        </unpitched>

clear

Percussion clef is treated like treble clef when determining the display-step and display-octave. So if this part had been notated in percussion clef instead of bass clef, the resulting MusicXML would be:

        <unpitched>
          <display-step>G</display-step>
          <display-octave>5</display-octave>
        </unpitched>

clear


Prev Next