dtinth / WebMIDICon

🎹🥁 My MIDI instruments!
https://webmidicon.web.app
MIT License
86 stars 15 forks source link
gamepad-api hacktoberfest midi-instrument mobx music musical-instrument pwa react typescript vite web-midi-api

WebMIDICon

A collection of hackable web-based MIDI instruments, implemented as a MIDI controller. I wanted to create a MIDI instrument that allows me to jam with other musicians. Play MIDI with your PC keyboard, or with a touch screen on an iPad.

Check out the video demos!

Usage

  1. Go to https://webmidicon.web.app/ using a browser that supports Web MIDI API.

  2. Select the output MIDI port at the top-right corner. See MIDI setup section for more details.

  3. Play and enjoy!

Hacking on this project

MIDI setup

This webapp uses Web MIDI API to communicate with the MIDI subsystem on your device.

What is MIDI subsystem?

The MIDI subsystem allows applications running on your computer to communicate with MIDI devices. The MIDI subsystem provides:

This webapp is used as an instrument for transmitting MIDI messages, therefore it only works with MIDI outputs.

Webapp → Hardware synthesizer

Webapp → Another MIDI app on the same computer

You need to create a virtual MIDI cable (a.k.a. IAC driver or loopback MIDI interface).

iOS → Mac

You can use the Web MIDI Browser app, a iOS web browser that supports Web MIDI API. Then you can set up a Bluetooth LE connection from your iDevice to Mac.