smooth attr

exponential smooth.mod of 'smooth' by johannes.
Author: robert schirmer
License: BSD
Github: rbrt/math/smooth attr.axo

Inlets

frac32 input

bool32.rising reset to input

Outlets

frac32 output

Attributes

spinner time

Declaration
int32_t val;
bool reset;
Init
val = 0;
Control Rate
val = ___SMMLA(val - inlet_in, (-1 << 26) + (attr_time << 20), val);
if ((inlet_reset) && (!reset))
  val = inlet_in;
outlet_out = val;

Privacy

© 2024 Zrna Research