Package-level declarations
Types
The MIDIAccess interface of the Web MIDI API provides methods for listing MIDI input and output devices, and obtaining access to those devices. Available only in secure contexts.
The MIDIConnectionEvent interface of the Web MIDI API is the event passed to the statechange event of the MIDIAccess interface and the statechange event of the MIDIPort interface. This occurs any time a new port becomes available, or when a previously available port becomes unavailable. For example, this event is fired whenever a MIDI device is either plugged in to or unplugged from a computer. Available only in secure contexts.
The MIDIInputMap read-only interface of the Web MIDI API provides the set of MIDI input ports that are currently available. Available only in secure contexts.
The MIDIMessageEvent interface of the Web MIDI API represents the event passed to the midimessage event of the MIDIInput interface. A midimessage event is fired every time a MIDI message is sent from a device represented by a MIDIInput, for example when a MIDI keyboard key is pressed, a knob is tweaked, or a slider is moved. Available only in secure contexts.
The MIDIOutput interface of the Web MIDI API provides methods to add messages to the queue of an output device, and to clear the queue of messages. Available only in secure contexts.
The MIDIOutputMap read-only interface of the Web MIDI API provides the set of MIDI output ports that are currently available. Available only in secure contexts.
The MIDIPort interface of the Web MIDI API represents a MIDI input or output port. Available only in secure contexts.