Launchpad:
Filter:
Launchpad/Classes (extension) | Classes

Launchpad
ExtensionExtension

A Class to model GUI like behaviour around the Novation Lauchpad Controller

Description

The Interface is designed around the concept that you like to make your launchpad behave like a GUI with Buttons and Sliders.

To use the Lauchpad clases it has to be initialized with Lauchpad.initMIDI .

The class gets mostly used for the GetRange function that returns a LPRange that holds references to the Launchpad LED-Buttons.

Example of creating a button on the launchpad

getRange

A method to get a Range on the launchpad to put a GUI-element on it.

Arguments:

fx

from value X

fy

and value Y

tx

to value X

ty

and value Y

Returns:

a LPRange

resetPads

reset all LEDs to black and empty the responder function lists.

resetLED

reset all LEDs to make them black

setContrast

set the contrast acording to the Launchpad Manual.

Arguments:

num
denum

setLED

set an LED on the Launchpad. (this is normaly implicitly called from the Lauchpad-GUI-Element).

Arguments:

x

position on the x axis.

y

position on the y axis.

val

a velocity value (which has to be Coded according to the Lauchpad Manual). to generate proper velocities use LPLED.

xyMode

set Launchpad to XY-Mode (as described in the Lauchpad Manual) its the default mode.

drumMode

set Launchpad to Drum-Mode (as described in the Lauchpad Manual), but it is not used by the Launchpad GUI system.