PURIFI pre-echo probe tracks
============================
Danish Sound Day 2026 · "Solved? Look Again" · PURIFI Audio · purifi-audio.com

What this is
------------
Test tracks for finding pre-echo in DACs, ADCs and sample-rate converters.

A linear-phase digital filter with passband ripple produces two faint copies
of every sound: one after it and one BEFORE it, the pre-echo. In an ordinary
impulse response the copies hide inside the filter's band-edge ringing.

These tracks play a short, smooth pulse that has (almost) no energy at the
band edge. It does not excite the ringing, so the echoes become visible.
Average many pulses, plot the result in dB, and look before the main pulse.

Rules of thumb:
  - Passband ripple of +/-r dB gives echoes at about (ripple level - 6 dB),
    i.e. 20*log10(d/2), where d = 10^(r/20) - 1.
    Examples: +/-0.01 dB -> -66 dB; +/-0.001 dB -> -86 dB.
  - The echo sits at the filter's first and last taps: half the filter
    length before and after the sound.
  - Minimum-phase filters give no pre-echo, but one post-echo 6 dB stronger.


The files
---------
All files: stereo (both channels identical), 24-bit PCM WAV with TPDF dither.
Each has 32 s of signal: 1 s of lead-in, 600 pulses, 1 s of tail.

  probe_track_44k1_bandpass.wav       44.1 kHz
  probe_track_44k1_lowpass.wav        44.1 kHz
  probe_track_48k_bandpass.wav        48 kHz
  probe_track_48k_lowpass.wav         48 kHz
  probe_track_88k2_bandpass.wav       88.2 kHz
  probe_track_88k2_lowpass.wav        88.2 kHz
  probe_track_96k_bandpass.wav        96 kHz
  probe_track_96k_lowpass.wav         96 kHz
  probe_track_96k_src48_bandpass.wav  96 kHz, for testing 96 -> 48 kHz conversion
  probe_track_96k_src48_lowpass.wav   96 kHz, for testing 96 -> 48 kHz conversion

Play the file whose rate matches the rate you want to test: the device's
filter for that input rate is what you measure.

BANDPASS or LOWPASS?

  bandpass (use this for analog measurements)
    The pulse has no DC and nothing below about 1% of fs. Analog paths are
    AC-coupled; a pulse with DC kicks their high-pass filters, and the slow
    tails pile up into a plateau around -60 dB that hides everything.
    The bandpass pulse avoids this.

  lowpass (use this for digital paths)
    The plain smooth pulse. It is shorter, so it resolves echoes closer to the
    main pulse. Use it where the chain is DC-coupled: bit-exact digital
    captures, software resamplers, plug-ins.

  src48 versions
    Played at 96 kHz, but the pulse lies entirely inside 0.48-20 kHz. A
    resampler's 48 kHz output then contains the whole pulse, and the ideal
    48 kHz reference is simply every second sample.


The signal in detail
--------------------
Probe: a Dolph-Chebyshev window, the shortest pulse that is at least 160 dB
down in its stopband.
  - bandpass: the window is modulated to about fs/4, and is >= 160 dB down
    below fLow and above fStop.
  - lowpass: >= 160 dB down above fStop.

  file              shape     taps  length    fLow       fStop
  44k1_bandpass     bandpass   29   0.63 ms   0.44 kHz   19.5 kHz
  44k1_lowpass      lowpass     9   0.18 ms   -          19.5 kHz
  48k_bandpass      bandpass   29   0.58 ms   0.48 kHz   21.2 kHz
  48k_lowpass       lowpass     9   0.17 ms   -          21.2 kHz
  88k2_bandpass     bandpass   29   0.32 ms   0.88 kHz   39.0 kHz
  88k2_lowpass      lowpass     9   0.09 ms   -          39.0 kHz
  96k_bandpass      bandpass   29   0.29 ms   0.96 kHz   42.4 kHz
  96k_lowpass       lowpass     9   0.08 ms   -          42.4 kHz
  96k_src48_bandpass bandpass  63   0.65 ms   0.48 kHz   20.0 kHz
  96k_src48_lowpass lowpass    29   0.29 ms   -          20.0 kHz

  fStop = 0.442*fs (20 kHz for the src48 files): the probe stops before the
  band edge of the filter under test.

Timing:
  - One pulse every 50 ms. The period P in samples is 2206 at 44.1 kHz
    (an even number, so 50.02 ms), 2400 at 48 kHz, 4410 at 88.2 kHz and
    4800 at 96 kHz.
  - The first pulse is centred 1 s + P/2 after the start of the file. The
    pulses are evenly spaced, exactly P samples apart.

Polarity:
  - The pulses alternate +, -, +, - ... (the first one is positive).
  - Multiply each segment by its sign before averaging. This cancels
    even-order distortion and DC.

Level:
  - Pulse peak -6 dBFS.

Keep-alive:
  - A steady sine at -60 dBFS runs under the pulses, exactly one cycle per
    period (about 20 Hz).
  - It stops DACs with auto-mute (some mute on digital silence and then catch
    each pulse while un-muting, 30 dB low).
  - It cancels exactly in the alternating-polarity average. A gentle high-pass
    (e.g. 150 Hz) in the analysis removes any remainder.


How to measure
--------------
1. Digital path (resampler, plug-in, streaming software): capture the output
   bit-exactly. Use the lowpass track, or the src48 track for 96 -> 48 kHz.

2. DAC: play the matching bandpass track bit-perfect.
   - Use exclusive mode or ASIO. Turn off OS resampling, volume processing,
     EQ and "enhancements".
   - Record the analog output with a good ADC, ideally at a higher sample
     rate (e.g. 176.4 kHz for a 44.1 kHz track). The ADC's own filter then
     sits far above the audio band and drops out of the result.
   - Recording at the same rate works, but the result is then DAC and ADC
     together.
   - Keep the recorded peak below about -3 dBFS. Clipping survives the
     average and looks like long ringing.

3. Analysis:
   a. Find the delay to the first pulse.
   b. Cut the recording into the 600 segments of one period each, centred on
      the pulses.
   c. Multiply each segment by its polarity sign (+1, -1, +1, ...) and
      average.
   d. Plot 20*log10(|average| / peak) against time. Look for bumps before
      the main pulse.
   Noise floor estimate: average the even and odd pulses separately; half
   their difference is noise only.

   If the DAC and the recorder run on separate clocks, the pulse positions
   drift slowly. Measure each pulse's position (e.g. cross-correlation with
   the probe), fit a straight line, and shift each segment by its fractional
   offset before averaging.

What a clean result looks like:
  - The main pulse, with the probe's own smooth skirt.
  - A noise floor 130 dB or more down.
  - Nothing before the pulse.

Echo pairs at the same distance before and after the pulse are passband
ripple; their level and timing tell you the ripple and the filter length.
Converter "apodizing" or "slow" filter settings are worth comparing: in our
tests one apodizing setting added 28 dB of pre-echo.


Listening safety
----------------
These are click trains at -6 dBFS peak with a low hum underneath. They are
meant for measurement, not listening. If you monitor them, start at low
volume.


Free to use for measurement. If you publish results, please mention PURIFI
Audio and this test signal.
