W3cubDocs

/Web APIs

MIDIInputMap

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 MIDIInput object.

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
@@iterator 43 79 108 No 30 No 43 43 No 30 No 4.0
MIDIInputMap 43 79 108 No 30 No 43 43 No 30 No 4.0
entries 43 79 108 No 30 No 43 43 No 30 No 4.0
forEach 43 79 108 No 30 No 43 43 No 30 No 4.0
get 43 79 108 No 30 No 43 43 No 30 No 4.0
has 43 79 108 No 30 No 43 43 No 30 No 4.0
keys 43 79 108 No 30 No 43 43 No 30 No 4.0
size 43 79 108 No 30 No 43 43 No 30 No 4.0
values 43 79 108 No 30 No 43 43 No 30 No 4.0

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