hyst

Author: Thierry Smashed Transistors
License: LGPL
Github: tiar/kfilter/hyst.axo

Inlets

frac32 in

Outlets

bool32 out

Parameters

frac32.s.map level1

frac32.s.map level0

Declaration
bool state = false;
Control Rate
int32_t mini = param_level0 < param_level1 ? param_level0 : param_level1;
if (state && inlet_in < mini)
  state = false;

int32_t maxi = param_level0 > param_level1 ? param_level0 : param_level1;
if (!state && inlet_in > maxi)
  state = true;

outlet_out = state;

Privacy

© 2024 Zrna Research