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.

1Wat is een filter in digitale signaalverwerking (DSP)?
Een DSP-filter is een wiskundig algoritme dat de frequentie, amplitude of fase van een digitaal audiosignaal wijzigt om gewenste frequenties door te laten en ongewenste componenten (ruis, brom) te verzwakken.
2Waarvoor wordt DSP gebruikt?
DSP wordt gebruikt voor audio-equalization, ruisonderdrukking, galm, echo-onderdrukking, dynamische compressie, telecommunicatie en medische signaalverwerking.
3Wat zijn DFT en FFT in DSP?
De DFT (Discrete Fourier Transform) zet een signaal om van tijds- naar frequentiedomein ($O(N^2)$). De FFT (Fast Fourier Transform) berekent de DFT in $O(N \log N)$, wat realtime analyse mogelijk maakt.
4Wat is het Chebyshev-filter in DSP?
Het is een filterontwerp met een steilere overgang tussen doorlaat- en stopband dan een Butterworth-filter, ten koste van rimpels (ripple) in de doorlaatband (Type I) of stopband (Type II).
5Wat zijn drie basistypes filters?
1) Laagdoorlaatfilter (LPF) dat frequenties onder de afsnijwaarde doorlaat; 2) Hoogdoorlaatfilter (HPF) dat frequenties erboven doorlaat; 3) Banddoorlaatfilter (BPF) dat een specifieke band doorlaat.
6Wat zijn de nadelen van DSP?
Belangrijkste nadelen zijn verwerkingslatentie (buffervertraging), kwantiserings- en afrondingsruis, aliasing-risico's boven $f_s/2$ en benodigde rekenkracht.
7Wat is een laagdoorlaatfilter in DSP?
Een digitaal laagdoorlaatfilter (zoals een biquad IIR) laat frequenties onder de kantelfrequentie ($f_c$) ongemoeid en verzwakt hogere frequenties met een gedefinieerde helling (-12 dB of -24 dB/octaaf).
8Wat is het verschil tussen Butterworth- en Chebyshev-filters?
Butterworth-filters hebben een maximaal vlakke doorlaatband zonder rimpels. Chebyshev-filters bieden een steilere afvalhelling bij dezelfde orde, maar introduceren rimpels en meer faseverschuiving.
9Wat is een Bessel-filter?
Een Bessel-filter is ontworpen voor een maximaal vlakke groepsvertraging (lineaire fase), waardoor de vorm van audiotransiënten behouden blijft zonder overshoot.
10Waarom wordt de Bessel-functie gebruikt?
Bessel-polynomen garanderen een constante groepsvertraging over de gehele doorlaatband, zodat alle harmonische frequenties dezelfde tijdvertraging ondergaan.