You are here

W3C Web MIDI API - How To

The Web MIDI API is a browser-based JavaScript web API allowing low-level interactions with music or lighting devices synced with a host computer. Using the Musical Instrument Digital Interface (MIDI) protocol, devices can send digital information regarding tone, sustain, volume dynamic, modulation, and more to trigger software instruments. This information can also be used to trigger non-musical devices, such as lighting effects. This API works on the MIDI protocol to accept these MIDI signals from host devices and to also enable direct access to devices that respond to MIDI.