bp m

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

Inlets

frac32buffer filter input

frac32 pitch

frac32 filter resonance

Outlets

frac32buffer filter output

Parameters

frac32.u.map.filterq reso

frac32.s.map.pitch pitch

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

Privacy

© 2024 Zrna Research