midium
v0.0.13
Published
Web MIDI API wrapper designed for humans and MIDI instruments
Downloads
10
Readme
Midium - Web MIDI API wrapper
Midium is a very simple, device oriented Web MIDI API wrapper. It makes you able to send and receive notes and other messages from MIDI devices with writing less code.
TODO: write documentation
var moog = Midium('moog');
moog.notePress('c#4', 1000);
var all = Midium.select('');
all.onNoteOn(function(event) {
playSound(event.note);
});
all.onNoteOff(function(event) {
stopSound(event.note);
});