std1.0.0-beta-7 SafeC docs

std :: dsp::biquad

Struct std::FBiquad

#include <std/dsp/biquad.h> source

struct FBiquad {
    Fixed b0;
    Fixed b1;
    Fixed b2;
    Fixed a1;
    Fixed a2;
    Fixed z1;
    Fixed z2;
}

Q8.24 fixed-point biquad: coefficients are designed in double precision via the designers above, then quantized once with FBiquad::from — the same design-time-float/runtime-fixed split as the rest of std/dsp.

Fields

Methods

§void reset()source · definition
§void process_block([]const Fixed in, []Fixed out)source · definition
§static struct FBiquad from(struct Biquad bq)source · definition

'bq''s coefficients quantized to Q8.24, with zero state.