Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterpme/js-midi
Chrome Midi Api Bridge
https://github.com/peterpme/js-midi
Last synced: 2 months ago
JSON representation
Chrome Midi Api Bridge
- Host: GitHub
- URL: https://github.com/peterpme/js-midi
- Owner: peterpme
- License: mit
- Created: 2015-08-11T04:11:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-26T06:02:39.000Z (over 9 years ago)
- Last Synced: 2024-10-07T05:43:30.189Z (2 months ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
})