tcopy AB

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

Inlets

bool32.rising trig

bool32.risingfalling ABBA

int32.positive A

int32.positive B

Outlets

None

Attributes

spinner range

objref A

objref B

Declaration
bool trig;
Control Rate
if (inlet_trig && !trig) {
  trig = 1;
  int i;
  for (i = 0; i < attr_range; i++) {
    if (!inlet_ABBA)
      attr_B.array[i + inlet_B] = attr_A.array[i + inlet_A];
    else
      attr_A.array[i + inlet_A] = attr_B.array[i + inlet_B];
  }
}
if (!inlet_trig)
  trig = 0;

Privacy

© 2024 Zrna Research