glide

exponential smooth with enable
Author: Johannes Taelman
License: BSD
Github: math/glide.axo

Inlets

frac32 input

bool32 enable

Outlets

frac32 output

Parameters

frac32.u.map time

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

Privacy

© 2024 Zrna Research