With more testing, the situation gets interesting.
I am capturing these REW sweeps with a Tascam DA-3000 recorder.
When I play the digital sweep through my DAC/Preamp (Corda Soul) and record its balanced analog output, it is perfect. Same when I record the balanced output of the Topping E70 DAC.
But when I play that digital stream directly to the Tascam's SPDIF input, it must go through a toslink/coax converter. In this case I get the glitches above.
However, the Tascam DA3000 has a built-in sample rate converter. If I enable this, the glitches go away entirely.
This should not make any difference because I am manually setting the DA3000 sample rate to match the source, so there is never any sample rate conversion, even when the converter is enabled.
So here's one theory that fits these observations:
- The toslink/coax converter box is introducing jitter or sample rate variations.
- The Tascam DA3000 occasionally loses sync and glitches because the variations are too much for it to adapt to.
- When you enable the DA3000 sample rate converter, it enables it to adapt to bigger variations in sample rate/jitter.
Put differently, when the DA3000 sample rate converter is disabled, it is very strict about adapting to incoming sample rates. If the clocks are even slightly off, or there is jitter, it loses sync and glitches. When you enable its sample rate converter, it is more forgiving and adapts to bigger variations.
This is similar to the DPLL setting in some DACs that adjusts how much it will adapt to sample rate variations & jitter.