资 源 简 介
novation-launchpad-midi
A small Processing interface for the Novation Launchpad.
`*` Requires themidibus: http://smallbutdigital.com/themidibus.php
Methods
void reset() : Resets the LEDs, mapping mode, buffer settings, and duty cycle.
void fillScreen(int b) : Turns on all LEDs at brightness (0-2).
void lightOn(int x, int y, int r, int g) : Turns on an LED at (x,y) with red and green brightness (0-3).
int colorVal(int r, int g) : Returns the color data value for red and green brightness (0-3);
void rapidUpdate(int[]` ledArray, boolean dblBuffer) : Updates the entire grid, sending two messages at a time.
With dblBuffer = true, frame buffers alternate to update the entire grid at once.
void setBuffer(int displayBuffer, int updateBuffer) : Sets the display and update buffers (0-1