midium

0.0.13 • Public • Published

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);
});

Readme

Keywords

Package Sidebar

Install

npm i midium

Weekly Downloads

4

Version

0.0.13

License

none

Last publish

Collaborators

  • hngrhorace