The <midi-device> element

Parent elements: <score-part>, <sound>

The <midi-device> element 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.

Content

string

Attributes

Name Type Required? Description
id IDREF No Refers to the <score-instrument> assigned to this device. If missing, the device assignment affects all <score-instrument> elements in the <score-part>.
port midi-16 No A number from 1 to 16 that can be used with the unofficial MIDI 1.0 port (or cable) meta event.

Examples

This element is used in the following examples:

<instrument-change>, <midi-device>, <virtual-instrument>