split 2

Split the incoming signal in two, based on the amplitude.
Author: Sputnki
License: BSD
Github: sptnk/split/split 2.axo

Inlets

frac32buffer in

Outlets

frac32buffer o1

frac32buffer o2

Parameters

frac32.s.map cutoff

Declaration
int32_t center;
int32_t o1;
int32_t o2;
Control Rate
center = param_cutoff;
Audio Rate
if (inlet_in < center) {
  o1 = inlet_in;
  o2 = 0;
} else {
  o2 = inlet_in;
  o1 = 0;
}

outlet_o1 = o1;
outlet_o2 = o2;

Privacy

© 2024 Zrna Research