Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/peterpme/js-midi

Chrome Midi Api Bridge
https://github.com/peterpme/js-midi

Last synced: 29 days ago
JSON representation

Chrome Midi Api Bridge

Awesome Lists containing this project

README

        

# Chrome Midi Api Bridge

## Prequisites

- JS Midi uses `classes` and `arrow functions`. Make sure you use something like babel or traceur.

## NPM
`npm install js-midi`

## Usage

```javascript
import MidiInterface from 'js-midi'

let midi = new MidiInterface({
onPressNote: (evt) => console.log(evt),
onReleaseNote: (evt) => console.log(evt)
})