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

Element: instrument

Description

The instrument type distinguishes between score-instrument elements in a score-part. The id attribute is an IDREF back to the score-instrument ID. If multiple score-instruments are specified on a score-part, there should be an instrument element for each note in the part.

Derived By

Type instrument

Attributes
Name  Type  Required?  Default  Description 
id  xs:IDREF  Yes 
Content Model

Always empty.

Referenced By
Example

      <part-name>Snare Drum</part-name>
      <part-abbreviation>S.D.</part-abbreviation>
      <score-instrument id="P1-X12">
        <instrument-name>Stick Clicks</instrument-name>
      </score-instrument>
...
      <note default-x="303">
        <unpitched>
          <display-step>F</display-step>
          <display-octave>5</display-octave>
        </unpitched>
        <duration>24</duration>
        <instrument id="P1-X12"/>
        <voice>1</voice>
        <type>eighth</type>
        <stem default-y="34.5">up</stem>
        <beam number="1">begin</beam>
        <lyric default-y="-60" number="1">
          <syllabic>single</syllabic>
          <text font-size="7.2">R</text>
        </lyric>
      </note>
Definition

See note

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301