glide_fast

Fast exponential smooth with enable
Author: Are Leistad
License: BSD
Github: drj/math/glide_fast.axo

Inlets

bool32 enable

frac32 input

Outlets

frac32 output

Parameters

frac32.s.map.klineartime.exp2 time

Declaration
int32_t val;
Init
val = 0;
Control Rate
if (inlet_en > 0)
  val = ___SMMLA(val - inlet_in, -param_time << 2, val);
else
  val = inlet_in;
outlet_out = val;

Privacy

© 2024 Zrna Research