The <midi-device> element
Parent elements: <score-part><sound>
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 1.0 port (or cable) meta event. Unlike the DeviceName meta event, there can be multiple midi-device elements per MusicXML part. 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
xs:stringAttributes
| Name | Type | Required? | Description |
|---|---|---|---|
| id | xs:IDREF | No | |
| port | midi-16 | No |
Examples
This element is used in the following examples: