{"id":235,"date":"2019-01-15T23:55:45","date_gmt":"2019-01-15T23:55:45","guid":{"rendered":"http:\/\/sonogyresearch.com\/?p=235"},"modified":"2022-02-28T13:32:32","modified_gmt":"2022-02-28T13:32:32","slug":"jitter-or-why-digital-audio-interfaces-are-analog","status":"publish","type":"post","link":"https:\/\/sonogyresearch.com\/?p=235","title":{"rendered":"Jitter, or &#8220;why digital audio interfaces are analog&#8221;"},"content":{"rendered":"<p>Confused by the title?\u00a0 Most people probably are, and that&#8217;s the point.\u00a0 We constantly hear that &#8220;digital is perfect&#8221; and &#8220;there cannot be differences between transports&#8221; etc. We heard this from engineers, computer scientists and armchair experts. All three are wrong, but the engineers really ought to know better.<\/p>\n<p>Let&#8217;s start with some basics.\u00a0 Most musical instruments, from the human voice to a guitar or piano, are analog. Our ears are analog.\u00a0 And the sound waves between\u00a0 the two must be analog.\u00a0 God did it. Don&#8217;t argue with God.<\/p>\n<p>Digital is a storage method.\u00a0 It can only occur in the middle of this chain, with sound converted to digital and then back.\u00a0 The goal is 100% transparency &#8211; or, more accurately, transparency so good we cannot tell the difference.\u00a0 While that sounds like a cop out, its not. Analog records are also intended to be 100% transparent, and they fail miserably. CD, DSD, or whatever need only to fail less, to be an improvement.\u00a0 My opinion is that done right, digital DOES fail less and is potentially superb. Its that word &#8220;potentially&#8221; that trips us up.<\/p>\n<p>While there are many points along the chain where we can lose fidelity I want to talk about one in particular:\u00a0 Jitter.\u00a0 I want to talk about jitter for two reasons:<\/p>\n<ol>\n<li>It has a huge impact on sound quality in real life systems today.<\/li>\n<li>No one talked about it until recently, and very few understand what it is or why it&#8217;s a problem.<\/li>\n<\/ol>\n<p>To understand jitter, first we need to understand CD playback. I will use the CD example simply because I have to pick one and it is the most common High-End format. CD music is digitized by measuring the music signal at very tiny increments. An analogy would be Pixels on your screen, and in CD, they use a lot of horizontal &#8220;pixels&#8221; (samples) &#8212; 44,100 samples every second. The height, or &#8220;voltage&#8221; of each sample is represented by a number we debate endlessly: the bit depth. CDs use 16 bits which means 64,000 shades of gray.<\/p>\n<h5 style=\"text-align: center;\"><a href=\"https:\/\/sonogyresearch.com\/wp-content\/uploads\/2019\/01\/PAM-chart.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-239\" src=\"https:\/\/sonogyresearch.com\/wp-content\/uploads\/2019\/01\/PAM-chart-300x192.png\" alt=\"\" width=\"300\" height=\"192\" srcset=\"https:\/\/sonogyresearch.com\/wp-content\/uploads\/2019\/01\/PAM-chart-300x192.png 300w, https:\/\/sonogyresearch.com\/wp-content\/uploads\/2019\/01\/PAM-chart-768x492.png 768w, https:\/\/sonogyresearch.com\/wp-content\/uploads\/2019\/01\/PAM-chart.png 780w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><em>\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><\/h5>\n<h5 style=\"text-align: center;\"><em>Illustration of the height and spacing of music samples;\u00a0 courtesy: Wikimedia.org.<\/em><\/h5>\n<p>But there is another characteristic that is equally important to sound quality. In fact, mathematically it is part of the same calculation, and yet nobody talks about it. That characteristic is the time between samples. Think about height and time like a staircase; each step has a height and tread depth &#8212; the two together determine the steepness.\u00a0\u00a0 Similarly the analog output of &#8220;pulse code modulation&#8221; (which CD is) is determined by the height (limited by 2^16 or 64000 levels) and the time between samples. That time is assumed to be precisely 1\/44,100 second. But we live in an imperfect world and that fraction of a second varies some.\u00a0 The variation, which is random, is called Jitter.<\/p>\n<p>Because it is random, jitter is not harmonically related to the music; and therefore in musical terms dissonant (or lousy sounding).\u00a0 So while bits are in fact bits, there is much more on the interface between the transport and a DAC, than bits.\u00a0 There is also jitter and noise, and noise causes jitter.<\/p>\n<p>Giant caveat here:\u00a0 jitter only matters at one place &#8211; at the DAC itself (the chip, or the discrete resistor array).\u00a0 Jitter at the transport, on your Ethernet, etc. does not matter on its own &#8211; so long as it is completely and cleanly clocked right at the DAC chip.\u00a0 That said, there are many ways to interface to the DAC, and some accomplish this cleanup better than others.\u00a0 So it gets murky.<\/p>\n<p>Any engineer who tells you that the digital input signal cannot impact sound quality has failed to take into consideration fully one-half of the data necessary to re-create the wave form. They have focused only on the bit depth ( and its 96 dB theoretical signal to noise!) and ignored the jitter contribution.\u00a0 If all you are doing a reading a completer file, which has no time component &#8211; bits are in fact bits.\u00a0 But an SPDIF or similar signal DOES have a critical time component and that is why it is not in fact purely digital.<\/p>\n<p>For those of you who don&#8217;t much care, and just want your music to sound good, it gets both better and worse \ud83d\ude42<\/p>\n<p>There are two ways to send a digital signal between a source and a DAC.\u00a0 The traditional method is by an interface called SPDIF.\u00a0 It&#8217;s the little yellow RCA jack on the back of your CD transport. The problems with SPDIF are that a) it is Synchronous, b) the source is the master clock, c) the timing (clock) is derived and therefore a CD player, with likely a cheap clock, carried on an interface hat is not clock friendly,\u00a0 determines jitter.\u00a0 So when you do something logical like buy a fancy DAC to make your cheap CD player sounds better, you get the jitter of the cheap CD player and, as we noted above, that&#8217;s half the story.<\/p>\n<p>USB is the other (prominent) was to provide an input to a DAC.\u00a0 USB has its own issues but is typically better than SPDIF.\u00a0 The reason is that USB is NOT synchronous.\u00a0 It just throws bits at the DAC, into a buffer, and lets the DAC re-time the whole thing reading the bits out in lock step with its clock.\u00a0 And herein lies the rub, you are now only as good as that clock.\u00a0 If you re time the signal before the USB input, all that re-clacking is lost &#8211; the bits are just tossed into the buffer to be stored (for a few millisconds, but stored nonetheless).\u00a0 So re-clockers accomplish nothing.<\/p>\n<p>There are more problems- primarily related to electrical noise but I think they are less severe than jitter and certainly are another topic.\u00a0 These can be overcome by good practices of isolating the USB output, or the input, and powering that &#8220;clean&#8221;side from a clean power supply. Like I do.<\/p>\n<p>I hope this has shown you that sound differences from transports and digital signals are neither snake oil nor mysterious, only annoying.\u00a0 I will make only one recommendation: make sure that SPDIF connection is a true 75 ohm cable. It need not be a fancy audiophile cable. It can be amazon basics. It can be cheap Schiit (I think they call them that).\u00a0 But it must be 75\u03a9.<\/p>\n<p>Now if we could only fix crummy digital mastering, but that&#8217;s out of our control.<\/p>\n<p>All the best,<\/p>\n<p>&nbsp;<\/p>\n<p>Grant<\/p>\n<p>CEO Sonogy Research LLC<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Confused by the title?\u00a0 Most people probably are, and that&#8217;s the point.\u00a0 We constantly hear that &#8220;digital is perfect&#8221; and &#8220;there cannot be differences between transports&#8221; etc. We heard this from engineers, computer scientists and armchair experts. All three are wrong, but the engineers really ought to know better. Let&#8217;s start with some basics.\u00a0 Most [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-uncategorized","no-post-thumbnail"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/sonogyresearch.com\/index.php?rest_route=\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sonogyresearch.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sonogyresearch.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sonogyresearch.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sonogyresearch.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=235"}],"version-history":[{"count":12,"href":"https:\/\/sonogyresearch.com\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/sonogyresearch.com\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/sonogyresearch.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sonogyresearch.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sonogyresearch.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}