You are here: MusicXML Reference > Score Schema (XSD) > Elements > Element: midi-device

Element: midi-device


The midi-device type corresponds to the DeviceName meta event in Standard MIDI Files. Unlike the DeviceName meta event, there can be multiple midi-device elements per MusicXML part starting in MusicXML 3.0.

Derived By

Type midi-device

Name  Type  Required?  Default  Description 
port  midi-16  No  The optional port attribute is a number from 1 to 16 that can be used with the unofficial MIDI port (or cable) meta event.
id  xs:IDREF  No  The optional id attribute refers to the score-instrument assigned to this device. If missing, the device assignment affects all score-instrument elements in the score-part.
Content Model

Contains text only.

Referenced By
    <score-part id="P1">
      <part-name>Flute 1</part-name>
      <part-abbreviation>Fl. 1</part-abbreviation>
      <score-instrument id="P1-I1">
        <instrument-name>ARIA Player</instrument-name>
          <virtual-library>Garritan Instruments for Finale</virtual-library>
          <virtual-name>001. Woodwinds/1. Flutes/Flute Plr1</virtual-name>
      <midi-device>Bank 1</midi-device>
      <midi-instrument id="P1-I1">

See score-part


MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301