lp lin

2-pole resonant low-pass filter (biquad)
Author: Johannes Taelman
License: BSD
Github: tb/filter/lp lin.axo

Inlets

frac32buffer filter input

Outlets

frac32buffer filter output

Parameters

frac32.u.map.freq freq

frac32.u.map.filterq reso

Declaration
biquad_state bs;
biquad_coefficients bc;
Init
biquad_clearstate(&bs);
Control Rate
biquad_lp_coefs(&bc, param_freq, INT_MAX - (__USAT(param_reso, 27) << 4));
biquad_dsp(&bs, &bc, inlet_in, outlet_out);

Privacy

© 2024 Zrna Research