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

Element: midi-device

Description

The midi-device type corresponds to the DeviceName meta event in Standard MIDI Files. The optional port attribute is a number from 1 to 16 that can be used with the unofficial MIDI port (or cable) meta event. Unlike the DeviceName meta event, there can be multiple midi-device elements per MusicXML part starting in MusicXML 3.0. 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.

Derived By

Type midi-device

Attributes
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
Definition

See sound

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301