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
xs:stringAttributes
| Name | Type | Required?(Default) | Description |
|---|---|---|---|
| id | xs: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>. |
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. |
| 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: