Skip to Content

DAC Filters: Solved? Look Again

The pre-echo hiding inside the ringing, and a probe you can use to find it

This Tech Note expands on the talk we gave at Danish Sound Day 2026 under the theme “Solved? Look again”. It explains how we chose the upsampling filter for our new EigenDAC.

Introduction

Releasing a new DAC means adding one more to a market that already has a great many of them. Most look excellent on paper: flat to 20 kHz, 120 dB of stopband rejection and THD+N around −120 dB. The general view is that the digital filter has been a solved problem since the 1990s.

The filter debate of recent years has mostly been about the ultrasonic range: ringing at the band edge, “apodizing” filters and ever higher sample rates. Meanwhile, a problem inside the audible range was identified decades ago and then largely forgotten. That problem is pre-echo from the interpolation (upsampling) filter. It is not confined to the band edge. It is a broadband copy of the whole passband, so every transient in the music gets a faint early copy of itself.

In this note we show where the pre-echo comes from, why it hides so well, and a simple test signal (a probe) that makes it visible. You can download the probe and try it on your own equipment. We also show what we measured on some real devices.

A textbook-perfect filter

A DAC needs a band-limiting filter. To reconstruct the signal without images, the filter must pass everything up to 20 kHz and remove everything from 22.05 kHz (for 44.1 kHz material). The figure below shows a typical sharp filter of this kind: a Parks–McClellan design with 225 taps at 88.2 kHz. The response is flat to 20 kHz and 120 dB down from 22.05 kHz. Zooming in on the passband shows a ripple of ±0.01 dB.

By any audio standard, that is flat. Most people can hear a level change of 3 dB, some can hear 1 dB and trained listeners can hear fractions of a dB, but 0.01 dB is far below all of that. In the frequency domain this filter is textbook perfect.

Amplitude response of a sharp filter: flat to 20 kHz within ±0.01 dB, then 120 dB down from 22.05 kHz

It rings. So what?

Here is the same filter's impulse response. The ringing on both sides of the peak, including before it, is what most people point to and call bad. Maybe it is, maybe it is not. Ringing is simply what a band limit looks like in time: a filter that removes everything above 22 kHz has to ring at about 21 kHz. Only signals with substantial energy near 21 kHz will excite that ringing, and our hearing is not very sensitive there. In the 1990s, impulse response plots like this were a standard part of CD player reviews, and they all looked the same.

Impulse response of the sharp filter on a linear scale: a central peak with ringing on both sides

On a dB scale, the ringing lasts as long as the filter itself: 225 taps, or 2.54 ms, from the first tap to the last. Note the small bumps right at the ends; we will come back to them. Stopband depth, ringing and impulse response length are the surrogate markers that get optimised and argued about. The more interesting question is what is hiding inside the ringing.

The impulse response in dB: ringing out to the filter's first and last taps, 225 taps, 2.54 ms

Design the test around the question: the probe

To answer “what hides inside the ringing?”, we use a tool that is almost embarrassingly simple. Instead of an impulse, we play a short, smooth pulse. It is about a quarter of a millisecond long and has nothing at the band edge: its spectrum is 140 dB down from 20 kHz. Technically it is a Dolph–Chebyshev window, the shortest pulse with that deep a stopband. Because it has no energy where the filter rings, it cannot excite the ringing.

The probe: a 0.25 ms smooth pulse whose spectrum is 140 dB down from 20 kHz, where the filter rings

When we play the pulse through the filter and look on a linear scale, the output looks perfect: what goes in comes out. There is no ringing at all. You could say that the pulse is filtered by the DAC filter, but it is equally true, and perhaps more telling, to say that the ringing of the DAC filter is filtered away by the pulse.

The pulse in and the pulse out of the filter, linear scale: they look identical

What was hiding in the ringing

Zoom in on a dB scale and the picture changes. The ringing is gone, but two copies of the pulse remain, 66 dB down, 1.24 ms before and 1.24 ms after the sound. They sit exactly at the filter's first and last taps, and they are the small bumps we saw at the ends of the impulse response.

The copy before the sound is the pre-echo. It is not the ringing. It is a broadband copy of everything in the passband, all the way down to DC, so every transient in the music gets its own early copy. And its cause is the ±0.01 dB passband ripple: the very number on the datasheet that says “flat”.

Zoomed in, in dB: the ringing is gone, but two copies of the pulse remain at −66 dB, 1.24 ms before and after

A ripple is a comb

A little mathematics explains why. A cosine in the time domain corresponds to a symmetric pair of spikes in the frequency domain. The reverse is also true: a cosine-shaped ripple in the frequency domain, 1 + δ·cos(2πfτ), corresponds to two copies of the signal in time, each of size δ/2, one at −τ (before the sound) and one at +τ (after it).

This is the familiar comb filter. A wall reflection arriving 1 ms late combs the frequency response with a period of 1 kHz. The ±0.01 dB passband ripple of our filter is the same comb, only tiny and symmetric: a ripple period of 806 Hz corresponds to copies at ±1.24 ms, at about −66 dB. As a rule of thumb, each echo sits at the ripple level minus 6 dB.

Why are there copies on both sides? A single late copy, 1 + δ·e−jωτ, wiggles both the magnitude and the phase. Adding the mirror copy at −τ cancels the phase wiggle and leaves pure amplitude ripple, that is, linear phase. So the pre-echo is the price of linear phase combined with passband ripple. And because the ripple multiplies the whole passband, each echo is a copy of the complete filter response, ringing included. That is why it hides inside the ringing. The classic reference is Wheeler's 1939 paper on “paired echoes”.

A deeper stopband does not help

A natural first reaction is to improve the stopband. In the next two figures we sweep the stopband from 70 dB to 150 dB while keeping the ±0.01 dB passband ripple. The echo level does not change at all, because the ripple sets the level. However, a deeper stopband needs a longer filter, so the pre-echo moves earlier: from about 0.9 ms before the sound with a 70 dB stopband (157 taps) to 1.4 ms with 150 dB (263 taps).

70 dB stopband, 157 taps: pre-echo at −0.88 ms

150 dB stopband, 263 taps: pre-echo at −1.42 ms, same level

Yet spending extra processing power on stopband depth is what the industry has done since the 1990s. At a fixed filter length, stopband depth and passband ripple trade roughly one for one in dB. So the 40 dB that went into the stopband could instead have bought 40 dB less pre-echo at the same cost.

Ripple sets the echo level, filter length sets the echo time

Now take the other direction. If we reduce the passband ripple from ±0.01 dB to around ±10−7 dB, the echo drops by about 100 dB to roughly −165 dB, right on the “ripple level − 6 dB” line. The filter grows to 379 taps, though, and the echo moves out to about 2.2 ms.

Passband ripple ±1.1·10^−7 dB, 379 taps: pre-echo at −165 dB, 2.16 ms early

If we then widen the transition band, the filter shrinks to 121 taps and the echo comes back in to 0.7 ms, still at −165 dB. Ripple sets the echo level; filter length sets the echo time. (This end point is an illustration of the principle, not the actual EigenDAC filter.)

Wider transition band, 121 taps: pre-echo still at −165 dB, now 0.71 ms early

None of this is new. Julian Dunn proposed exactly this direction in 1998 (AES preprint 4734): his 63-tap filter, with ±0.000006 dB passband ripple, gave echoes at −126 dB, ±0.18 ms. At the time, DSP hardware was slow and expensive, so filters had to be kept simple. That is no longer a concern with today's silicon, so there is little excuse not to do it right.

What we chose for EigenDAC

The EigenDAC interpolation filter has a passband ripple of ±1.5·10−7 dB, which puts the echoes below −160 dB. To keep the filter short, and the echoes close to the sound, we accept a gentle roll-off of −0.1 dB at 20 kHz. On a datasheet that looks worse than “flat to 20 kHz within ±0.01 dB”. We chose it on purpose. Ripple this small also places demands on the implementation: coefficient precision matters, and 24 bits is not enough.

Measuring real devices

To check that the theory holds up in practice, we ran the probe through some real devices.

A studio interface: minimum phase

First, a well-regarded studio interface, with its own output looped back into its own input. There is nothing before the sound: its filters are minimum phase, an obvious choice for a product where low latency matters. The orange curve shows what the same measured magnitude response would give with linear phase: a symmetric pair of echoes.

Minimum phase puts a single copy of size δ after the sound instead of two copies of δ/2, so that echo is 6 dB stronger. This is the same phasor argument as in the comb section. The price shows up on the right: the top octave arrives late, with the group delay rising steeply towards the band edge, to roughly 0.1–0.2 ms at 17–18 kHz. Minimum phase also cannot remove pre-echo that is already in a recording made with a linear-phase ADC.

Studio interface DA to AD loopback: no pre-echo, one stronger post-echo, group delay rising towards the band edge

One DAC, three filter settings

Next, a consumer DAC with selectable filters, fed over AES and measured with the same probe in three settings:

  • Linear phase, fast: a pre-echo at −114 dB, 0.74 ms early. Tiny; this is a very good filter.
  • Apodizing, the setting marketed as the cure for “pre-ringing”: a pre-echo at −86 dB at about the same distance. That is 28 dB more, or 25 times stronger.
  • Minimum phase: no pre-echo, but the echoes move after the sound and get stronger (−96 dB and −103 dB).

The “cure” removes the ringing you can see on a plot and amplifies the echo you cannot see. To be fair, these levels are small, and nobody knows where the audibility threshold lies. Our claim is about the direction, not that you can necessarily hear it. (The grey “recorder” hump comes from the measuring interface and is the same in all three plots.)

One DAC, three filter settings: linear phase fast −114 dB pre-echo, apodizing −86 dB pre-echo, minimum phase post-echoes at −96 and −103 dB

Three DACs, the same probe

Finally, the same probe through three DACs. Two of them use linear-phase filters of the same type, yet their pre-echoes are 41 dB apart: −73 dB for DAC-Y, the sharp filter of a widely used current DAC chip that specifies only ±0.005 dB of passband ripple, against −114 dB for DAC-X. The datasheet ripple number decides the pre-echo: ±0.005 dB predicts −71 dB. DAC-Y also confirmed the phasor argument from the comb section. Its minimum-phase mode puts a single echo after the sound at the same 0.58 ms, at −66.5 dB: 6 dB above the linear-phase pair, exactly as predicted.

For comparison, NPC's 8× oversampling filter chips of the 1990s were far better. The SM5842 datasheet (1995) specifies ±0.00002 dB of passband ripple, which puts the echoes near −119 dB. These early chips used half-band filters to save hardware, and that design forces symmetry between passband and stopband: a blessing in disguise. Today's chip is nearly 50 dB worse than its 1990s predecessor. Some knowledge has simply been forgotten.

The third trace is EigenDAC: nothing before the sound and nothing after it, down to −140 dB, as far as we can measure. (DAC-X and DAC-Y were recorded at 44.1 kHz, where the recorder adds its own post-response; EigenDAC was recorded at 176.4 kHz.)

Three DACs, the same probe: DAC-Y pre-echo −73 dB, DAC-X pre-echo −114 dB, EigenDAC nothing before or after the sound down to −140 dB

A software resampler, done well

Honest evidence includes the good results. Music players often resample in software before the signal ever reaches the DAC, so we also tested Roon's default sample rate converter, converting a 96 kHz track to 48 kHz. We captured the output bit-exactly, with no converters in the chain, and averaged 1024 pulses.

Down to −160 dB there is nothing before the sound, only a short, smooth tail after it. Like the studio interface, it behaves as a minimum-phase filter, but with about 40 times less passband ripple: it is flat within ±0.001 dB up to 18 kHz. The same capture also gives the group delay. The top octave arrives about 0.1 ms late at 18 kHz, a little less than with the studio interface, which is consistent with a deep stopband starting around 23 kHz. This one is done well.

Roon SRC 96 to 48 kHz, default filter, bit-exact capture: nothing before the sound down to −160 dB, a short tail after it

How our measurements fooled us

If you try this yourself, be warned that the measurement chain is part of the system under test. While preparing the talk, each of the following first looked like a real result. Each was caught by asking “does this make physical sense?”

  1. The plotting tool. MATLAB's default resample() in our plotting envelope has its own interpolation filter, and it drew echo-like bumps of its own at −65 dB.
  2. AC coupling. The studio interface is AC-coupled. A probe with DC content kicked its high-pass filters, and their tails buried everything under a −60 dB floor. The fix was a band-pass version of the probe.
  3. The DAC's auto-mute. A consumer DAC muted itself during the silence between pulses and caught each pulse while unmuting, 30 dB low. The fix was a −60 dBFS keep-alive tone that cancels exactly in the average.
  4. Clipping. The input clipped at the pulse peaks. Symmetric clipping survives the alternating-polarity average and looked like long ringing.
  5. A USB stick. A file copied to the music server was pulled without a safe eject. The last 10 seconds were garbage, and we first blamed our capture code.

On top of that, one of our own hypotheses about which converter caused which hump had to be withdrawn when a better measurement disagreed.

Try it yourself: free probe tracks

The probe tracks are free to download, together with a readme that explains how to run the test: download the PURIFI probe tracks.

The probe in the test tracks is not quite the pulse shown above. Analog DACs and ADCs are AC-coupled, and a pulse with DC content kicks their high-pass filters, burying the echoes under a −60 dB tail. So the test tracks use the same idea moved up to fs/4. The band-pass probe has no energy below 0.44 kHz (no DC) and none at the band edge from 19.5 to 22.05 kHz, where the DAC filter rings, and both regions are more than 160 dB down. Having to avoid both ends makes it a little longer: 0.63 ms (29 taps at 44.1 kHz) against 0.18 ms (9 taps) for a low-pass probe. Because the band-pass probe oscillates, the measurement plots show its envelope.

The test-track probe: a low-pass probe of 0.18 ms and a band-pass probe of 0.63 ms, with spectra free of DC and of the band edge

Solved? Look again

Pre-echo from converter filters was studied as early as 1984, when Lagadec and Stockham found it audible at much larger levels than today's (±0.2 dB ripple, giving echoes at −32 dB, ±40 ms). Their echoes were 40 ms away, outside the ear's backward masking. Today's echoes sit within 0.5–1.3 ms of the sound, inside that window, so that result does not settle the threshold. It does support an asymmetry: a pre-echo is likely to cost more than a post-echo of the same level, as it does in perceptual audio coders. Julian Dunn suggested a solution in 1998 and asked for its audibility to be studied. Where is the threshold? We still do not know, because nobody seems to have tested it properly since. Meanwhile, the industry has optimised stopband depth, ringing and ultrasonic behaviour, while a broadband echo across the whole audible range has gone largely unnoticed.

The fix is not expensive. It takes a filter designed for low passband ripple, enough coefficient precision, and the willingness to accept a datasheet line that looks slightly worse. That is what we did for EigenDAC. The future comes by itself; progress does not. Download the tracks and look for yourself.

References

The pre-echo story is old. So are short, gentle filters. In chronological order:

  • 1939: H. A. Wheeler, “The interpretation of amplitude and phase distortion in terms of paired echoes”, Proc. IRE 27(6), pp. 359–384. Shows that passband ripple equals a pair of echoes, one before and one after.
  • 1984: R. Lagadec and T. G. Stockham, “Dispersive models for A-to-D and D-to-A conversion systems”, AES 75th Convention, Paris, preprint 2097. Found filter pre-echoes audible at larger levels (±0.2 dB ripple: −32 dB at ±40 ms).
  • 1991: R. H. Wilkinson, “High-fidelity finite-impulse-response filters with optimal stopbands”, IEE Proceedings G 138(2). A maximally flat passband with an optimal stopband: no ripple, so no echo pair.
  • 1992: Pioneer Legato Link Conversion, in the Pioneer Elite PD-65 CD player, reviewed by L. Feldman, Audio, December 1992. A gentle, short reconstruction filter in a CD player, a decade before “apodizing”.
  • 1995: Pacific Microsonics HDCD (K. O. Johnson and M. Pflaumer). The encoder picks the anti-alias filter by content, and the PMD-100 decoder (8×, 27-bit coefficients, 120 dB stopband) applies the matching filter. Time-domain behaviour as an explicit design target, a decade before apodizing.
  • 1995: NPC SM5842 / SM5847 8× oversampling filter chips. The datasheet specifies ±0.00002 dB passband ripple and 117 dB stopband, giving echoes near −119 dB. A current sharp filter mode with ±0.005 dB ripple gives about −71 dB.
  • 1998: J. Dunn, “Anti-alias and anti-image filtering: the benefits of 96 kHz sampling rate formats for those who cannot hear above 20 kHz”, AES 104th Convention, Amsterdam, preprint 4734. Measured echo pairs in converter chips, proposed low ripple and a wide transition band, and asked for audibility tests. Julian Dunn died in 2003, aged 41.
  • 2004: P. Craven, “Antialias filters and system transient response at high sample rates”, J. Audio Eng. Soc. 52(3), pp. 216–242. Apodizing: a single filter that ends before every upstream band edge removes the ringing (but not the echoes).
Sign in to leave a comment
Purifi EigenDAC: White Paper and Designer’s Notes
by Bruno Putzeys