node-launchpad v1.0.5
node-launchpad
A driver for easy usage with an Novation Launchpad Mini in JavaScript
Provides an Interface between NodeJS and the Launchpad Mini MK2 over Midi.
How to run the Example:
At first, run npm install --save-dev. This pulls all Dependencies that are required to run the Example Code.
Use npm run example
to run the example code included in this package.
If you don't have a Launchpad yet you can set $NODE_ENV in your path to debug, which will trigger the Simulation Mode. Connect to the shown IP Address to open the Launchpad Mini Simulator. When you click a Button you send MIDI Messages through.
See the file examples/SendBack.js for example Code
Getting MIDI to work:
To install the node-midi dependency, you need the following things Source:
OSX
- Some version of Xcode (or Command Line Tools)
- Python (for node-gyp)
Windows
- Microsoft Visual C++ (the Express edition works fine)
- Python (for node-gyp)
Linux
- A C++ compiler
- You must have installed and configured ALSA. Without it this module will NOT build.
- Install the libasound2-dev package.
- Python (for node-gyp)
If you use Windows, you can also use npm install --global windows-build-tools