Skip to main content

Interactive DSP Parametric Filter Sandbox

Standby
Live Audio Filter H(f)

Interactive Filter Sandbox Ready

Click any Preset below or click Pink Noise / Filter Mic to audition live.

1.0
1,000 Hz

Instant DSP Filter Presets

Click any preset card to instantly load parameters and audition live spectral filtering.

Click card to audition

Understanding Audio Biquad Filters & Frequency Response

Biquad filters are second-order Infinite Impulse Response (IIR) digital filters implemented according to Robert Bristow-Johnson's Audio EQ Cookbook ↗ and the W3C BiquadFilterNode specification ↗:

  • High-Pass Filter (HPF): Passes frequencies above cutoff while rolling off low rumblings below cutoff at -12 dB/octave. Essential for eliminating microphone handling rumble, HVAC noise, and subwoofer port over-excursion.
  • Low-Pass Filter (LPF): Passes low frequencies while attenuating high treble hiss, ultrasonic interference, and digital DAC aliasing harmonics.
  • Band-Pass Filter (BPF): Isolates a narrow musical frequency band determined by the center frequency and resonance Q factor.
  • Notch Filter: Surgically removes a pinpoint frequency spike (such as 50Hz or 60Hz AC electrical power hum) with minimal side attenuation.

The Q Factor (Quality Factor / Resonance)

In parametric filtering, Q = f₀ / Bandwidth. A low Q (0.5 to 0.707 Butterworth) creates a broad, musically smooth slope. A high Q (5.0 to 15.0) focuses filter energy into an ultra-sharp surgical cut, perfect for notching out ground loop hums or acoustic feedback without affecting nearby musical harmonics.

Real-Time Spectral Verification

The live spectrum visualizer above displays the 4096-point FFT transfer function in real time. Compare the raw signal against the filtered output using the Filter Active / Bypass toggle to evaluate phase impact and attenuation depth.

DIGITAL SIGNAL PROCESSING FAQ

Frequently Asked Questions on DSP Audio Filters

Comprehensive breakdown of filter types, Butterworth vs Chebyshev vs Bessel, FFT/DFT transforms, and DSP pros & cons.

1What is a filter in DSP?
A filter in Digital Signal Processing (DSP) is a mathematical algorithm that modifies the frequency, amplitude, or phase characteristics of a discrete digital audio signal—passing desired frequency bands while attenuating unwanted components (e.g. noise, rumble, or aliasing).
2What is DSP used for?
DSP is used for audio equalization, noise cancellation, reverb/delay spatial effects, acoustic echo suppression, dynamic range compression, telecommunications, speech recognition, radar/sonar signal processing, and medical imaging (MRI/ECG).
3What is DFT and FFT in DSP?
DFT (Discrete Fourier Transform) is the mathematical transformation that converts a discrete time-domain signal into its constituent frequency-domain spectral components ($O(N^2)$ complexity). FFT (Fast Fourier Transform) is an algorithm that computes the DFT exponentially faster ($O(N \log N)$ complexity), enabling real-time audio spectrum analysis.
4What is the Chebyshev filter in DSP?
A Chebyshev filter is a digital/analog filter design that achieves a steeper roll-off transition between passband and stopband than a Butterworth filter, at the cost of introducing mathematical equiripple in either the passband (Type I) or stopband (Type II).
5What are three types of filters?
Three fundamental types of filters are: 1) Low-Pass Filter (LPF), which passes frequencies below a cutoff frequency and attenuates higher frequencies; 2) High-Pass Filter (HPF), which passes frequencies above a cutoff frequency and cuts lower frequencies; and 3) Band-Pass Filter (BPF), which passes a specific band of frequencies between two cutoff points.
6What are the disadvantages of DSP?
The main disadvantages of DSP include: 1) Processing Latency (ADC/DAC conversion and buffer computation introduce slight delay); 2) Quantization & Round-Off Noise (finite bit-depth calculation limits); 3) Aliasing Risks (frequencies exceeding the Nyquist rate $f_s/2$ fold into audible bands); and 4) Computational & Power Demands.
7What is a low-pass filter in DSP?
A low-pass filter (LPF) in DSP is a digital filter algorithm (such as a biquad IIR or FIR filter) that allows frequencies lower than the cutoff frequency ($f_c$) to pass unchanged while rolling off frequencies above $f_c$ at a defined slope (e.g. -12 dB/octave or -24 dB/octave).
8What is the difference between Butterworth and Chebyshev filters?
Butterworth filters have a maximally flat magnitude response in the passband with zero ripple and a gentle roll-off slope. Chebyshev filters provide a significantly steeper roll-off transition for the same filter order, but exhibit amplitude ripple (passband Type I or stopband Type II) and non-linear phase response.
9What is a Bessel filter?
A Bessel filter is a linear filter designed for maximally flat group delay (linear phase response). It preserves the exact time-domain waveform shape of transient audio signals without ringing or phase distortion, making it ideal for high-fidelity audio crossovers and pulse filtering.
10Why is the Bessel function used?
The Bessel function is used in DSP and filter design because polynomials derived from Bessel differential equations provide constant group delay across the entire passband, ensuring that all harmonic frequencies travel through the filter with identical time delay (zero phase distortion).