top 1 get

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

Inlets

None

Outlets

bool32 b0

bool32 b1

bool32 b2

bool32 b3

bool32 b4

bool32 b5

bool32 b6

bool32 b7

Declaration
uint8_t cc[8];
Control Rate
outlet_b0 = cc[0];
outlet_b1 = cc[1];
outlet_b2 = cc[2];
outlet_b3 = cc[3];

outlet_b4 = cc[4];
outlet_b5 = cc[5];
outlet_b6 = cc[6];
outlet_b7 = cc[7];
Midi Handler
if (status == attr_midichannel + MIDI_CONTROL_CHANGE) {

  if ((data1 > 19) && (data1 < 28))
    cc[data1 - 20] = data2;
}

Privacy

© 2024 Zrna Research