left block 1 get

outputs the state of 8 controllers starting from 'startcc'
Author: Robert Schirmer
License: BSD
Github: rbrt/push/left 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 == 3)
    cc[0] = data2;
  if (data1 == 9)
    cc[1] = data2;
}

Privacy

© 2024 Zrna Research