https://github.com/dvberkel/launchpadjs
Interacting with a Novation Launchpad from your browser with the web Midi API
https://github.com/dvberkel/launchpadjs
Last synced: 2 months ago
JSON representation
Interacting with a Novation Launchpad from your browser with the web Midi API
- Host: GitHub
- URL: https://github.com/dvberkel/launchpadjs
- Owner: dvberkel
- License: mit
- Created: 2015-10-01T14:06:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-11T06:24:06.000Z (almost 7 years ago)
- Last Synced: 2025-03-07T23:51:34.557Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 49.8 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LaunchpadJS
Interacting with a Novation Launchpad from your browser with the [web MIDI API][midi-web].## Usage
Install LaunchpadJS with [bower][] via the following command
```shell
bower install --save LaunchpadJS
```or download a distribution from [releases][].
Include `launchpad.min.js` in your html page
```html
```
Hook your [Lauchpad or Launchpad Mini][launchpad] up to your computer and start writing an application. E.g. the following snippet turns on each button that is pressed to red.
```js
launchpad.connect().then(function(pad){
pad.clear();
pad.on('press', function(button){
button.turn('red');
});
});
```Now open your page in [Chrome][chrome] the only browser that natively implements the [Web Midi API][midi-web] at the [moment][can-i-use/midi].
See the [wiki][] for an overview of the [API][api]
## Development Notes
See the [issues][], for things to work on.
### Launchpad documentation
The Novation Launchpad had an excellent [programmers reference][reference].
[midi-web]: https://webaudio.github.io/web-midi-api/
[bower]: http://bower.io/
[releases]: https://github.com/dvberkel/LaunchpadJS/releases
[launchpad]: http://global.novationmusic.com/launch/launchpad#
[chrome]: https://www.google.com/chrome/browser/desktop/
[can-i-use/midi]: http://caniuse.com/#feat=midi
[reference]: https://d19ulaff0trnck.cloudfront.net/sites/default/files/novation/downloads/4080/launchpad-programmers-reference.pdf
[wiki]: https://github.com/dvberkel/LaunchpadJS/wiki
[api]: https://github.com/dvberkel/LaunchpadJS/wiki/API
[issues]: https://github.com/dvberkel/LaunchpadJS/issues