Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 5th January 2007, 11:42 AM   #1
diyAudio Member
 
fixerfrasse's Avatar
 
Join Date: Jan 2007
Default Jitter and all that

Hi,

First off all, let me just tell you that I am a total newbee in Hifi and diy hardware. So excuse my ignorance if you find me asking stupid questions. However, I have become very interested in this area the last year and I thank you for sharing all your knowledge in this forum. I have learned alot (still at theoretic level).

Let's get down to it. I am interested in building a USB DAC and couple it with a headphone amp, so that I can enjoy hi quallity music whilst working (as I am a programmer since my childhood years). At the moment I'm trying to understand how I'm supposed to build the DAC. I understand that the main problem the DAC faces is jitter in the digital stream that comes from whatever source that is connected to it.

Let's say that this source is a CD-player (not the one you find infront of a computer, but rather a real hifi CD-player). The CD-player produces a stream that is sent to the DAC. On the way to the DAC the signal collects jitter, which is a problem for the DAC-chip (say a PCM 1704, which I understand is a very good chip). The reason for this, as I understand it, is because jitter is infact problems with timing. LessLoss (www.lessloss.com) solves this problem by syncing the CD-player with the oscilator inside the DAC, and then oversamples the signal 8x (with DF 1704), thus providing a solid signal to send to the PCM 1704. All of this seem very resonable to me (as I said, I am a newbee and I don't understand all issues in this area).

Now if we get back to the USB situation. LessLoss states that the computer is a huge jitter factory and as such it cannot in any circumstances provide a jitter free signal to the DAC (even if you can do alot to lower the jitter). However, my experiences with for example a USB-memory is that I can successfully transfere a EXE-file 100 times back and forth to my computer without breaking the EXE-file. So if I had a 100% correct wave-file, I expect the behaviour to be the same.

Now you might say, yeah, but the problem occurs when streaming to the DAC. Yes I understand this. So I wonder, why can't I find any solutions where the DAC buffers the stream and then using it's own perfect oscilator, transferes a jitter free stream from the buffer (I expect that the data in the buffer should be 100% accurate at this moment) to the DAC, thus providing a 100% optimal stream for the DAC. The only answer LessLoss gives to this question is
"The quality of the oscillator is dependent on a plethora of factors, including even slightest power supply fluctuations, interference, shielding, the very schematic solution of the oscillator, ground contamination, etc."

Well, I suspect that this issue, is a problem in whatever solution one choses, even the solution is to reclock the CD-player. And I don't understand why the problem is easier to solv in a CD-player then in a small memory buffer that resides on the same board, only a short distance from the actual oscilator.

What am I missing in this scenario? Mind you that I have overlooked any problems that might occur with unstable power suply and any other design errors.
  Reply With Quote
Old 5th January 2007, 12:26 PM   #2
diyAudio Member
 
Join Date: Oct 2001
Location: .
Default Re: Jitter and all that

Quote:
Originally posted by fixerfrasse


What am I missing in this scenario?

Latency
  Reply With Quote
Old 5th January 2007, 01:33 PM   #3
diyAudio Member
 
Join Date: Dec 2005
Location: Atlanta
Default Re: Jitter and all that

Quote:
Originally posted by fixerfrasse
So I wonder, why can't I find any solutions where the DAC buffers the stream and then using it's own perfect oscilator, transferes a jitter free stream from the buffer (I expect that the data in the buffer should be 100% accurate at this moment) to the DAC, thus providing a 100% optimal stream for the DAC.[/B]
I know you're new to this and all, but be careful when you use terms like "perfect", "jitter free", "100% accurate". It's a common mistake to think anything digital is perfect.
  Reply With Quote
Old 5th January 2007, 02:23 PM   #4
diyAudio Member
 
fixerfrasse's Avatar
 
Join Date: Jan 2007
Default Re: Re: Jitter and all that

Quote:
Originally posted by ezkcdude


I know you're new to this and all, but be careful when you use terms like "perfect", "jitter free", "100% accurate". It's a common mistake to think anything digital is perfect.
Sorry, I didn't mean to be ignorant.

I don't belive that the signal from the buffer to the dac chip would be totaly "jitter free", I merely suggest that the stream would be totaly controled by the designer of the DAC device and as such it can be optimized.

And yes, you might be right that digital isn't perfect. However, I do beleive that the memory buffer would contain the exact bits that was transfered to it, just like the USB memory stick does.

About the latency problem. I understand that it might be a problem for a musician that plays notes on a keyboard. But for someone who listens to recorded music, I don't beleive it's such a big issue.
  Reply With Quote
Old 5th January 2007, 03:23 PM   #5
phn is offline phn  Sweden
diyAudio Member
 
phn's Avatar
 
Join Date: Oct 2004
Maybe you should take a look at a DAC that's less susceptible to jitter and basically take jitter out of the equation.

Lots of non-oversampling DAC designs here that are simple to make and that will improve on most commercial DACs not costing thousands.

Some related info, though not precisely about non-oversampling.

http://www.benchmarkmedia.com/appnotes-d/jittercu.html

http://www.audiocraftersguild.com/Aa...on.jitter2.htm
  Reply With Quote
Old 8th January 2007, 12:23 PM   #6
diyAudio Member
 
fixerfrasse's Avatar
 
Join Date: Jan 2007
So this is it? There are no negative effects (besides latency) with buffering?
  Reply With Quote
Old 8th January 2007, 01:56 PM   #7
diyAudio Member
 
janneman's Avatar
 
Join Date: May 2002
Location: Where Germany, The Netherlands and Belgium meet
Blog Entries: 6
Default Re: Re: Re: Jitter and all that

Quote:
Originally posted by fixerfrasse
[snip] However, I do beleive that the memory buffer would contain the exact bits that was transfered to it, just like the USB memory stick does.[snip]

This is correct. There are several threads on this forum of tests comparing repeated copies of copies of music CD's bit-by-bit finding 100% accuracy. The data going to the DAC will be 100% correct. The only thing to fix is the timing. You understand the problem exactly.

Jan Didden
__________________
/Another new issue: Linear Audio Volume 3!
  Reply With Quote
Old 8th January 2007, 08:25 PM   #8
diyAudio Member
 
BlackCatSound's Avatar
 
Join Date: Oct 2004
Quote:
Originally posted by fixerfrasse
So this is it? There are no negative effects (besides latency) with buffering?
Pretty much. The slight downside is if the data is coming in too fast or too slow you can run out of buffer.

The best way is to fill the buffer at faster than real time speed. Reduces the latency problem and you know that you won't underrun. You can also perform re-reads of any corrupt data (if there is any at all), but for some reason reading at >1x scares the heck out of some people
  Reply With Quote
Old 8th January 2007, 10:33 PM   #9
diyAudio Member
 
fixerfrasse's Avatar
 
Join Date: Jan 2007
I'm not worried about the filling of the buffer. What I'm worried about is that it might be hard to read the buffer without introducing jitter. I suspect a couple of factors that might be hard to cope with.

There are two actors on this buffer. One that fills it, and the other that reads it.

Will the writing actor affect the reading actor? Will this introduce jitter on the reading wire that pushes data to the DAC chip.

Can I have two separate busses that work the memory? One that write and one that reads. Maby the writing bus should be able to read aswell. Will it enhance the performance of the reading actor? Will the writing bus affect the reading bus, or can I separate them from each other so that they work totaly independent?

Is there any other issues working with memory busses that I should know of when the importance of low jitter is critical?
  Reply With Quote
Old 8th January 2007, 10:41 PM   #10
diyAudio Member
 
BlackCatSound's Avatar
 
Join Date: Oct 2004
The write will only affect the read if its to the same memory location.

The actual jitter of reading the data is pretty irrelevant. Its the clock jitter at the DAC that counts. Data jitter, so long as does not violate the data inputs setup and hold timings won't have an effect, just the clock.

The clock tells the DAC when to do things, not the data.
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
generate jitter test signal and measurign jitter using AP2? BJAMR Digital Source 11 1st November 2010 02:07 PM
Jitter in DAC. ghee0 Digital Source 44 3rd June 2010 09:25 AM
Data Jitter Versus Electrical Jitter? 300_baud Digital Source 8 16th July 2004 07:59 PM


New To Site? Need Help?

All times are GMT. The time now is 05:19 AM.

Page generated in 0.12370 seconds (87.73% PHP - 12.27% MySQL) with 10 queries

Copyright ©1999-2012 diyAudio