/Haxe JavaScript


package js.html.midi

extends EventTarget

Available on js

The MIDIAccess interface of the Web MIDI API provides methods for listing MIDI input and output devices, and obtaining access to those devices.

Documentation MIDIAccess by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:


read onlyinputs:MIDIInputMap

Returns an instance of MIDIInputMap which provides access to any available MIDI input ports.


Called whenever a new MIDI port is added or an existing port changes state.

read onlyoutputs:MIDIOutputMap

Returns an instance of MIDIOutputMap which provides access to any available MIDI output ports.

read onlysysexEnabled:Bool

A boolean attribute indicating whether system exclusive support is enabled on the current MIDIAccess instance.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.