MIDIInputMap

Draft: This page is not complete.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
MIDIInputMap
43
79
No
No
30
No
43
43
No
30
No
4.0
entries
43
79
No
No
30
No
43
43
No
30
No
4.0
forEach
43
79
No
No
30
No
43
43
No
30
No
4.0
get
43
79
No
No
30
No
43
43
No
30
No
4.0
has
43
79
No
No
30
No
43
43
No
30
No
4.0
keys
43
79
No
No
30
No
43
43
No
30
No
4.0
size
43
79
No
No
30
No
43
43
No
30
No
4.0
values
43
79
No
No
30
No
43
43
No
30
No
4.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MIDIInputMap