Package-level declarations

Types

Link copied to clipboard

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.

Link copied to clipboard
open class MIDIConnectionEvent(val type: EventType<MIDIConnectionEvent>, init: MIDIConnectionEventInit = definedExternally) : Event

The MIDIConnectionEvent interface of the Web MIDI API is the event passed to the MIDIAccess.statechange_event event of the MIDIAccess interface and the MIDIPort.statechange_event event of the MIDIPort interface. Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard

The MIDIInput interface of the Web MIDI API receives messages from a MIDI input port. Available only in secure contexts.

Link copied to clipboard

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.

Link copied to clipboard
open class MIDIMessageEvent(val type: EventType<MIDIMessageEvent>, init: MIDIMessageEventInit = definedExternally) : Event

The MIDIMessageEvent interface of the Web MIDI API represents the event passed to the MIDIInput.midimessage_event event of the MIDIInput interface. Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
interface MIDIOptions
Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
open class MIDIPort : EventTarget

The MIDIPort interface of the Web MIDI API represents a MIDI input or output port. Available only in secure contexts.

Link copied to clipboard
sealed interface MIDIPortConnectionState
Link copied to clipboard
sealed interface MIDIPortDeviceState
Link copied to clipboard
sealed interface MIDIPortType