SNDC_BIQUAD

NAME
SYNOPSIS
PROCESSING

NAME

biquad - Bi-quadratic filter, two poles and two zeroes.

SYNOPSIS

Inputs:

in [BUFFER] [REQUIRED]: input buffer to be filtered.

a1 [BUFFER|FLOAT] [OPTIONAL]: first coefficient of denominator.

a2 [BUFFER|FLOAT] [OPTIONAL]: second coefficient of denominator.

b1 [BUFFER|FLOAT] [REQUIRED]: first coefficient of numerator.

b2 [BUFFER|FLOAT] [REQUIRED]: second coefficient of numerator.

f0 [BUFFER|FLOAT] [OPTIONAL]: resonance frequency.

r0 [BUFFER|FLOAT] [OPTIONAL]: resonance quality.

Outputs:

out [BUFFER]: output buffer.

PROCESSING

Computes y[n] = x[n] + b1 * x[n - 1] + b2 * x[n - 2] - a1 * y[n - 1] - a2 * y[n - 2].

This lets the user design custom biquad filters, however for a more user-friendly biquad-based filter, see filter.