csharp
public readonly record struct BiquadCoefficientsThe five coefficients of a second-order section, already normalised.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Public because a biquad is the one filter shape that turns up everywhere — an equaliser band, a muffling low-pass behind a door, the anti-alias filter a resampler wants — and every one of those wants the coefficients without also wanting a bus effect wrapped around them.
Fields and properties (6)
public float B0Feed-forward, current input.
public float B1Feed-forward, one sample back.
public float B2Feed-forward, two samples back.
public float A1Feedback, one sample back.
public float A2Feedback, two samples back.
public static BiquadCoefficients IdentityThe filter that does nothing.
Methods (2)
public BiquadCoefficients(float B0, float B1, float B2, float A1, float A2)The five coefficients of a second-order section, already normalised.
public static BiquadCoefficients Design(BiquadFilterKind kind, int sampleRate, float frequency, float q = 0.70710677, float gainDb = 0)Designs a section.
Used by (3)
- BiquadFilterEffectVixen.Audio
- LoudnessMeterEffectVixen.Audio
- VoiceVixen.Audio