MIDIInputMap
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
TheMIDIInputMap read-only interface of theWeb MIDI API provides the set of MIDI input ports that are currently available.
AMIDIInputMap instance is a read-onlyMap-like object, in which each key is the ID string for MIDI input, and the associated value is the correspondingMIDIInput object.
In this article
Specifications
| Specification |
|---|
| Web MIDI API> # midiinputmap-interface> |