RY
rynr/launchpad
Library to access a Novation Launchpad in a java application.
Launchpad
This library can be used to access a
Novation Launchpad
from a java application.
Usage
You can directly use it from maven central:
<dependency>
<groupId>org.rjung.util</groupId>
<artifactId>launchpad</artifactId>
<version>1.0</version>
</dependency>To send colors the the launchpad, the methods set(pad, color):
launchpad.set(Pad.A4, Color.RED);
launchpad.set(Pad.find(3, 1), Color.GREEN);To retrieve messages, implement a
LaunchpadReceiver
and register it to the launchpad instance. The LaunchpadReceiver will now be
called always, when a Command is received.
new Launchpad(new LaunchpadHandler() {
public void recieve(MidiCommand command) {
System.out.println(command);
}
});Example
There's also a rewritten version of the Games of Life in the branch life.
Build it yourself
The build uses maven. You don't need to install anything besides a java 8 development kit (jdk8). Now just run:
./mvn clean packageThe build jar can be found in the target-folder.
Info
On this page
Languages
Java100.0%
Latest Release
launchpad-1.0July 11, 2017Apache License 2.0
Created November 26, 2014
Updated August 20, 2024
