filter f

filter out a defined value.if 'in',doesn't match the value , 'b' == 1.
Author: Robert Schirmer
License: BSD
Github: rbrt/control/filter f.axo

Inlets

frac32 in

frac32 filter

Outlets

frac32 out

bool32 true?

Parameters

frac32.s.map filter

Declaration
int prev;
Control Rate
if (inlet_in != (param_filter + inlet_filter)) {
  outlet_out = inlet_in;
  prev = outlet_out;
  outlet_b = 1;
} else {
  outlet_out = prev;
  outlet_b = 0;
}

Privacy

© 2024 Zrna Research