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
A method to get a Range on the launchpad to put a GUI-element on it.
fx |
from value X |
fy |
and value Y |
tx |
to value X |
ty |
and value Y |
a LPRange
reset all LEDs to black and empty the responder function lists.
reset all LEDs to make them black
set the contrast acording to the Launchpad Manual.
num | |
denum |
set an LED on the Launchpad. (this is normaly implicitly called from the Lauchpad-GUI-Element).
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. |
set Launchpad to XY-Mode (as described in the Lauchpad Manual) its the default mode.
set Launchpad to Drum-Mode (as described in the Lauchpad Manual), but it is not used by the Launchpad GUI system.