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 in secure contexts (HTTPS), in some or all supporting browsers.
The MIDIOutputMap read-only interface of the Web MIDI API provides the set of MIDI output ports that are currently available.
A MIDIOutputMap instance is a read-only Map-like object, in which each key is the ID string for MIDI output, and the associated value is the corresponding MIDIOutput object.
| Specification |
|---|
| Web MIDI API> # midiinputmap-interface> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
@@iterator |
43 | 79 | 108 | 30 | No | 43 | No | 30 | No | 4.0 | 43 | No |
MIDIOutputMap |
43 | 79 | 108 | 30 | No | 43 | No | 30 | No | 4.0 | 43 | No |
entries |
43 | 79 | 108 | 30 | No | 43 | No | 30 | No | 4.0 | 43 | No |
forEach |
43 | 79 | 108 | 30 | No | 43 | No | 30 | No | 4.0 | 43 | No |
get |
43 | 79 | 108 | 30 | No | 43 | No | 30 | No | 4.0 | 43 | No |
has |
43 | 79 | 108 | 30 | No | 43 | No | 30 | No | 4.0 | 43 | No |
keys |
43 | 79 | 108 | 30 | No | 43 | No | 30 | No | 4.0 | 43 | No |
size |
43 | 79 | 108 | 30 | No | 43 | No | 30 | No | 4.0 | 43 | No |
values |
43 | 79 | 108 | 30 | No | 43 | No | 30 | No | 4.0 | 43 | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutputMap