Description
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
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
Example
<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-instrument>
<virtual-library>Garritan Instruments for Finale</virtual-library>
<virtual-name>001. Woodwinds/1. Flutes/Flute Plr1</virtual-name>
</virtual-instrument>
</score-instrument>
<midi-device>Bank 1</midi-device>
<midi-instrument id="P1-I1">
<midi-channel>1</midi-channel>
<midi-program>1</midi-program>
<volume>80</volume>
<pan>-70</pan>
</midi-instrument>
</score-part>
Definition
See score-part