MIDIInputMap

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

安全上下文: 此项功能仅在一些支持的浏览器安全上下文(HTTPS)中可用。

Web MIDI APIMIDIInputMap 只读接口提供了当前可用的 MIDI 输入端口集合。

MIDIInputMap 实例是一个只读的Map 对象,其中每个键是 MIDI 输入的 ID 字符串,关联的值是对应的 MIDIInput 对象。

规范

Specification
Web MIDI API
# midiinputmap-interface

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
MIDIInputMap
[Symbol.iterator]
entries
forEach
get
has
keys
size
values

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.