top row

outputs the state of the top-row buttons of a 'novation launchpad'. DOES NOT work with the 'LP mark 1'.
Author: Robert Schirmer
License: BSD
Github: rbrt/launchpad/top row.axo

Inlets

None

Outlets

bool32 t0

bool32 t1

bool32 t2

bool32 t3

bool32 t4

bool32 t5

bool32 t6

bool32 t7

Declaration
uint8_t cc[128];
Control Rate
outlet_t0 = cc[104];
outlet_t1 = cc[105];
outlet_t2 = cc[106];
outlet_t3 = cc[107];

outlet_t4 = cc[108];
outlet_t5 = cc[109];
outlet_t6 = cc[110];
outlet_t7 = cc[111];
Midi Handler
if (status == attr_midichannel + MIDI_CONTROL_CHANGE)
  cc[data1] = data2;

Privacy

© 2024 Zrna Research