CHAPTER 13

CHAPTER 13 CHAPTER 13

scp.s.scptuj.mb.edus.si
from scp.s.scptuj.mb.edus.si More from this publisher
18.08.2013 Views

760 Chapter 13 Optical Storage Don’t Forget the Software! If you have persistent problems with making CDs, your recording software might be to blame. Check the vendor’s Web site for tips and software updates. Be sure that your software is up-to-date and compatible with your drive and your drive’s firmware revision. Some drives offer software-upgradable firmware similar to the motherboard’s flash BIOS; if so, be sure your drive has the latest firmware available. Each of the major CD-R/CD-RW drive vendors provides extensive technical notes to help you achieve reliable recordings. You can also find helpful information on SCSI adapter vendors’ Web sites and the Web sites of the media vendors. Creating Music CDs Newer CD-R, CD-RW, and CD-ROM drives are enabling people to create customized archives of their favorite prerecorded music. Roxio’s Easy CD-Creator, for example, features the SpinDoctor utility to build music CDs and even removes pops, hiss, and other problems from old analog cassette tapes and vinyl LPs. Digital audio extraction allows the digital tracks on commercial CDs to be transformed into WAV files by compatible mastering programs. Those WAV files, exactly like the ones created from older music sources via your sound card, can then create a CD-R, which can be played back in any popular CD stereo system. Many users can take advantage of this type of software to burn greatest hits collections and holiday CDs from their purchased cassette and music CD collections. This exciting technology is not intended to give you a way to create a free music library. Instead, use it to give the music recordings you’ve paid for an extra dimension of usefulness, and of course, to make legal backups of the discs you have purchased. Digital Audio Extraction All CD-ROM drives can play Red Book–formatted CD-DA discs, but not all CD-ROM drives can read CD-DA discs. The difference sounds subtle, but it is actually quite dramatic. If you enjoy music and want to use your PC to manage your music collection, the ability to read the audio data digitally is an important function for your CD (and DVD) drives because it enables you to much more easily and accurately store, manipulate, and eventually write back out audio tracks. CD-ROM drives installed in PCs can play audio discs. The playing function is simple: Using a CD player application (such as the one included with Windows 95 and later), you can insert a CD-DA disc into a CD-ROM drive and play it just as you could with a standard audio CD player. While playing, the analog sound waveform is sent over a thin stereo cable (usually refered to as the CD audio cable) connected between your CD-ROM drive and the sound card in your PC. The same analog waveform usually is also sent to the headphone jack on the front of the drive (or sound card). Your sound card then amplifies the analog signal so you can hear it through the speakers plugged into your sound card or via headphones plugged into the front of the drive (or the sound card). That is just fine if all you want to do is play discs, but if you ever want to record one of the songs on your hard disk, you will run into some problems. To transfer the song to your hard drive, you would have to play the song as you did normally and simultaneously use a sound recorder application, such as the Sound Recorder supplied with Windows 95 and later (similar recording software is also typically supplied with your sound card), to redigitize the audio waveform for storage as a .WAV file on the PC. This means the sound goes from digital as originally stored on the disc to analog in the CD-ROM drive and back to digital in your sound card, with the resulting digital file being only an approximation of the original digital data. Another drawback is that this procedure runs only at 1x speed— hardly an ideal situation!

Writable CDs Chapter 13 761 It would be much better if you could read the original digital data directly off the disc. That was not possible with older CD-ROM drives, but newer drives can do what is called digital audio extraction (DAE). This is a process in which they read the digital audio sectors directly and, rather than decode them into analog signals, pass each 2,352-byte sector of raw (error-corrected) digital audio data directly to the PC’s processor via the (ATA, SCSI, USB, or FireWire) drive interface cable. Therefore, no digital-to-analog conversion (and back) occurs, and you essentially get the audio data exactly as it was originally recorded on the CD (within the limits of the CD-DA error-correction standards). You would have essentially extracted the exact digital audio data from the disc onto your PC. Another term for digital audio extraction is ripping, so named because you can “rip” the raw audio data from the drive at full drive read speed, rather than the normal 1x speed at which you listen to audio discs. Actually, most drives can’t do DAE at their full rated speeds. Although some are faster (or slower) than others, most perform DAE at speeds from about one-quarter to about one-half of their rated read speed. So, you might be able to extract audio data at speeds only up to 20x on a 40x rated drive. However, that is still quite a bit better than at 1x as it would be on drives that can’t do DAE (not to mention skipping the conversion to analog and back to digital with the resultant loss of information). Virtually all newer CD/DVD drives can perform digital audio extraction on music discs. How fast or accurately they do this can vary from model to model. One might think any extraction (digital copy) of a given track (song) should be the same because it is a digital copy of the original; however, that is not always the case. The CD-DA format was designed to play music, not to transfer data with 100% accuracy. Errors beyond the capability of the CIRC in the CD-DA format cause the firmware in the drive to interpolate or approximate the data. In addition, time-based problems due to clock inaccuracies can occur in the drive, causing it to get slightly out of step when reading the frames in the sector (this is refered to as jitter). Differences in the internal software (firmware) in the drive and differences in the drivers used are other problems that can occur. Positioning can also be a problem because the CD-DA format was designed to stream (play continuously) and not to read individual sectors. CD-ROM sectors are 2,352 bytes long,and these bytes are further divided into 2,048 bytes of data plus 304 bytes of syncronization, header, and additional ECC information to control positioning and allow for error-free reads. No such syncronization, header, or extra ECC information exists for audio sectors; instead, all 2,352 bytes are used for pure audio data. To address an audio sector, the Q subcode information is used instead (see the section “Subcodes,” earlier in this chapter). Most audio players position to within only 75 sectors (1 second) using the Q subcode information. CD-ROM drives that can perform digital audio extraction are usually much more accurate than that, but because of how the subcode works (as well as the cross-interleaved way audio data is stored), designing a drive that can position every time to the precise audio sector that starts the track can be difficult. All of this conspires to cause inaccuracies or slight differences in multiple extractions of the same track (song). Perfect extractions are possible, but making perfect extractions is difficult to achieve for a lot of reasons. For example, even a slight amount of dirt or scratches on the disc has a great effect on the quality of your extractions, so be sure the discs are clean. As a test of your drive’s capability to perform DAE, try extracting the same track (song) multiple times from a new, clean, scratch-free disc, using a different filename for each extraction. Then, bring up a command prompt and use the FC (file compare) command to compare the different files to each other. If they compare exactly, you have a combination of hardware and software that can do perfect or near-perfect extractions. If you intend to do a lot of extracting, you should ask around to see what hardware and software others are using for this purpose. As a general rule, SCSI drives work better than ATA, but some ATA drives are just as good as the better SCSI drives. Plextor is well known for drives that are excellent when it comes to digital audio extraction, and I’ve always had good luck with Toshiba drives, too.

Writable CDs Chapter <strong>13</strong><br />

761<br />

It would be much better if you could read the original digital data directly off the disc. That was not<br />

possible with older CD-ROM drives, but newer drives can do what is called digital audio extraction<br />

(DAE). This is a process in which they read the digital audio sectors directly and, rather than decode<br />

them into analog signals, pass each 2,352-byte sector of raw (error-corrected) digital audio data<br />

directly to the PC’s processor via the (ATA, SCSI, USB, or FireWire) drive interface cable. Therefore, no<br />

digital-to-analog conversion (and back) occurs, and you essentially get the audio data exactly as it was<br />

originally recorded on the CD (within the limits of the CD-DA error-correction standards). You would<br />

have essentially extracted the exact digital audio data from the disc onto your PC.<br />

Another term for digital audio extraction is ripping, so named because you can “rip” the raw audio<br />

data from the drive at full drive read speed, rather than the normal 1x speed at which you listen to<br />

audio discs. Actually, most drives can’t do DAE at their full rated speeds. Although some are faster (or<br />

slower) than others, most perform DAE at speeds from about one-quarter to about one-half of their<br />

rated read speed. So, you might be able to extract audio data at speeds only up to 20x on a 40x rated<br />

drive. However, that is still quite a bit better than at 1x as it would be on drives that can’t do DAE<br />

(not to mention skipping the conversion to analog and back to digital with the resultant loss of information).<br />

Virtually all newer CD/DVD drives can perform digital audio extraction on music discs. How fast or<br />

accurately they do this can vary from model to model. One might think any extraction (digital copy)<br />

of a given track (song) should be the same because it is a digital copy of the original; however, that is<br />

not always the case. The CD-DA format was designed to play music, not to transfer data with 100%<br />

accuracy. Errors beyond the capability of the CIRC in the CD-DA format cause the firmware in the<br />

drive to interpolate or approximate the data. In addition, time-based problems due to clock inaccuracies<br />

can occur in the drive, causing it to get slightly out of step when reading the frames in the sector<br />

(this is refered to as jitter). Differences in the internal software (firmware) in the drive and differences<br />

in the drivers used are other problems that can occur.<br />

Positioning can also be a problem because the CD-DA format was designed to stream (play continuously)<br />

and not to read individual sectors. CD-ROM sectors are 2,352 bytes long,and these bytes are<br />

further divided into 2,048 bytes of data plus 304 bytes of syncronization, header, and additional ECC<br />

information to control positioning and allow for error-free reads. No such syncronization, header, or<br />

extra ECC information exists for audio sectors; instead, all 2,352 bytes are used for pure audio data. To<br />

address an audio sector, the Q subcode information is used instead (see the section “Subcodes,” earlier<br />

in this chapter). Most audio players position to within only 75 sectors (1 second) using the Q subcode<br />

information. CD-ROM drives that can perform digital audio extraction are usually much more accurate<br />

than that, but because of how the subcode works (as well as the cross-interleaved way audio data<br />

is stored), designing a drive that can position every time to the precise audio sector that starts the<br />

track can be difficult.<br />

All of this conspires to cause inaccuracies or slight differences in multiple extractions of the same<br />

track (song). Perfect extractions are possible, but making perfect extractions is difficult to achieve for a<br />

lot of reasons. For example, even a slight amount of dirt or scratches on the disc has a great effect on<br />

the quality of your extractions, so be sure the discs are clean. As a test of your drive’s capability to perform<br />

DAE, try extracting the same track (song) multiple times from a new, clean, scratch-free disc,<br />

using a different filename for each extraction. Then, bring up a command prompt and use the FC (file<br />

compare) command to compare the different files to each other. If they compare exactly, you have a<br />

combination of hardware and software that can do perfect or near-perfect extractions.<br />

If you intend to do a lot of extracting, you should ask around to see what hardware and software others<br />

are using for this purpose. As a general rule, SCSI drives work better than ATA, but some ATA drives<br />

are just as good as the better SCSI drives. Plextor is well known for drives that are excellent when<br />

it comes to digital audio extraction, and I’ve always had good luck with Toshiba drives, too.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!