Summary: FIR
One-line summary
A Q&A explaining FIR (finite impulse response) filters’ real advantages (phase manipulable independently of frequency response; constant delay at all frequencies) and real costs (huge latency — up to 50ms to process down to 20Hz — plus tap-count/frequency-resolution tradeoffs), concluding with a DSP manufacturer’s (Ken Ward, bit Virtuoso) description of a practical hybrid FIR/IIR/all-pass-filter approach used in real car-audio products.
Key takeaways
- The question posed: since car EQ also has to reverse “room”-induced phase shifts (not just correct frequency response), wouldn’t IIR filters actually be more appropriate for vehicle applications than FIR? What’s the actual advantage of having FIR available in a car DSP?
- FIR’s real advantages: (1) it can shape PHASE independently of frequency response, in essentially any arbitrary shape; (2) the delay through an FIR filter is the SAME at every frequency — a direct answer to the concern (addressed independently in group-delay-and-crossover-relocation-myth) that IIR’s cascading, frequency-dependent group delay “destroys the harmonic structure of the music.”
- How FIR filtering works, mechanically: uses linearly-spaced frequency “taps” — a 512-tap filter gives ~40Hz resolution (20,000Hz / 512), which is coarse at low frequencies (one band per octave in the lowest 20-40Hz octave) but very fine at high frequencies (250 bands per octave from 10-20kHz) — an uneven, not-quite-optimal resolution distribution.
- Two ways to improve low-frequency resolution: (1) increase the number of taps (increasingly computationally expensive, and it also densifies high-frequency resolution unnecessarily); (2) split into multiple filters by frequency range (“fast convolution” — e.g. one 512-tap filter below 1kHz, another above) — effective but tricky to stitch back together cleanly.
- A common real-world hybrid design: retain FIR only for high frequencies, process low frequencies with IIR, and add a “makeup delay” to the IIR-processed section to match the FIR section’s constant delay — balancing FIR’s phase-shaping benefit against its computational and latency costs.
- FIR’s major real-world drawback — latency: processing all the way down to 20Hz through an FIR filter can require ~50ms of signal delay (not counting any other latency sources). This is large enough to noticeably desynchronize what a live audience sees vs. hears at a concert, which is why FIR isn’t commonly used for live pro-sound. In a car specifically, 50ms is more than enough to completely break Bluetooth hands-free call performance in an aftermarket product connected to an OE system — a real-world failure mode the author states he personally fielded support calls about at a previous job.
- Real-world commercial implementations mentioned: DIRAC Live reportedly uses IIR for frequency-response correction plus a pair of FIR filters for phase-related work (matching L/R phase, modifying the impulse tail) — exact mechanism not fully documented even by the author. MiniDSP (8-12 CDSP, OpenDRC models) offers accessible FIR experimentation; some newer Audison processors reportedly include an FIR option pitched specifically as eliminating crossover group-delay buildup.
- Ken Ward’s (DSP manufacturer) reply — a concrete production hybrid design: their bit Virtuoso processor uses FIR for certain functions (input EQ) but explicitly does NOT use FIR below 100Hz, for the same latency reasons Andy explains. Their own product evolution: introduced FIR first, then added all-pass filters, then an FIR-phase-manipulation algorithm paired with their “bit Tune” measurement system — measuring phase with bit Tune, then using a COMBINATION of delay and FIR to automatically manipulate phase, with all-pass filters available for manual phase manipulation. This hybrid FIR/IIR/all-pass approach is stated to resemble what Dirac and Audyssey use as well.