tcopy srate

Author:
License: GPL
Github: rbrt/data/tcopy srate.axo

Inlets

int32.positive src

int32.positive dst

bool32.rising trig

Outlets

None

Attributes

objref src

objref dst

spinner range

Declaration
bool trig;
uint8_t count;
Control Rate
if (inlet_trig && !trig) {
  trig = 1;
  count = attr_range + 1;
}
Audio Rate
if (count) {
  count--;
  attr_dst.array[count + inlet_dst] = attr_src.array[count + inlet_src];
} else if (!inlet_trig)
  trig = 0;

Privacy

© 2024 Zrna Research