The <midi-device> element.

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.

Hierarchy

  • MidiDevice

Implements

Constructors

Properties

schema: XMLElementSchema<"midi-device"> = MidiDevice.schema
schema: XMLElementSchema<"midi-device"> = schema.MidiDevice

Methods

Generated using TypeDoc