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: 29 days 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-26T06:02:39.000Z (about 9 years ago)
- Last Synced: 2024-10-07T05:43:30.189Z (about 1 month 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)
})