latch8x

multiply
Author: Johannes Taelman
License: BSD
Github: sss/logic/latch8x.axo

Inlets

frac32 i1

frac32 i2

frac32 i3

frac32 i4

frac32 i5

frac32 i6

bool32 trg

Outlets

frac32 o1

frac32 o2

frac32 o3

frac32 o4

frac32 o5

frac32 o6

Declaration
bool trg;
int in[6];
Control Rate
if ((inlet_trg > 0) && !trg) {
  trg = 1;
  in[0] = inlet_i1;
  in[1] = inlet_i2;
  in[2] = inlet_i3;
  in[3] = inlet_i4;
  in[4] = inlet_i5;
  in[5] = inlet_i6;
} else if (inlet_trg < 1) {
  trg = 0;
}

outlet_o1 = in[0];
outlet_o2 = in[1];
outlet_o3 = in[2];
outlet_o4 = in[3];
outlet_o5 = in[4];
outlet_o6 = in[5];

Privacy

© 2024 Zrna Research