Q: So what is clock jitter?
A: Digital audio is based on sampling an audio signal at regular intervals; a clock must keep those intervals consistent. If the clock's frequency varies during AD conversion, the waveform will be at the wrong amplitude at each sample point, causing the audio to be permanently distorted. If the clock regulating the playback converter is inconsistent, distortion is similarly induced, even if the original capture was done with a clean, consistent clock. The inconsistency is called jitter. A single cycle, or period, at 44.1kHz lasts 22.7 microseconds; according to Dr. Katz' measurements, variations in that period as short as 10 picoseconds can cause audible artifacts, "...depending on the quality of the reproduction system and our hearing acuity. As sample rate increases and wordlength expands, jitter must be proportionately lower to maintain sound quality."
I want to stop for a second here, and point out a couple of things that are not obvious and are maybe a little counterintuitive; firstly, that playback jitter is not permanent, and secondly, you'd think that higher sample rates would help reduce the jitter problem rather than exacerbate it, since you're taking more samples, but you'd be wrong.
At this point, I'm gonna just quote a few paragraphs from Chapter 21 of Mastering Audio; if you need to know the theory and the measurement data, it's in the book; I'm more concerned with the conclusions. (bet you were, too)Jitter must be proportionally lower to maintain sound quality at higher sampling rates, because jitter affects the absolute noise floor and produces sidebands (additional frequencies or tones) that mask inner detail in a recording. We can measure jitter in two places: interface jitter, the jitter between two connected devices, and sampling jitter, the jitter in the clock that drives a DA or AD converter. Quoting Bob, again, "Luckily, sampling jitter can be so reduced that it becomes inaudible; if a converter has excellent internal jitter rejection, then even high interface jitter may not result in audible sampling jitter." and, " ...we are mostly concerned with sampling jitter, because interface jitter is rarely important, unless it causes a breakdown in communication between devices."
This is a kind way of saying that external clocking and fancy cables are a waste of time and money. Unless you're synchronizing multiple digital input units, there is only one use for that word clock input on the back of your interface; it tells you that you've bought a professional interface, rather than a piece of consumer gear."If leaping to conclusions about jitter were an Olympic event, sound engineers would win the gold medal-an entire subculture continues to evolve around digital cables and word clock generators in an attempt to achieve better sound reproduction. This has led some engineers to change cables everywhere they hear that such a replacement makes a difference, or to experiment with 'stable" external clocks, each of which produces a different 'sound'. I don't blame them for trying, but the fact is that jitter problems must ultimately be solved within the converters themselves. No cable can remove the inherent jitter problems in the AES/EBU-S/PDIF interface, because the embedded clock interacts with the data stream. Thus, external jitter reduction units will always be limited in their effectiveness because jitter may be increased at the output interface between the jitter reducer and the DAC."
This is one reason I chose a Firewire interface for my studio, rather than a PCI or PCIe card.Clock Stability Requirements For converters
An ordinary crystal oscillator is sufficient for a computer that processes data, but audio converters require an extraordinarily stable master oscillator. To get 20-bit performance at 44.1kHz requires oscillator stability (jitter) at or below 25 picoseconds peak-to-peak One nanosecond (1k picoseconds) in the time domain equates to 1Ghz, which is why a critical converter's circuitry must be shielded and isolated from even the tiniest RFI or clock leakage that can enter via power supply, grounds or emissions. It is now obvious why good-sounding converters are rare and expensive, and why the converters on most computer cards do not sound very good: there are a lot of interference and power supply issues within a computer chassis.
Bob goes on to mention some emerging jitter-immune converter technologies that use an Asynchronous Sample Rate Converter (ASRC) rather than a Phase-Locked Loop design' "If this technology becomes established, then good-sounding, inexpensive, jitter-immune ADCs will be easily available and much of this chapter will be unnecessary!"How To Get The Best Performance Out Of Converters
There are two ways to clock a converter:
Internal Sync, where a (hopefully) stable crystal clock located inside the converter (very close to the sampling clock pin of the converter, for best audio performance) directly drives the circuitry. This is not very costly in parts, but does require good layout and power-supply design.
External Sync, which as we have seen, cannot be used directly, and requires a PLL, perhaps the fundamental culprit of jitter-induced converter artifacts. The PLL has to filter jitter caused by poor source clocks, by the AES/EBU line, itself, or by interference along the cable that brings in the clock. Thus the common use of unbalanced wordclock cables can cause ground loops in the clock signal itself. Since it is far more difficult and expensive to build a good PLL than a stable crystal oscillator, only in an excellent converter design can jitter performance be as good as or negligibly worse than via internal clock."
A few bullet points:
Jitter does not affect the data in an all digital mix in digital consoles that contain no ASRCs
There is no jitter in a storage medium so there is no jitter in your CDs, nor on your hard drive
The internet has no jitter the data packets meet a clock for the first time when they are output to a DAC
Jitter affects the data during a digital mix only when signal leaves the digital realm or when using a console with ASRC converters
Jitter becomes meaningful in a digital mix only during monitoring, when the data is clocked out of a DAC. This is where everyone gets confused. Let us emphasize: if high jitter during the monitoring does seem to affect the overall sound quality, it really only affects that individual listening experience, and has no effect on the data. This is what I call "ephemeral jitter". Don't confuse the messenger with the message. The message remains intact; so if it sounds degraded, blame the messenger. (the clock inside the DAC)
And with that, folks, I'm off to get properly crocked.Real World Example
Engineer Betty would like to do some digital cloning from CD to computer. First, she notices that her CD player sounds better than her computer, because, as mentioned above, the internal clocks of typical computer interfaces are not as clean as those in CD players. But she's more concerned that her computer sounds better on playback than on record! What's going on here? The reason is that, as the theory says, her computer's internal oscillator is performing better than its PLL on external sync (from the CD player's digital out) Digital copies really are perfect; Betty asks, "Shouldn't I copy the file now that it sounds better?" But, as this is a case of ephemeral jitter, Betty's data is just fine and should sound the same each time it is properly clocked.









