right block 1 get

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

Inlets

None

Outlets

bool32 b0

bool32 b1

Declaration
uint8_t cc[2];
Control Rate
outlet_b0 = cc[0];
outlet_b1 = cc[1];
Midi Handler
if (status == attr_midichannel + MIDI_CONTROL_CHANGE) {

  if ((data1 == 28) || (data1 == 29))
    cc[data1 - 28] = data2;
}

Privacy

© 2024 Zrna Research