Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
b55c7d94eThis file is pinned to the selected release. Download the original to open it in your design tool.
COMP(lowpass);
HAL_PIN(in) = 0.0;
HAL_PIN(out) = 0.0;
HAL_PIN(scale) = 1.0;
HAL_PIN(gain) = 1.0;
MEM(float value) = 0.0;
RT(
value += (PIN(in) - value) * CLAMP(PIN(gain),0.00001,1.0);
PIN(out) = mod(value * PIN(scale));
);
ENDCOMP;