oddeven3

if i odd then oddbang an i outlet_o if even then nobang but oulet o if i1 = 1 then its even odd if i2 everey second value if 4 every fourth if i odd exepect odd quantization
Author: philoop
License: GPL
Github: phi/math/oddeven3.axo

Inlets

int32 i

int32 i1

Outlets

bool32 odd

int32 o

int32 e

Control Rate
int odd;

if ((inlet_i & inlet_i1) == 0)
  odd = 1;
else
  odd = 0;
outlet_odd = odd;
outlet_o = (odd > 0) ? inlet_i : 0;
outlet_e = (odd < 1) ? inlet_i : 0;

Privacy

© 2024 Zrna Research