The MIDI Out port which data gets sent to, see MidiAccess class.
This event fires when the MidiOut finishes.
Returns true if the MidiOut has been instructed to stop everything by the finish() method.
Provides a way of identifying MidiOut so it can be easily retrieved later.
Returns the name of this type. This can be used rather than instanceof which is sometimes unreliable.
This method accepts an IMidiMessage object, which it converts to a MIDI byte array to send to the connected MIDI port.
The IMidiMessage object to be converted and sent out.
Calls the stop() method of all notes which have been added to the MidiOut that meet the passed in criteria.
Provides a way for setting the ref through a chained function call. For example:
clock.addChild(new MidiOut(port).withRef('output'));
The calling object.
The ref to set on the object.
Generated using TypeDoc
The MidiOut class is an implementation of IMidiOut, which takes MIDI messages and sends them on to a connected MIDI port.