hp

2-pole resonant band-pass filter (biquad)
Author: Johannes Taelman
License: BSD
Github: filter/hp.axo

Inlets

frac32buffer filter input

Outlets

frac32buffer filter output

Parameters

frac32.s.map.pitch pitch

frac32.u.map.filterq reso

Declaration
biquad_state bs;
biquad_coefficients bc;
Init
biquad_clearstate(&bs);
Control Rate
int32_t freq;
MTOF(param_pitch, freq);
biquad_hp_coefs(&bc, freq, INT_MAX - (__USAT(param_reso, 27) << 4));
biquad_dsp(&bs, &bc, inlet_in, outlet_out);

Privacy

© 2024 Zrna Research