seqrec64

64-step recording step sequencer. Records value from val to inix on rising edge to intrig. Outputs outix (or default value).
Author: Petter Ericson
License: BSD
Github: ptttr/seq/seqrec64.axo

Inlets

int32 val

int32 inix

int32 outix

int32 def

bool32.rising intrig

Outlets

int32 out

Declaration
int32_t buf[64];
Control Rate
if (inlet_intrig && (inlet_inix > -1) && (inlet_inix < 64)) {
  buf[inlet_inix] = inlet_val;
}
if ((inlet_outix > -1) && (inlet_outix < 64)) {
  outlet_out = buf[inlet_outix];
} else {
  outlet_out = inlet_def;
}

Privacy

© 2024 Zrna Research