brainlist

load table from sdcard
Author: Johannes Taelman
License: BSD
Github: rbrt/testing/brainlist.axo

Inlets

int32.positive index

bool32.rising trigger

Outlets

charptr32 OUT1

charptr32 out2

charptr32 out3

bool32 trig

int32 test

Attributes

objref flist

Declaration
bool trig;

char out1[9];
char out2[9];
char out3[9];

uint8_t pre;
Control Rate
outlet_trig = 0;

if (inlet_index != pre) {
  pre = inlet_index;
  memcpy(&out1[0], &attr_flist.fout[(pre + 0) << 3], 8);
  memcpy(&out2[0], &attr_flist.fout[(pre + 1) << 3], 8);
  memcpy(&out3[0], &attr_flist.fout[(pre + 2) << 3], 8);
  outlet_trig = 1;
}

outlet_OUT1 = &out1[0];
outlet_out2 = &out2[0];
outlet_out3 = &out3[0];

Privacy

© 2024 Zrna Research