GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - haschdl/pLaunchController: A JAVA wrapper for the Novation Launch Controller aimed at using the MIDI pads and knobs as input for Processing sketches.

BranchesTags
Open more actions menu

Latest commit

 

History

59 Commits
59 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.idea
.idea
 
 
META-INF
META-INF
 
 
app
app
 
 
examples
examples
 
 
misc
misc
 
 
pLaunchControlApp
pLaunchControlApp
 
 
pLaunchControllerModule
pLaunchControllerModule
 
 
reference
reference
 
 
.gitignore
.gitignore
 
 
export.txt
export.txt
 
 
library.properties
library.properties
 
 
pLaunchController.properties
pLaunchController.properties
 
 
pLaunchController.xml
pLaunchController.xml
 
 

Repository files navigation

pLaunchControl

Use your Novation MIDI controllers with Processing. With this library you can connect your Novation MIDI devices to Processing sketches, using the physical knobs, slides and pads to change variables in the sketch to control animation, color, position, etc.

In this release, the library supports the devices:

  • Novation Launch Control (16 knobs, 8 buttons)

  • Novation Launch Control XL (24 knobs, 8 sliders, 16 buttons)

  • Installation

  • Quick guide

  • Examples

Installation

From Processing editor

In Processing, go to Sketch, Import library..., Add library. Search for "Novation Launch Control client" and once found, click Install. If you are having trouble using the Contributor Manager in Processing, you can try the manual installation

Quick guide

To start using the library, make sure your MIDI device is connected to your computer (at least one led is lit). For more advanced usage, see also Using events.

Add reference to library

  1. At the top of your sketch, import the namespace pLaunchControl:

    import pLaunchControl.*;
  2. Declare a global variable of type LaunchController

      LaunchControl midiController;
  3. Instantiate the controller during setup():

    try {
        midiController = new LaunchControl(this);
    }
     catch(Exception e) {
        println("Error connecting to MIDI device! Sketch will run with UI controllers. values.");
        midiController = null;
    }
  1. Attach a knob to a variable in your sketch.

  2. Optionally, use range(float minValue,float maxValue) to override the output of knob values, and defaultValue(float value) to set an initial value. By default, knobs will return values from 0 to 127.

  controller.getKnob(KNOBS.KNOB_1_HIGH).range(10,200).defaultValue(h);

Examples

Once you install the library from Processing, you can open the examples from File -> Examples... -> Contributed Libraries -> Novation Launch Control client. See below a brief description for each example included.

Launch Control Demo

Shows the knobs and pads on a sketch. A simple way to test the library and the connectivity to your LaunchPad.


Source code

SuperShape

Based on the original by Daniel Shiffman, I used the controller to set the various parameters of the super shape algorithm.


Source code

Compatibility

The library was developed in Windows 10, and it has been tested with Processing 3.4 and Processing 4 in both Windows 10 and macOS 10. If you have trouble using the library, please submit an issue.

Limitations and further development

The library was developed and tested only two of the Novation controllers, Launch Control and Launch Control XL. If you are interested in using other Novation products please submit an issue, and I will evaluate what can be done.

About

A JAVA wrapper for the Novation Launch Controller aimed at using the MIDI pads and knobs as input for Processing sketches.

Resources

Readme

Contributing

Contributing
Activity

Stars

14 stars

Watchers

3 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.