z·Z-LABFILTER DESIGN WORKBENCH
DIGITAL SIGNAL PROCESSING, MADE VISIBLE

Shape your sound.

From poles and zeros to production-ready coefficients.

⌁Butterworth low-pass4TH ORDER
Local workspace

Frequency response

The shape of your filter

Magnitude

Time-domain response

See how your filter settles

♫
Hear the differenceAudition your filter in real time

Z-plane

Grab a root. Change the response.

02
× Poles○ Zeros
● Stable|p|max = 0.8880

Conjugate pairs stay linked. Poles must remain inside the unit circle for stability.

Precision check

03
Response deviation< 0.001 dB
Quantized stabilityStable

Deviation measured where the reference exceeds −80 dB. Export uses the selected coefficients with float arithmetic.

FROM DESIGN TO DEVELOPMENT

Your filter, ready to build.

Coefficients

a₀ = 1
TermValue

Normalized coefficients. All sections are included in your export.

zlab_filter.h
Portable processing core · separate state per channel · zero heap allocation

Save this design

Keep a named snapshot in this browser. Export JSON to move it between devices.

A small guide to shaping sound.

01 · Design

Choose a family, response, cutoff, and sample rate. Butterworth, Chebyshev I/II, and elliptic filters support 2–8 orders in low-pass and high-pass. SVF supports low-pass, high-pass, band-pass, and notch. FIR uses 15, 31, or 63 Hamming-windowed sinc taps.

02 · Explore

Drag a pole × or zero ○, or edit its coordinates. Conjugate pairs move together; real roots stay real. Arrow keys move the selected root by 0.01 (Shift: 0.1). Snap uses a 0.05 grid. Roots outside the plot remain editable in the coordinate fields. Editing roots creates a custom design; changing design parameters regenerates it.

03 · Compare & listen

Pin A/B captures a magnitude reference. Precision check compares rounded coefficients to the double-precision design; Q2.14 saturates to [−2, 2). Audio uses a two-second generated loop and stops when the design changes. Bypass switches to the same dry signal.

04 · Export

Exports include every biquad (or FIR tap). C/C++ kernels compile standalone; JUCE and VST3 adapters need their respective SDKs. VST3 output is a processing component to integrate into an SDK plugin, not a complete plugin project. Use the design sample rate and one state per channel.

Mathematics & implementation notes

H(z) = (b₀ + b₁z⁻¹ + …) / (1 + a₁z⁻¹ + …). Analog prototypes use Ω = 2fₛ tan(πf꜀/fₛ) and z = (2fₛ + s)/(2fₛ − s). SVF uses the bilinear transform of a second-order state-variable transfer function. Stability requires every pole radius to be strictly less than one; no pole-zero cancellation is assumed.

Chebyshev I and elliptic cutoff are passband edges at −ripple dB. Chebyshev II cutoff is its stopband edge at −attenuation dB. FIR cutoff is approximately the half-amplitude (−6 dB) transition center. Plots use double-precision reference coefficients; the precision panel and export use the selected rounding mode. Phase is unwrapped on the sampled frequency grid and is undefined at exact transmission zeros.

FIR delays are implicit in coefficient form; trivial delay poles at the origin are omitted from the Z-plane. Quantization analysis measures coefficient rounding only, not a full fixed-point accumulator implementation.