Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andormade/midium

Midium is a Web MIDI API wrapper and framwork for composing generative music
https://github.com/andormade/midium

Last synced: 9 days ago
JSON representation

Midium is a Web MIDI API wrapper and framwork for composing generative music

Awesome Lists containing this project

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

```javascript
var moog = Midium('moog');
moog.notePress('c#4', 1000);
```

```javascript
var all = Midium.select('');

all.onNoteOn(function(event) {
playSound(event.note);
});

all.onNoteOff(function(event) {
stopSound(event.note);
});
```