ubercj / midi-demo

Trying out the Web MIDI API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web MIDI API Demo

If you have a MIDI input of some sort, try out the demo here.

This is a very basic demo of how to use the Web MIDI API. I pulled in the Tone.js library to handle audio output so that the demo provides a bit better feedback.

Please not that you will not be able to hear audio until you click the "Enable Audio" button. Or at least this is definitely the case in Chrome or Chromium-based browsers. This is evidently a Google Chrome policy to improve user experience by preventing annoying autoplay audio.

Resources

About

Trying out the Web MIDI API


Languages

Language:JavaScript 82.0%Language:HTML 18.0%