{{SeeCompatTable}}{{APIRef("Web MIDI API")}}
The MIDIInput
interface of the Web MIDI API provides access to a MIDI input port and the messages passed on it.
Properties
None.
Event Handlers
- {{domxref("MIDIInput.onmidimessage")}}
- Called whenever a {{domxref("MIDIMessage")}} is recieved by the current port.
Examples
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('','#midiinput-interface')}} | {{Spec2('')}} | Initial definition. |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatChrome(43.0)}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} |
Feature | Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} |