Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

with industry Pro, Nick Batzdorf

Moderators: mdc, admin, TAXIstaff

User avatar
mojobone
King of the World
King of the World
Posts: 11843
Joined: Sat May 17, 2008 11:20 pm
Gender: Male
Location: Up in Indiana, where the tall corn grows

Re: Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

Post by mojobone »

Um, just talking about converter noise; aliasing, imaging, filter ripple and ringing, here, so far, Keith. Jitter is a whole 'nother chapter, and it's way more complicated. Despite what I said earlier, jitter does matter, just not nearly as much as most people think, and not all the time, and not to me. This is because the "cure" is both prohibitively expensive, and according to Dr. Katz, worse than the disease. Please feel free to worry about jitter at your own expense and on your own time, if you must, but my opinion is that you won't hear it outside a mastering lab because every other environment where you can listen will be too noisy to hear it, even if you had accurate enough monitors, which you don't. (maybe Dwayne and Walt do) :D

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. :D Upshot: higher sample rates= good for aliasing/filtering, bad for jitter.
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."
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)
"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 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. :D Bob explains in detail why people using external clocks hear a difference, (it isn't an improvement, because the data doesn't change) but suffice it to say that devices based on Phase-Locked Loops don't work, they're difficult to properly implement for a reasonable amount of money, etc. Believe the facts, not your own ears, says Bob.

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.
This is one reason I chose a Firewire interface for my studio, rather than a PCI or PCIe card. ;)
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."
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!"

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)
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.
And with that, folks, I'm off to get properly crocked. :D
Last edited by mojobone on Sat Mar 12, 2011 12:30 am, edited 3 times in total.
The Straight Stuff; Roots, Rock & Soul

http://twangfu.wordpress.com
http://twitter.com/mojo_bone
User avatar
mojobone
King of the World
King of the World
Posts: 11843
Joined: Sat May 17, 2008 11:20 pm
Gender: Male
Location: Up in Indiana, where the tall corn grows

Re: Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

Post by mojobone »

Dwayne Russell wrote:I did not see in what you posted that Katz thinks jitter in the A/D is no concern. My conversations with him were about 20 years ago. We were both in a learning curve at that time. But I can't imagine he would discount clocking at the A/D stage. Maybe something happened in all those years that I do not know about.
He did change his mind about a couple of things, Dwayne; one was sample rates:
How good is 44.1kHz sample rate? The answer: A lot better than I used to think; that sample rate conversion to a lower rate drastically reduced sound quality. p.253
Apparently, I didn't do enough in my post to separate my concerns from Bob's. I don't care about jitter on uptake, cuz I can't afford to do anything more about it than I've done already; I bought the best converters I could afford and made sure they were nowhere near the computer. ;)
The Straight Stuff; Roots, Rock & Soul

http://twangfu.wordpress.com
http://twitter.com/mojo_bone
User avatar
t4mh
Serious Musician
Serious Musician
Posts: 1446
Joined: Wed Nov 26, 2008 11:05 pm
Gender: Male
Location: Indiana

Re: Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

Post by t4mh »

I've tried to stay away from the technology forum for a couple of months mainly because I get caught up in conversations and don't get anything done. But I have to say I'm glad I checked in and read this thread! Not only is it fun to get into electronic engineering mode once in a while but this explains some of what I've been hearing! Kudos Moj for putting this together!

Well done!
I hear the voice of God in a bending guitar string!
Life is too important to be taken seriously
No electrons were harmed in the construction of this message.
http://www.t4mh.com
Dwayne Russell
Committed Musician
Committed Musician
Posts: 539
Joined: Tue Dec 15, 2009 6:16 pm

Re: Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

Post by Dwayne Russell »

mojobone wrote:
Dwayne Russell wrote:I did not see in what you posted that Katz thinks jitter in the A/D is no concern. My conversations with him were about 20 years ago. We were both in a learning curve at that time. But I can't imagine he would discount clocking at the A/D stage. Maybe something happened in all those years that I do not know about.
He did change his mind about a couple of things, Dwayne; one was sample rates:
How good is 44.1kHz sample rate? The answer: A lot better than I used to think; that sample rate conversion to a lower rate drastically reduced sound quality. p.253
Apparently, I didn't do enough in my post to separate my concerns from Bob's. I don't care about jitter on uptake, cuz I can't afford to do anything more about it than I've done already; I bought the best converters I could afford and made sure they were nowhere near the computer. ;)

Ok I understand that. I dont know what converter you have, but to improve jitter would not take thousands. It would only take about $400.

But, in my opinion if you are just out to get what they call "broadcast quality", then I dont think you need it. I myself only use a firewire 410 at my house. and I do allot of cues that get placed on that system. I only use my good stuff in the studio when it requires it or I just happen to be there working.

As far as sample rates go, I think 48K 24bit is fine to make a record with as long as a super high end converter is used. But if I had the money and was making a record I would go to 96K. There is another reason for that having to do with how some plugins work. But that is another topic.
User avatar
mojobone
King of the World
King of the World
Posts: 11843
Joined: Sat May 17, 2008 11:20 pm
Gender: Male
Location: Up in Indiana, where the tall corn grows

Re: Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

Post by mojobone »

Dwayne Russell wrote: Ok I understand that. I dont know what converter you have, but to improve jitter would not take thousands. It would only take about $400.
Which I should spend on what? External clocking doesn't work, except with a very few units costing many thousands of dollars, unless you're speaking of the newer ASRC-based jitter-immune converters. I don't know of any, offhand, but if you've found one of those at that price, I'm more than willing to have a look. :D
The Straight Stuff; Roots, Rock & Soul

http://twangfu.wordpress.com
http://twitter.com/mojo_bone
Dwayne Russell
Committed Musician
Committed Musician
Posts: 539
Joined: Tue Dec 15, 2009 6:16 pm

Re: Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

Post by Dwayne Russell »

mojobone wrote:
Dwayne Russell wrote: Ok I understand that. I dont know what converter you have, but to improve jitter would not take thousands. It would only take about $400.
Which I should spend on what? External clocking doesn't work, except with a very few units costing many thousands of dollars, unless you're speaking of the newer ASRC-based jitter-immune converters. I don't know of any, offhand, but if you've found one of those at that price, I'm more than willing to have a look. :D

I don't know what converter you have. Most of them do have a BNC connection on the back for an external clock. Why wouldn't it work? That's what its for.
User avatar
mojobone
King of the World
King of the World
Posts: 11843
Joined: Sat May 17, 2008 11:20 pm
Gender: Male
Location: Up in Indiana, where the tall corn grows

Re: Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

Post by mojobone »

It will work to synchronize and interface digital devices used simultaneously, but it won't reduce jitter, for the reasons explained in the long post above. The only place where jitter can be reduced is within the converters. Even then, bad layout can screw it up, improper power supply or circuit layout can screw it up; the oscillator itself must be located in close physical proximity with the converter itself and must be shielded to produce a clean clock signal. Simply using a cable to transmit clock signal induces more jitter than can possibly be reduced, because clock signals are so sensitive to RFI and BNC connections are unbalanced. Furthermore, nearly all wordclock generators depend on less-than-accurate PLLs. In the interest of brevity, I left some stuff out of the above post; let me again quote chapter 21:
Analog Mixing

Jitter performance is critical when mixing with an analog console and digital multitrack, however, the fact that some engineers hear an improvement with external clocks does not mean that this is the best or most efficient solution. Consider external wordclock to be an expensive add-on that cannot possibly maximize performance, since the output jitter of a PLL is worse than any good crystal. Footnote 12: In the vast majority of converters manufactured today, "the jitter caused by the wordclock is typically 15 times higher than when using a quartz-based clock", according to the manual for the RME ADI-8-DD format converter.

In the case of a cheap internal crystal oscillator, the external clock may improve sound, but you're pouring money on top of a bad converter investment. In the case of a medium-quality converter, an extraordinary clock that costs nearly as much as the converter can improve the sound, but it would be far more economical to apply the cost of the external clock to a better converter running on internal sync. As Eelco Grimm points out, "If the external clock has lower jitter below the corner frequency of the internal PLL then the low jitter performance can improve. Prism converters have a corner frequency below 200Hz, while typical converters' PLLs are above 2,000Hz, so it is highly likely that a very good converter like a Prism will not be affected at all, or possibly degrade, no matter what external clock you feed it." So, in all cases, replacing an existing converter with a superior converter running on internal sync will probably get the most bang for the buck.
The Straight Stuff; Roots, Rock & Soul

http://twangfu.wordpress.com
http://twitter.com/mojo_bone
Dwayne Russell
Committed Musician
Committed Musician
Posts: 539
Joined: Tue Dec 15, 2009 6:16 pm

Re: Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

Post by Dwayne Russell »

mojobone wrote:It will work to synchronize and interface digital devices used simultaneously, but it won't reduce jitter, for the reasons explained in the long post above. The only place where jitter can be reduced is within the converters. Even then, bad layout can screw it up, improper power supply or circuit layout can screw it up; the oscillator itself must be located in close physical proximity with the converter itself and must be shielded to produce a clean clock signal. Simply using a cable to transmit clock signal induces more jitter than can possibly be reduced, because clock signals are so sensitive to RFI and BNC connections are unbalanced. Furthermore, nearly all wordclock generators depend on less-than-accurate PLLs. In the interest of brevity, I left some stuff out of the above post; let me again quote chapter 21:
Analog Mixing

Jitter performance is critical when mixing with an analog console and digital multitrack, however, the fact that some engineers hear an improvement with external clocks does not mean that this is the best or most efficient solution. Consider external wordclock to be an expensive add-on that cannot possibly maximize performance, since the output jitter of a PLL is worse than any good crystal. Footnote 12: In the vast majority of converters manufactured today, "the jitter caused by the wordclock is typically 15 times higher than when using a quartz-based clock", according to the manual for the RME ADI-8-DD format converter.

In the case of a cheap internal crystal oscillator, the external clock may improve sound, but you're pouring money on top of a bad converter investment. In the case of a medium-quality converter, an extraordinary clock that costs nearly as much as the converter can improve the sound, but it would be far more economical to apply the cost of the external clock to a better converter running on internal sync. As Eelco Grimm points out, "If the external clock has lower jitter below the corner frequency of the internal PLL then the low jitter performance can improve. Prism converters have a corner frequency below 200Hz, while typical converters' PLLs are above 2,000Hz, so it is highly likely that a very good converter like a Prism will not be affected at all, or possibly degrade, no matter what external clock you feed it." So, in all cases, replacing an existing converter with a superior converter running on internal sync will probably get the most bang for the buck.
THis is pretty much correct. You can improve your recordings a little bit by adding a good clock. But to really improve it you need both clock and converter.

THis explanation is exactly why I have the system I have. What converter do you have mo?

BTW, I love your music. I might live in California but I was born and raised in the south. I bleed country!
ernstinen
Total Pro
Total Pro
Posts: 5658
Joined: Tue Feb 03, 2004 1:59 am
Gender: Male
Location: Los Angeles

Re: Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

Post by ernstinen »

mojobone wrote: Right, Ern that's a typo! It should read 50kHz, and I've fixed it, thanks! Dr. Moog may be right, but I'm not sure what sort of tape head you'd need to actually print 40-50kHz signals to tape or to reproduce them, or why you'd want to, since we can't really hear 'em. They could be there, in some amount, but I don't know that it's significant.
Mojo, to 99.9% of the population of this planet, it is NOT significant! You and I know that, but, I believe this conversation is similar at this date in time to "Why go to Mars?" It's a natural progression to make technology better! WHY NOT? Listen, I'm not a scientist and I would always second Casey's opinion on performance and songwriting, (In 2011). --- But, as Mazz is always bitching at me about, "YOU HAVE to learn the newest technology!"

And I haven't, yet. --- Oh, a little Guitar Center joke from some years ago: Ern: "I need to learn the latest ProTools system." Salesman: "HEY, dude, you're WAY too late!"

f^@k that jackass! I bought it, know it, and know MOTU's Performer. So There! :mrgreen:

Ern 8-) :)
User avatar
Casey H
King of the World
King of the World
Posts: 15042
Joined: Tue Jan 27, 2004 10:22 pm
Location: Philadelphia, PA

Re: Nyquist VS. Nyquil, Which Makes You Fall Asleep Faster?

Post by Casey H »

Why go to Mars? :?

The market for film/TV music is so saturated here on Earth... I'm thinking Martian cable TV shows...

Talk about foreign PRO royalties!!

:lol: :lol: :lol: Casey