Back to Content

MIDIInputMap

files/en-us/web/api/midiinputmap/index.md

latest566 B
Original Source

{{APIRef("Web MIDI API")}}{{SecureContext_Header}}

The MIDIInputMap read-only interface of the Web MIDI API provides the set of MIDI input ports that are currently available.

A MIDIInputMap instance is a read-only Map-like object, in which each key is the ID string for MIDI input, and the associated value is the corresponding {{domxref("MIDIInput")}} object.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}