Skip to content

dvberkel/LaunchpadJS

Repository files navigation

LaunchpadJS

Interacting with a Novation Launchpad from your browser with the web MIDI API.

Usage

Install LaunchpadJS with bower via the following command

bower install --save LaunchpadJS

or download a distribution from releases.

Include launchpad.min.js in your html page

<script src="bower_components/LaunchpadJS/launchpad.min.js"></script>

Hook your Lauchpad or Launchpad Mini up to your computer and start writing an application. E.g. the following snippet turns on each button that is pressed to red.

launchpad.connect().then(function(pad){
  pad.clear();
  pad.on('press', function(button){
    button.turn('red');
  });
});

Now open your page in Chrome the only browser that natively implements the Web Midi API at the moment.

See the wiki for an overview of the API

Development Notes

See the issues, for things to work on.

Launchpad documentation

The Novation Launchpad had an excellent programmers reference.

About

Interacting with a Novation Launchpad from your browser with the web Midi API

Resources

License

Stars

Watchers

Forks

Packages

No packages published