The MIDIInputMap read-only interface of the Web MIDI API provides a Map-like interface to the currently available MIDI input ports. Though it works generally like a map, because it is read-only it does not contain clear(), delete(), or set() functions.
Documentation MIDIInputMap by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also: