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
Extending xs:string
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.
|
Referenced By
Definition
<xs:complexType name="midi-device">
<xs:annotation>
<xs:documentation>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.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="port" type="midi-16">
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
</xsd:annotation>
</xs:attribute>
<xs:attribute name="id" type="xs:IDREF">
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
</xsd:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>