发烧论坛

注册

 

发新话题 回复该主题

CD是否能完美复制(终结版)!不要再作无谓的扯谈了! [复制链接]

查看: 14029|回复: 111
1#
Digital Audio Extraction FAQ
What is Digital Audio Extraction (DAE)?
DAE is the process of extracting the audio from an audio CD by using a PC with a CDROM drive.  
Is there such thing as a perfect DAE?
Yes and no.  There are some drive/computer/software combinations that can extract an audio track bit for bit identical to the data on the CD.  There are a lot of combinations that cannot. For example, using a Plextor drive and good software will almost always give perfect extractions.  
How do you make sure wav file is accurate? How do you know you got a good extraction?  
The best way to know if your wav file is good is to compare it to the data that was used to make the CD.  In most cases this is not possible, so most people are left with extracting the track a number of times and comparing the files to see if they are the same.  Usually a good tool for doing the compare is the DOS program FC.  You may find that there are differences between two files that are both good extractions at the very start and ends of the file.  This is caused by the initial seeking inaccuracy of the drive.  
What error correction is on an audio CD? a data CD?
There is quite a lot of error correction built into every CD.  For a better description than we could ever write, have a look at the following sites:  
http://www.geffers.demon.co.uk/cd.html  
What does a drive do when it finds an error?
It depends on how big the error is.  For a small number of errors, the built-in error correction codes are used to fix the errors.  For larger numbers of errors, a number of things can happen.  Some drives take a guess (interpolate) on what the values should be based on the previous and following values.  Other drives just set the bytes to 0.  Some drives do a good job of reporting these conditions, while some others don't report any errors.  It is all up to the person who programmed the firmware in the drive.  You can see how many drives can give lots of errors in the final wav file but not report any errors to the DAE application.  
Do drives do error correction when doing DAE at high speed?
There has been much discussion on this subject so the answer is difficult.  The easy part of the answer is that there are fundamental parts of the data coding that force the drive to do error correction regardless of what the extraction speed is. As for drives doing interpolation, and other data correction, it is purely up to the firmware as to what is done and not done.  Many drives simply don't have enough computing power to do the same level or correction when extracting high speed.  
Reasons why wav files don't compare 2 times in a row
- crappy drives  
- poor/no jitter correction  
- bad wav headers  
- bad parsing of header  
- long blocks of digital silence confusing compare  
- oak 910/911 chipset bugs  
- bad firmware  
- digitally generated tones, perfectly repeating confusing jitter correction routines  
- normalizing of tracks  
- frame slip  
- stereo channel reversal  
- upper/lower byte reversal  
- ATAPI drive on same controller as old slow IDE drive  
What is this jitter thing? or  "It's not jitter!"  
Again this is a question that is best answered by others instead of us:  
http://www.fadden.com/cdrfaq/faq02.html#[2-15]  
http://www.digido.com
What makes Plextor drives so good?  
Plextor has always been known for making great (and expensive) drives.  For those doing DAE, these drives are second to none.  Why is that?  The key to great DAE is being able to accurately read the audio tracks without losing your place.  Plextor does this by adding some extra circuitry to their drives that is used to generate sync signals when reading audio discs.  Once you have an accurate sync signal, it makes the process of accurately positioning very easy. When a drive can accurately seek to a specific point on the CD over and over again, it makes it very easy for the software to read the audio data and not have to do jitter correction and other fixes.  
IDE (really ATAPI) vs SCSI?
Again this is a topic of religion.  There are those that believe that SCSI is the only solution and there are others that believe that ATAPI works fine.  In our experience, we've seen good ATAPI and SCSI drives as well as very bad ATAPI and SCSI drives. This means that the bus interface doesn't make the drive a good drive.  However, we have seen that in general most SCSI drives do a pretty good job of DAE while most ATAPI drives don't.  
Others will discuss the merits of SCSI over ATAPI based on the amount of CPU time that is needed to run the drive.  We've found that SCSI does come out on top in this category especially when the ATAPI drive is using PIO drivers instead of BusMaster drivers.  On the other hand, there are so many versions of BM drivers that are crap thus forcing the user to use PIO drivers.  
CRCs in ripper programs what do they really tell?  
A number of ripper programs out there will display a CRC value at the end of the track.  CRCs are a method of applying a mathematical formula to a block of data to give a resulting value which is very likely different if even a tiny piece of that block of data changes the next time the CRC is calculated.  What you are going to find is that if your drive/drivers/computer/software combination can rip a track a number of times in a row and give you the same CRC values, then you can be pretty sure that you are getting very good results from your setup.  
What causes pops and clicks in wav file?  
Again, the CDR faq has a much better description of this than wer could ever do:
http://www.fadden.com/cdrfaq/faq03.html#[3-3]  
What causes pitch change?  
Many people find their resulting wav file suffers from a change in pitch.  Apart from the problems of a system that isn't generating a proper clock for playback, there can be a couple of reasons that the wav file itself could be at fault.  If the drive is suffering from frame slip, or sample slip, the overall wav file will end up containing either fewer or more samples than it was supposed to and this will cause a change in pitch.  It will also likely introduce pops and clicks.  
Why don't my cdr copies sound like the originals?
We don't want to get into the religious war of peoples hearing, this is purely a bits and bytes discussion of can you get an exact copy of the data.  
http://www.fadden.com/cdrfaq/faq04.html#[4-18]
How do we know you can really get perfect DAE?
We did a simple and unscientific experiment.  What we found was that it IS possible to make a perfect copy of a track as far as the bits go. Effectively we did the following two experiments:  
wav file->pressed CD->DAE->wav file compare  
wav file->burned CD->DAE->wav file compare  
Here's a site with another experiment on DAE quality:
http://www.treworgy.com/cdr/test.html
Equipment used:
Plextor 8Plex SCSI cdrom drive  
Panasonic 585 ATAPI cdrom drive  
CDDA32 DAE software version 1.1  
AudioGrabber DAE software  
Yamaha CDR-102 CDR drive  
Maxell CD-R74H blank CDs  
Test Preparation
We put together a wav file of some high quality audio which had been digitized in a studio.  We then used a CD pressed by Quebecor at their manufacturing plant that used the wav file to create an audio track at the end of our data CD.  We also took the wav file and burned a CD using our Yamaha 102 drive. This means we have a perfect original wav file to compare against the ones we make during the experiments.  
Let's call the manufactured CD disc 'A', and the burned CD we'll call disc 'B'. First, we carefully cleaned the CDs before doing any tests. Next we extracted the tracks into wav files first from manufactured CD and repeated for burned CD.  We extracted each track 5 times from both the Plextor drive and from the Panasonic drive using CDDA32.  We repeated the extractions using AudioGrabber.  
What we found
We compared the original wav file to all the wav files extracted from disc 'A' and from disc 'B'.  Because the original wav file was configured with a fairly long period of digital silence at the start and end of the track, We configured our comparison tool to ignore digital silence at beginning and end of track and only compare the actual audio data in between.  This means that initial seeking error at the start of the track wouldn't affect the testing if the body of the audio data was correct.  
We found that ALL the wav files from the Plextor drive matched exactly.  We found that some of the files from the Panasonic drive matched.  The wav files that didn't match had either a whole frame added or lost occasionally. It seems our Panasonic drive has periodic problems with frame slipping.  We repeated the tests on the Panasonic drive using jitter correction turned on in the software and found the wav files matched exactly.  
As an aside test, we repeated a few of the tests on a Mitsumi 8x drive and we did not get exact comparisons.  Of course Mitsumi has never been known for making good drives for DAE.  
What can we conclude?
Yes Virginia, there is such thing as a perfect DAE, but you need the right combination of hardware and software to do it. We also know that it is possible to get good DAE from both a pressed CD and a burned CDR.
分享 转发
TOP
2#

是否有完美复制?
如何验证完美复制?
cd是如何纠错的?
当发现错误时cd驱动会做什么?
为什么wav文件比较时会出错?
什么是jitter?
为什么Plextor光驱这么好?
IDE (really ATAPI) vs SCSI?
.
.
.
.
.
该文内容丰富,几句话说不清楚的地方还提供了另外的链接。研究的研究,翻译的翻译,实验的实验,不要再作无谓的扯谈了!
TOP
3#

死神 在 2005-12-13 9:51:59 发表的内容
有你这句话,我就不敢谈!
-------路过,呼~~~

明天早上的太阳是从东边升起的,也没什么好谈的!除非你在外星。
最后编辑沙漠之鹰
TOP
4#

Raxel 在 2005-12-13 10:18:45 发表的内容
这个好像差太远了.太阳从东边升起是客观物理现象,而音频CD要能完美复制,要符合各种条件,才能实现.

我没有说CD可以完美复制,文中也没有说。
Is there such thing as a perfect DAE?
Yes and no
但是这篇文章是从理论+实验的角度来说明,思路很清晰。太阳从东边升起是客观物理现象,cd复制是物理+化学,同样没有玄学。采取用听感来和想象力判断cd是否能完美复制的做法,正如古人用视力和想象力来判断地球是否宇宙的中心一样。其实原版和复制版的cd在听感上有区别,并不等于数据没有完美复制,其中还包括了其他的因素。这片文章讨论的方向,方法是值得学习的,并且给出了非常详尽的说明。
TOP
5#

Raxel 在 2005-12-14 10:11:47 发表的内容
在纯理论范围,jitter是不存在的.因为时钟肯定是应该100%精确的.但在现实世界,电子的东西都会有个误差,一个偏差范围.所以模型究竟有没有我不清楚,但我相信这个模型做成实物就不可能是Zero delay, Zero Jitter.

嘿嘿,不知道你是否用USB,USB就是一个jitte free的接口。
你再看看这个模型吧。
http://www.sigcon.com/Pubs/edn/jitterfreeclocks.htm
enrique能否继续讨论一下"Jitter correction"?
TOP
6#

Raxel 在 2005-12-14 10:27:23 发表的内容
Jitter correction和jitter free是两回事情.
USB是异步工作方式,我不清楚你说是jitter free的接口,和是否有zero jitter的设备之间有什么关系,或者你可以介绍几个市场上的产品,哪些是zero jitter的CD机,或者解码器,这样我们讨论会比较方便一些.

USB可以选择工作于异步方式,也可以选择工作于同步方式,呵呵。
Jitter correction和jitter free是两回事情,这一点没错!
市面上有没有zero jitter的CD机,或者解码器,我也不知道,估计没有。
我只是想开阔思路,把jitte说清楚,因为jitte不仅限于音频。它广泛存在于数字产品中。专业音频领域中有专门的设备进行Jitte correction。为什么我们的资深发烧友从来不提及?反而很多不懂jitte的人在拼命挥舞jitter大棒?
TOP
7#

The first thing to know is that there are two kinds of jitter that relate to audio CDs. The usual meaning of "jitter" refers to a time-base error when digital samples are converted back to an analog signal; see the jitter article on http://www.digido.com/ for an explanation. The other form of "jitter" is used in the context of digital audio extraction from CDs. This kind of "jitter" causes extracted audio samples to be doubled-up or skipped entirely. (Some people will correctly point out that the latter usage is an abuse of the term "jitter", but we seem to be stuck with it.)
TOP
8#

我确实不懂什么叫作“盘的jitter”,请指教!CD盘上每个bit允许的公差是0.8%,不知道你是不是说的这个误差?
最后编辑沙漠之鹰
TOP
9#

yyy9 在 2005-12-14 12:33:26 发表的内容
若CD机或解码器在D/A转换的时候,因为这个原因,而不是因为数据的不同而导致声音不同(在同一个系统中),我认为这应该属于这个行业故意搞的黑幕...
这是一个非常好解决的问题,若这个问题故意留着不解决,就为那些制造各种天价转盘提供了生存的理由!

不是黑幕,想一想CD标准是哪一年制定的?那个时代的电子技术是什么水平,从现在的眼光来看,很多东西是不可理喻的!
1.纠错机制----------------------不完善。
2.单倍线速度速同步-------发现错误也无法纠正。
3.PCM编码------------------------冗余度太大,浪费空间。
不过,不思进取却是真的,从现在还有那么多的"保皇派"在保LP就可以看出来。他们喜欢在马车上加装N个安全气囊,然后号称得到了hi-end的安全性!
TOP
发新话题 回复该主题