cursor get

outputs the state of 8 controllers starting from 'startcc'
Author: Robert Schirmer
License: BSD
Github: rbrt/push/cursor get.axo

Inlets

None

Outlets

bool32 left

bool32 right

bool32 up

bool32 down

Declaration
uint8_t cc[4];
Control Rate
outlet_left = cc[0];
outlet_right = cc[1];
outlet_up = cc[2];
outlet_down = cc[3];
Midi Handler
if (status == attr_midichannel + MIDI_CONTROL_CHANGE) {

  if ((data1 > 43) && (data1 < 48))
    cc[data1 - 44] = data2;
}

Privacy

© 2024 Zrna Research