A simple script that mocks midi commands on keyboard input, compatible with the Web MIDI API.
This is based on a gist by Nick Thompson published 2012 under MIT License on https://gist.github.com/3995530.
- use MIDIMessageEvent
- simplify keyboard layout
- add octave range and velocity controls
- use ES6 module structure
- support different keyboard layouts