Go Back  IT Forums > Hardware > CD-ROM
User Name
Password
Reply
 
Thread Tools Search this Thread Display Modes

[comp.publish.cdrom] CD-Recordable FAQ, Part 1/4
  #1
Old 06-06-2006, 08:22 PM
Andy McFadden
Junior Member


Andy McFadden is offline
Andy McFadden's Info
Join Date: Jul 2003
Posts: 16
Default [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4

Archive-name: cdrom/cd-recordable/part1
Posting-Frequency: monthly
Last-modified: 2006/05/30
Version: 2.65


Send corrections and updates to Andy McFadden (fadden@fadden.com). If you
have a question you'd like to see answered in here, either post it to one
of the comp.publish.cdrom newsgroups (if you don't have the answer), or
send it to fadden@fadden.com (if you do).

If you're reading this on a web page and want to check out the newsgroups,
check out the following with a news reader. If you don't have one, you
can post news and search for past articles on http://groups.google.com/:

news:comp.publish.cdrom.hardware
news:comp.publish.cdrom.software
news:comp.publish.cdrom.multimedia
news:alt.comp.periphs.cdr

Different HTML versions of this FAQ are available from:
http://www.cdrfaq.org/
http://www.faqs.org/faqs/cdrom/cd-r...1/preamble.html

The text version of this FAQ is posted to Usenet and archived in four parts.
If you're missing one of the Usenet-posted sections, get it from here:
ftp://rtfm.mit.edu/pub/usenet-by-gr...cdrom.hardware/

Some translations are available (may be somewhat out of date):
German: http://www.dvddemystifiziert.de/cdr/faq.html
Turkish: http://www.tarman.ws/
Hungarian: http://delfin.klte.hu/~nagysz/cdrgyik/
French: http://www.lagravuredecd.com/
Spanish: http://cdrfaq.webcindario.com/CDRfaq.htm
Italian: http://web.tiscali.it/marzonaontheweb/faq/faq.html
Russian: http://members.tripod.com/greatkorzhik/cdrfaq.htm

If a Usenet news posting appears to be cut off at the bottom, and you read
news with a browser like Netscape Navigator, you may need to increase a
buffer size.

Please DO NOT post copies of the HTML version on your web site.
I occasionally get e-mail from people reading versions that are several
months old. Please use a link to the www.cdrfaq.org site instead.


Contents
========

[0] Introduction
[0-1] Legal noise (disclaimers and copyrights)
[0-2] What does this FAQ cover (and not cover)?
[0-3] What's new since last time?
[0-4] Is the FAQ only available in English?
[0-5] Appropriate use of the newsgroups
[0-6] I'm having trouble, how do I ask for help?
[0-7] Spelling and name conventions
[0-8] Can I advertise on the FAQ pages?
[0-9] Can you mail the FAQ to me?

[1] Simple answers to simple questions
[1-1] What's CD-R? CD-RW?
[1-2] Are they identical to normal CDs?
[1-3] Can I create new audio and data CDs?
[1-4] Can I use it to copy my CDs?
[1-5] How much can they hold?
[1-6] Can I just copy files onto a CD-R like I would to a floppy?
[1-7] What can you tell me about DVD, DVD-R, DVD-RAM, DVD-RW, etc?
[1-8] Can I copy DVDs with a CD recorder?
[1-9] What's the cheapest recorder and best place to buy media?
[1-10] Can I get step-by-step installation and use instructions?
[1-11] Can I download MP3s from the Internet and make an audio CD?
[1-12] What does this term mean? Is there a glossary?
[1-13] Do I need "music" blanks to record music?
[1-14] How do I learn more? Is there a good book for beginners?
[1-15] Why is this FAQ so far out of date?

[2] CD Encoding
[2-1] How is the information physically stored?
[2-2] What is XA? CDPLUS? CD-i? MODE1 vs MODE2? Red/yellow/blue book?
[2-3] How do I know what format a disc is in?
[2-4] How does copy protection work?
[2-4-1] ...on a data CD-ROM?
[2-4-2] ...on an audio CD?
[2-4-3] ...on an audio CD (Macrovision - SafeAudio)
[2-4-4] ...on an audio CD (SunnComm - MediaCloQ and MediaMax CD3)
[2-4-5] ...on an audio CD (Midbar Tech - Cactus Data Shield)
[2-4-6] ...on an audio CD (Key2Audio / Sony DADC)
[2-4-7] ...on an audio CD (BayView Systems - Duolizer)
[2-4-8] ...on an audio CD (Sanyo)
[2-4-9] How does the Doc-Witness OpSecure CD-ROM work?
[2-4-10] What's the Sony BMG rootkit (First 4 Internet XCP)?
[2-5] What's a multisession disc?
[2-6] What are subcode channels?
[2-7] Are the CD Identifier fields widely used?
[2-8] How long does it take to burn a CD-R?
[2-9] What's the difference between disc-at-once and track-at-once?
[2-10] Differences between recording from an image and on-the-fly?
[2-11] How does an audio CD player know to skip data tracks?
[2-12] How does CD-RW compare to CD-R?
[2-13] Can DVD players read CD-Rs?
[2-14] Should I buy a DVD recorder instead?
[2-15] What are "jitter" and "jitter correction"?
[2-16] Where can I learn more about the history of CD and CD-R?
[2-17] Why don't audio CDs use error correction?
[2-18] How does CD-R compare to MiniDisc?
[2-19] What does finalizing (and closing and fixating) do?
[2-20] How are WAV/AIFF files converted into Red Book CD audio?
[2-21] What does MultiRead mean? MultiPlay?
[2-22] If recording fails, is the disc usable?
[2-23] Why do recorders insert "00" bytes at the start of audio tracks?
[2-24] How many tracks can I have? How many files?
[2-25] Will SCMS prevent me from making copies?
[2-26] Is a serial number placed on the disc by the recorder?
[2-27] What's a TOC? How does it differ from a directory?
[2-28] What's an ISO? A CIF? BIN and CUE? .DAT?
[2-29] Why was 74 minutes chosen as the standard length?
[2-30] Why is there a visibly unwritten strip near the CD-R hub?
[2-31] What is "BURN-Proof"? "JustLink"? "Waste-Proof"?
[2-32] Can playing CD-Rs in a DVD player hurt the discs?
[2-33] Who *really* made this CD-R blank?
[2-34] Can I make copies of DTS-encoded CDs?
[2-35] Why 44.1KHz? Why not 48KHz?
[2-36] What format are .CDA files in?
[2-37] What are DD-R and DD-RW?
[2-38] What's an ATIP?
[2-39] What are "ML" discs and devices?
[2-40] What's CD-MRW? Mount Rainier? EasyWrite?
[2-41] What's Audio Master Quality (AMQ) recording?
[2-42] Can I draw pictures on a disc with the recording laser?
[2-43] What are the gory details about how are 1s and 0s encoded?
[2-43-1] How does the laser read or write a disc?
[2-43-2] How do pits and lands turn into 1s and 0s? What's EFM?
[2-43-3] What's a frame? CIRC encoding? How does ECC work?
[2-43-4] What's in a sector?
[2-43-5] What's in a subcode channel?
[2-43-6] I want even more details
[2-44] Digital is better than analog, right?
[2-44-1] What is "digital" and "digitization", anyway?
[2-44-2] How does this relate to CD-DA?
[2-45] What's a CDR-ROM? CD-PROM?
[2-46] What's HD-BURN? GigaRec?
[2-47] What are C2 errors? What do they say about disc quality?
[2-48] What are CD+R and CD+RW?
[2-49] What's HighMAT?
[2-50] What's VariRec?
[2-51] Will my CDs work on players in other countries?
[2-52] Do CD-Rs have deeper pits? Are "shallow burns" bad?
[2-53] What's a stacking ring?

[3] How Do I...
[3-1] How do I copy a CD-ROM?
[3-1-1] Why can't I just do a block copy like a floppy?
[3-2] How do I extract tracks from ("rip") or copy an audio CD?
[3-2-1] How do I remove the voice from a CD track, leaving just music?
[3-2-2] How do I encode a CD track to MP3?
[3-3] How do I get rid of hisses and clicks on audio CDs?
[3-4] How do I copy game console discs (e.g. Playstation, Dreamcast)
[3-5] How do I get long filenames onto a disc?
[3-5-1] ISO-9660
[3-5-2] Rock Ridge
[3-5-3] HFS/HFS+ and Macintosh extensions to ISO-9660
[3-5-4] Joliet
[3-5-5] Romeo
[3-5-6] ISO/IEC 13346 and ISO/IEC 13490
[3-5-7] ISO-9660:1999
[3-6] How do I use a CD-i disc on a PC?
[3-7] How can I extract disc and track titles from an audio CD?
[3-8] How do I write more than 80 minutes of audio or 700MB of data?
[3-8-1] How well do 80-minute CD-R blanks work?
[3-8-2] How well do 90-minute and 99-minute CD-R blanks work?
[3-8-3] How can I exceed the stated disc capacity ("overburning")?
[3-9] How do I put photographs onto CD-ROM?
[3-9-1] How do I create a PhotoCD?
[3-9-2] How can I set up a photo album on CD-ROM?
[3-9-3] How can I show digital photos on my DVD player?
[3-10] How do I make a CD that will work on a PC or a Mac?
[3-11] How do I access different sessions on a multi-session CD?
[3-12] How do I transfer my records or cassettes to a CD?
[3-12-1] ...with a stand-alone audio CD recorder?
[3-12-2] ...with a CD recorder attached to my computer?
[3-12-3] How can I clean up the audio before recording?
[3-13] How do I transfer an audio DAT tape to CD?
[3-14] How do I put audio and data on the same CD?
[3-15] How do I make a bootable CD-ROM?
[3-16] How do I convert home movies into video on CD?
[3-16-1] How do I create a VideoCD from AVI or MPEG files?
[3-16-2] How do I create an SVCD?
[3-16-3] How do I create an AVCD?
[3-17] How can I burn several copies of the same disc simultaneously?
[3-18] Can I make copies of copies?
[3-19] How can I compress or encrypt data on a CD-ROM?
[3-20] Can I do backups onto CD-R?
[3-21] How do I automatically launch something? Change the CD icon?
[3-21-1] How does Windows "autorun" work?
[3-21-2] How do I launch a document (like a web page)?
[3-21-3] What autorun software is available?
[3-22] How can I be sure the data was written correctly?
[3-23] How do I create, copy, or play Audio Karaoke/CD+G discs?
[3-24] How do I copy a CD-ROM with 3GB of data on it? A huge VideoCD?
[3-25] How do I get my CD-R pressed into a real CD?
[3-26] How do I make a CD without that two-second gap between tracks?
[3-27] How can I record RealAudio (.ra), MIDI, WMA, and MP3 on a CD?
[3-28] How do I add CD-Text information?
[3-29] Can I distribute a web site on a CD-ROM?
[3-30] How do I clean my CD recorder?
[3-31] Is it better to record at slower speeds?
[3-32] Where do I get drivers for my CD recorder?
[3-33] Can I copy discs without breaking the law?
[3-33-1] ...in the United States of America?
[3-33-2] ...in Canada?
[3-34] Can CD-Rs recorded at 2x be read faster than 2x?
[3-35] How do I make my CD-ROM work on the Mac, WinNT, and UNIX?
[3-36] How do I put "hidden tracks" and negative indices on audio CDs?
[3-37] Do I need to worry about viruses?
[3-38] How do I cover up a bad audio track on a CD-R?
[3-39] How do I duplicate this hard-to-copy game?
[3-40] Should I erase or format a disc? How?
[3-41] How do I equalize the volume for tracks from different sources?
[3-42] How do I make a bit-for-bit copy of a disc?
[3-43] How do I put punctuation or lower case in CD-ROM volume labels?
[3-44] How do I extract audio tracks from an "enhanced" CD on the Mac?
[3-45] How do I disable DirectCD for Windows?
[3-46] How do I specify the order of files (e.g. sorting) on ISO-9660?
[3-47] How do I put a password on a CD-ROM?
[3-48] Can I record an audio CD a few tracks at a time?
[3-49] How do I copy DVDs onto CD-R?
[3-49-1] I heard about software that copies DVDs with a CD recorder!
[3-50] How do I copy Mac, UNIX, or "hybrid" CD-ROMs from Windows?
[3-51] How do I copy something in "RAW" mode? What's DAO-96?
[3-52] How do I do cross-fades between audio tracks?
[3-53] How do I create a CD with my favorite songs on it?
[3-54] How do I record directly onto CD from a microphone?
[3-55] Is it okay to record a CD from MP3?
[3-56] How can I test a disc image before recording?
[3-57] How do I clear the "read-only" flag under Windows?
[3-58] How do I share a CD recorder across a network?
[3-59] How do I write a large file across multiple discs?
[3-60] What's the safest, most reliable way to write data to CD-R?

[4] Problems
[4-1] What does "buffer underrun" mean?
[4-1-1] What's the deal with Windows Auto-Insert Notification (AIN)?
[4-1-2] What's all this about Win9x VCACHE settings?
[4-2] I can't get long Win95 filenames to work right
[4-3] I can't read the multisession CD I just made
[4-4] Write process keeps failing N minutes in
[4-5] Why did my CD-R eject and re-load the disc between operations?
[4-6] My CD-ROM drive doesn't like *any* CD-R discs
[4-7] How do I avoid having a ";1" on my ISO-9660 discs?
[4-8] I keep getting SCSI timeout errors
[4-9] I'm having trouble writing a complete disc
[4-10] What's the CDD2000 Write Append Error / spring problem?
[4-11] Getting errors reading the first (data) track on mixed-mode CD
[4-12] My recorder ejects blank discs immediately
[4-13] I'm getting complaints about power calibration
[4-14] My Adaptec 2940 pauses after finding my recorder
[4-15] I can't see all the files on the CD-R
[4-16] My multi-session disc only has data from the last session
[4-17] I'm getting SCSI errors
[4-18] Why doesn't the copy of an audio CD sound the same?
[4-18-1] Why doesn't the audio data on the copy match the original?
[4-18-2] The audio data matches exactly, why do they sound different?
[4-19] Digital audio extraction of a track is shifted slightly
[4-20] I can't play extracted audio files by double-clicking in Win95
[4-21] I can't read an ISO-finalized packet-written disc
[4-22] I'm finding corrupted files on the CD-ROMs I write
[4-23] Having trouble playing an audio CD in a home or car player
[4-24] Having trouble using a CD-ROM on a different machine
[4-25] I can't copy a VideoCD
[4-26] The test write succeeds, but the actual write fails
[4-27] I can no longer erase a particular CD-RW disc
[4-28] Having trouble formatting discs with DirectCD
[4-29] I can't write CD-Rs after installing Windows 98
[4-30] I can't use the copy of a CD-ROM after installing Windows 98
[4-31] The disc I was writing with DirectCD is now unreadable
[4-32] I'm getting a message about 100 form transitions
[4-33] My system hangs when I insert a blank disc
[4-34] My CD-R discs don't work in my DVD player
[4-35] I need help recovering data from a CD-ROM
[4-36] What does "not convertible to CD quality" mean?
[4-37] I inserted a CD-ROM but Windows thinks it's an audio CD
[4-38] I get read errors when trying to copy a game
[4-39] Restarting or shutting Windows down after recording causes hang
[4-40] Why do CD-Rs play poorly when anti-skip protection is enabled?
[4-41] I'm having trouble recording under Windows 2000 or WinXP
[4-42] I formatted a CD-RW and only have about 530MB free
[4-43] My CD recording software keeps crashing
[4-44] Do I need to update my ASPI layer?
[4-45] The write process completes, but the disc is still blank
[4-46] My CD-RW drive doesn't work with my CD-RW blanks
[4-47] Audio discs have crackling sounds on the last few tracks
[4-48] Files in deep directories can be seen but not opened
[4-49] My CD-ROM drive stopped working after uninstalling software
[4-50] Audio CDs recorded from MP3s play back fast and high-pitched
[4-51] Windows says access denied, can't create or replace file
[4-52] I can't see any files on a CD-R or CD-RW from MS-DOS
[4-53] My OS doesn't support ISO-13346 "UDF"

[5] Hardware
[5-1] Which CD recorder should I buy?
[5-1-1] Yamaha
[5-1-2] Sony
[5-1-3] Smart & Friendly
[5-1-4] Philips
[5-1-5] Hewlett-Packard (HP)
[5-1-6] Plasmon
[5-1-7] Kodak
[5-1-8] JVC
[5-1-9] Pinnacle
[5-1-10] Ricoh
[5-1-11] Pioneer
[5-1-12] Olympus
[5-1-13] Optima
[5-1-14] Mitsumi
[5-1-15] DynaTek Automation Systems
[5-1-16] Microboards of America
[5-1-17] Micro Design International
[5-1-18] MicroNet Technology
[5-1-19] Procom Technology
[5-1-20] Grundig
[5-1-21] Plextor
[5-1-22] Panasonic (Matsushita)
[5-1-23] Teac
[5-1-24] Wearnes
[5-1-25] Turtle Beach
[5-1-26] Creative Labs
[5-1-27] Taiyo Yuden
[5-1-28] Memorex
[5-1-29] Hi-Val
[5-1-30] Dysan
[5-1-31] Traxdata
[5-1-32] BenQ (nee Acer)
[5-1-33] Waitec
[5-1-34] BTC
[5-1-35] Caravelle (Sanyo)
[5-1-36] Micro Solutions
[5-1-37] Pacific Digital
[5-1-38] Iomega
[5-1-39] Goldstar (LG Electronics)
[5-1-40] AOpen
[5-1-41] Toshiba
[5-1-42] TDK
[5-1-43] Lite-On
[5-1-44] CenDyne
[5-1-45] VST (SmartDisk)
[5-1-46] ASUS
[5-1-47] Samsung
[5-1-48] APS / LaCie
[5-2] How long do CD recorders last?
[5-3] What kind of PC is recommended?
[5-4] What kind of Mac is recommended?
[5-5] Which standard CD-ROM drives work well with CD-R?
[5-6] What kind of HD should I use with CD-R? Must it be AV-rated?
[5-7] What SCSI adapter should I use with a CD recorder?
[5-7-1] Adaptec - 1510/1522A/1540/1542CF
[5-7-2] Adaptec - 2840/2910/2920/2930/2940
[5-7-3] ASUS - SC-200/SC-875
[5-7-4] Tekram - DC-390U/DC-390F
[5-7-5] Adaptec - 1350/1460/1480
[5-8] Can I use a CD recorder as a general-purpose reader?
[5-9] To caddy or not to caddy?
[5-10] Can I burn CDs from a Jaz drive? Tape drive?
[5-11] What is "Running OPC"?
[5-12] What's the story with stand-alone audio CD recorders?
[5-13] What's firmware? How and why should I upgrade my recorder?
[5-14] How well do parallel-port, USB, and 1394 recorders work?
[5-15] How should I configure my system for an ATAPI CD recorder?
[5-15-1] Should I have DMA enabled for an ATAPI recorder in Windows?
[5-16] How important is CD-RW?
[5-17] What is an "MMC Compliant" recorder?
[5-18] What do I need to record on a UNIX (Linux, Solaris, etc) system?
[5-19] What do I need for recording CDs from a laptop?
[5-20] I need to make *lots* of copies
[5-21] How do I connect two drives to one sound card in a PC?
[5-22] How fast is 1x? What are CAV, CLV, PCAV, and ZCLV?
[5-23] Will playing CD-Rs damage my CD player?
[5-24] Can I "overclock" my CD recorder?
[5-25] I need some help installing the drive
[5-26] How much power does a CD recorder use?
[5-27] Will the laser in my drive wear out?

[6] Software
[6-1] Which software should I use?
[6-1-1] Adaptec - Easy-CD, Easy-CD Pro, and Easy-CD Pro MM ("ECD")
[6-1-2] Adaptec - CD-Creator ("CDC")
[6-1-3] Gear Software - GEAR Pro
[6-1-4] Roxio - Toast
[6-1-5] CeQuadrat - WinOnCD
[6-1-6] Young Minds, Inc. - CD Studio+
[6-1-7] Golden Hawk Technology (Jeff Arnold) - CDRWIN
[6-1-8] Optical Media International - QuickTOPiX CD
[6-1-9] Creative Digital Research - CDR Publisher
[6-1-10] mkisofs
[6-1-11] Asimware Innovations - MasterISO
[6-1-12] Newtech Infosystems, Inc. (NTI) - CD-Maker
[6-1-13] Cirrus Technology/Unite - CDMaker
[6-1-14] Hohner Midia - Red Roaster
[6-1-15] Dataware Technologies - CD Author
[6-1-16] CreamWare - Triple DAT
[6-1-17] MicroTech - MasterMaker
[6-1-18] Angela Schmidt & Patrick Ohly - MakeCD
[6-1-19] Liquid Audio Inc. - Liquid Player
[6-1-20] Jörg Schilling - cdrecord
[6-1-21] Prassi Software - CD Rep and CD Right
[6-1-22] Zittware - CDMaster32
[6-1-23] Dieter Baron and Armin Obersteiner - CD Tools
[6-1-24] PoINT - CDwrite
[6-1-25] PoINT - CDaudio Plus
[6-1-26] Roxio - Easy Media Creator (was Easy CD Creator Deluxe "ECDC")
[6-1-27] Padus - DiscJuggler
[6-1-28] Ahead Software - Nero
[6-1-29] CharisMac Engineering - Discribe
[6-1-30] István Dósa - DFY$VMSCD
[6-1-31] RSJ Software - RSJ CD Writer
[6-1-32] James Pearson - mkhybrid
[6-1-33] JVC - Personal Archiver Plus
[6-1-34] Roxio - Jam
[6-1-35] Pinnacle Systems - InstantCD/DVD (was VOB)
[6-1-36] Sony - CD Architect
[6-1-37] Eberhard Heuser-Hofmann - CDWRITE
[6-1-38] CeQuadrat - JustAudio!
[6-1-39] Digidesign - MasterList CD
[6-1-40] Thomas Niederreiter - X-CD-Roast
[6-1-41] Jesper Pedersen - BurnIT
[6-1-42] Jens Fangmeier - Feurio!
[6-1-43] Iomega - HotBurn
[6-1-44] DARTECH, Inc - DART CD-Recorder
[6-1-45] Interactive Information R&D - CDEveryWhere
[6-1-46] DnS Development - BurnIt
[6-1-47] Andreas Müller - CDRDAO
[6-1-48] Tracer Technologies - (various)
[6-1-49] SlySoft - CloneCD
[6-1-50] IgD - FireBurner
[6-1-51] Jodian Systems & Software - CDWRITE
[6-1-52] Erik Deppe - CD+G Creator
[6-1-53] Micro-Magic - CD Composer
[6-1-54] Earjam, Inc. - Earjam IMP
[6-1-55] Emagic - Waveburner
[6-1-56] Zy2000 - MP3 CD Maker
[6-1-57] Integral Research - Speedy-CD
[6-1-58] Desernet Broadband Media - Net-Burner and MP3-Burner
[6-1-59] Stomp, Inc. - Click 'N Burn
[6-1-60] Steinberg Media Technologies - Clean! plus
[6-1-61] Enreach - I-Author for VCD/SVCD
[6-1-62] VSO Software - Blindread/Blindwrite
[6-1-63] Microsoft - Windows XP
[6-1-64] An Chen Computers - CD Mate
[6-1-65] E-Soft - Alcohol
[6-1-66] Stomp Inc. - RecordNow MAX
[6-1-67] James Mieczkowski - Cheetah CD Burner
[6-1-68] Blaze Audio - RipEditBurn
[6-1-69] Acoustica, Inc. - MP3 CD Burner
[6-1-70] MagicISO, Inc. - MagicISO
[6-1-71] Simone Tasselli - Burn4Free
[6-1-72] Sonic Solutions - Record Now!
[6-1-73] Freeridecoding - BurnAgain
[6-1-74] PowerKaraoke - Power CD+G Burner, PowerKaraoke
[6-2] What other useful software is there?
[6-2-1] Optical Media International - Disc-to-Disk
[6-2-2] Gilles Vollant - WinImage
[6-2-3] Asimware Innovations - AsimCDFS
[6-2-4] Steven Grimm - WorkMan
[6-2-5] Cyberdyne Software - CD Worx
[6-2-6] Arrowkey - CD-R Diagnostic
[6-2-7] DC Software Design - CDRCue Cuesheet Editor
[6-2-8] Astarte - CD-Copy
[6-2-9] Frank Wolf - CDR Media Code Identifier
[6-2-10] Logiciels & Services Duhem - MacImage
[6-2-11] Erik Deppe - CD Speed 2000
[6-2-12] Andre Wiethoff - Exact Audio Copy (EAC)
[6-2-13] Earle F. Philhower, III - cdrLabel
[6-2-14] Adobe - Audition (formerly Cool Edit)
[6-2-15] Elwin Oost - Burn to the Brim
[6-2-16] Mike Looijmans - CDWave
[6-2-17] ECI - DriveEasy
[6-2-18] Jackie Franck - Audiograbber
[6-2-19] High Criteria - Total Recorder
[6-2-20] Smart Projects - IsoBuster
[6-2-21] GoldWave Inc. - GoldWave
[6-2-22] Naltech - CD Data Rescue
[6-2-23] Jufsoft - BadCopy Pro
[6-2-24] CDRoller Soft Co. - CDRoller
[6-2-25] FlexiMusic - Wave Editor
[6-2-26] Nic Wilson - DVD Info Pro
[6-2-27] Audacity
[6-3] What is packet writing (a/k/a DLA - Drive Letter Access)?
[6-3-1] What's UDF?
[6-3-2] Do I want to do packet writing?
[6-4] What packet writing software should I use?
[6-4-1] Roxio - Drag-to-Disc (a/k/a DirectCD)
[6-4-2] CeQuadrat - PacketCD
[6-4-3] SmartStorage - SmartCD for Recording
[6-4-4] Gutenberg Systems - FloppyCD
[6-4-5] Pinnacle Systems - InstantWrite (was VOB)
[6-4-6] Prassi - abCD
[6-4-7] Ahead - InCD
[6-4-8] Oak Technologies - SimpliCD ReWrite
[6-4-9] NewTech Infosystems, Inc. (NTI) - File CD
[6-4-10] Veritas - DLA (Drive Letter Access)
[6-4-11] BHA - B's CLiP
[6-5] Can I intermix different packet-writing programs?
[6-6] I want to write my own CD recording software
[6-6-1] PoINT - CDarchive SDK
[6-6-2] Golden Hawk Technology (Jeff Arnold)
[6-6-3] Gear Software - GEAR.wrks
[6-6-4] VOB - CD-Wizard SDK
[6-6-5] Dialog Medien - ACDwrite.OCX
[6-6-6] ECI - The Engine
[6-6-7] NUGROOVZ - CDWriterXP
[6-6-8] Ashampoo - DiscForge Plug & Burn
[6-6-9] NuMedia Soft - CDWriterPro
[6-6-10] Sonic Solutions - AuthorScript
[6-7] What software is available for doing backups?
[6-7-1] Adaptec - Easy-CD Backup
[6-7-2] D.J. Murdoch - DOSLFNBK
[6-7-3] Dantz - Retrospect
[6-7-4] Veritas - Backup Exec
[6-7-5] Symantec - Norton Ghost
[6-7-6] PowerQuest - Drive Image Special Edition for CD-R
[6-7-7] Centered Systems - Second Copy
[6-7-8] FileWare - FileSync
[6-7-9] Novastor - NovaDISK
[6-7-10] Roxio - Take Two
[6-7-11] NTI - Backup NOW!
[6-7-12] CeQuadrat - BackMeUp LT
[6-7-13] Duncan Amplification - disk2disk
[6-7-14] Pinnacle Systems - InstantBackup (was VOB)
[6-7-15] Microsoft - Backup
[6-7-15] Portlock Software - Storage Manager
[6-7-16] Willow Creek Software - Backup To CD-RW
[6-7-17] TeraByte Unlimited - Image for Windows
[6-8] How do I get customer support for bundled recording software?

[7] Media
[7-1] What kinds of media are there?
[7-2] Does the media matter?
[7-3] Who manufactures CD-R media?
[7-4] Which kind of media should I use?
[7-4-1] What's the best brand of media?
[7-5] How long do CD-Rs and CD-RWs last?
[7-6] How much data can they hold? 650MB? 680MB?
[7-7] Is it okay to write on or stick a label on a disc?
[7-8] How do CD-Rs behave when microwaved?
[7-9] What can I do with CD-R discs that failed during writing?
[7-10] Where can I find jewel cases and CD sleeves?
[7-11] What's "unbranded" CD-R media?
[7-12] How do I repair a scratched CD?
[7-13] What's this about a Canadian CD-R tax?
[7-14] Can I get 80mm (3-inch "cd single") CD-Rs?
[7-15] Where can I find CD-ROM business cards and "shaped" CDs?
[7-16] Can you tell pressed CDs and silver CD-Rs apart?
[7-17] What's the difference between "data" and "music" blanks?
[7-18] How do I convert data CD-Rs into "consumer audio" blanks?
[7-19] Is translucent media bad?
[7-20] How do I destroy CD-R media beyond all hope of recovery?
[7-21] Can I recycle old CDs, CD-Rs, and CD-RWs?
[7-22] Is there really a fungus that eats CDs?
[7-23] How do I clean CD-R and CD-RW discs?
[7-24] Are "black" discs different from other discs?
[7-25] My disc just shattered in the CD drive!
[7-26] How do I tell which side on a silver/silver disc is up?
[7-27] How should I handle and store CDs?
[7-28] What causes the rainbow effect when looking at the data side?
[7-29] Can I print directly on a CD-R?

[8] Net Resources and Vendor Lists
[8-1] Information resources
[8-2] Magazines and other publications
[8-3] Net.vendors
[8-3-1] Consumer software, hardware, and media
[8-3-2] Net.vendors (duplication services and hardware)
[8-4] News sources & mailing lists

[9] Contributors


The last-modified date of each section is shown below the Subject line.
The date format used is YYYY/MM/DD. The date stamps were added on
1998/04/06, so you won't find any older than that.


------------------------------------------------------------------------------

Subject: [0] Introduction

Subject: [0-1] Legal noise (disclaimers and copyrights)
(2006/02/07)

This document is Copyright (C) 1996-2006 by Andy McFadden, All Rights
Reserved. All of the content here, except for attributed quoted material,
is my original work.

Free distribution of the this FAQ is encouraged, as are conversions
to HTML or other formats and translation to foreign languages, so long
as no content is removed, and additions are clearly marked. (You are
not required to retain the Google advertising links.)

The plain ASCII text and www.cdrfaq.org HTML versions aren't otherwise
restricted, but other conversions might be (the content is free, the
presentation or translation might not be). Check with the publisher.

The date and version number on the FAQ *are* considered part of the content
that must not be removed. I occasionally get messages from people who
don't realize that the copy they're reading is more than a year and a half
old.


Caveat lector: the information here is often derived from Usenet postings,
e-mail, and information on web sites. It may well be DEAD WRONG, and you
are encouraged to verify it for yourself.

I take no responsibility for damaged hardware, CD-Rs turned into coasters
or frisbees, time lost, or any other damages you incur as a result of
reading this FAQ. Information on specific models of hardware and software
is based on *opinions* of other users, not scientific studies. I am not
an expert in this (or any other) field. Everything here could be a total
malicious lie, and should be treated as such. You have been warned.

I don't get paid to plug anybody's software or equipment. The sections
on "what XXX should I buy" are not here because I want to sway purchases
one way or another, they're here because the questions are asked *a lot*,
and the answers are pretty consistent. You are invited and encouraged to
investigate the capabilities and reputations of all products.

The various product and company names are trademarks of their respective
companies.

Visit http://www.clari.net/brad/copymyths.html for a mini-FAQ on copyright
laws.


Subject: [0-2] What does this FAQ cover (and not cover)?
(2000/12/24)

This document attempts to answer Frequently Asked Questions about Compact
Disc Recordable technology and related fields. It was originally developed
as a Usenet newsgroup FAQ, and is updated and posted about once a month.
The main foci are explaining CD-R technology, describing hardware and
software solutions for creating audio CDs and CD-ROMs, and helping people
find solutions to common problems.

The FAQ is heavily biased toward PCs and computer-based recorders, because
that's what I'm most familiar with, but I have made an effort to include
useful information for owners of other equipment. I don't anticipate the
section on stand-alone audio CD recorders expanding greatly, because
they're far simpler to operate than computer-based recorders, and most of
the "must know" information about them is more appropriate in an FAQ on
stereo systems or studio recording. I do try to address deficiencies in
Macintosh coverage.

I don't usually address questions that can be phrased, "how do I make
my software do this?" The answers to those should be in the manual that
came with your software. In general, this is a collection of answers to
specific questions, not a "how to" guide. I have tried to make the answers
easy to understand by an inexperienced user, but if you know absolutely
nothing about recording CDs then some sections may be confusing.

This is not a newsletter. Actively maintained web sites are a much better
source of breaking news than this document, which is updated at most once a
month. I also don't try to track moving targets, like CD recorder firmware
versions or software versions unless a specific release is especially
interesting. Ditto for which recorders work with which packet-writing
solutions, or which recorders can overburn.

This FAQ does not, and will not, cover DVD, DVD-ROM, DVD-R, DVD-RAM, DVD-RW,
DVD+RW, or any of the other formats in the ever-expanding DVD morass.
There are other resources on the web for DVD topics.

You will not find a lot of detail about "backing up" copy-protected
software, or where to find unlock codes or "warez". There are many web
sites that explain these matters at length.


Subject: [0-3] What's new since last time?
(2006/06/30)

All sections are tagged with a modification date, so you can see how
long ago something was revised. If you want to know *everything* that
has changed since last time, you can get a set of "context diffs" from
http://www.cdrfaq.org/txtdiffs.zip.


Highlights:

The FAQ is now over 10 years old!

Added section (6-1-74).


Subject: [0-4] Is the FAQ only available in English?
(2006/01/22)

There are a few translations available.

German, by Carsten Stupka: http://www.dvddemystifiziert.de/cdr/faq.html.

Hungarian, by Nagy Szabolcs: http://delfin.klte.hu/~nagysz/cdrgyik/.

French, by Marc Kergomard: http://www.lagravuredecd.com/.

Russian, by Oleg Nechay: http://members.tripod.com/greatkorzhik/cdrfaq.htm.

Italian, by Marzona Simone: http://web.tiscali.it/marzonaontheweb/faq/faq.html.

Spanish, by [[[CAM]]]: http://cdrfaq.webcindario.com/CDRfaq.htm.

Turkish, by Firat Tarman: http://www.tarman.ws/.

At one point there were Dutch, Chinese, and some other Italian and German
translations, but those were discontinued by their authors.

French, German, Italian, Portuguese, and Spanish translations can be done
through http://babelfish.altavista.com/translate.dyn. This is an automatic
language translator that is HTML-aware. It only translates the first
part of each document, so it's not entirely helpful if you just want to
read a translation, but it may make doing a full translation much easier.
(The translation is pretty good for an automatic translator, but is still
pretty rough. I don't want to post a translation that is inaccurate
or misleading, so I'm not going to run the FAQ parts through babelfish
automatically.)

If you're interested in translating this FAQ, you are welcome to do so, but
please respect the amount of work that I and others have put into it.
Don't strip out sections, remove author attributions, or hide the revision
date of the document. I don't think the terms in section (0-1) are
terribly restrictive. If, for whatever reason, you can't keep up with
every update of the English version, that's fine; all I ask is that you
include a link to the www.cdrfaq.org version, so that the current
information is easily locateable. (Some commonly updated things, like the
list of recorders in section (5-1), don't need much translation.) If you
don't want to translate a particular section, just leave it in English.

If you want to start with an HTML version, use the pages from
http://www.cdrfaq.org/. If you prefer to do the translation on a
text document, and you're converting to an iso-latin language, the
"faq2html" converter that I use can be found in the "downloads" section
on http://www.fadden.com/.

If you do a translation, let me know and I'll put the URL here.


Subject: [0-5] Appropriate use of the newsgroups
(1998/04/06)

This FAQ covers the three newsgroups in the comp.publish.cdrom hierarchy,
one for software, one for hardware, and one for multimedia. The names of
the newsgroups imply that the intended topics are related to publishing
material on CD-ROMs, but the current discussions cover most everything
related to CD-Recordable devices.

Here are a few guidelines. These aren't hard and fast rules -- nobody died
and put me in charge of making the rules -- but if you're not sure what the
appropriate subject matter is then this may be helpful.

news:comp.publish.cdrom.hardware is the most popular of the groups.
Appropriate material includes questions about past, current, and future
CD-R devices. Asking for installation help or advice on what to buy is
appropriate, as are questions about related hardware like SCSI adapters and
CD-ROM drives. Some related newsgroups are:

news:comp.sys.ibm.pc.hardware.cd-rom
news:comp.sys.ibm.pc.hardware.storage
news:comp.sys.ibm.pc.hardware.systems
news:alt.comp.periphs.cdr
news:comp.periphs.scsi
news:alt.cd-rom
news:linux.apps.cdwrite

news:comp.publish.cdrom.software is for discussions about software used to
prepare material for and create CDs and CD-ROMs. Questions about how to do
things with a specific piece of software belong here, as do "the CD-R
software from XXX won't recognize my drive", and "does a program exist that
does YYY". Some related newsgroups are:

news:alt.cd-rom
news:linux.apps.cdwrite

news:comp.publish.cdrom.multimedia is for discussions about creating
multimedia products on CD-ROMs. Questions about multimedia authoring
software belong here, as do most production-type questions, e.g. "where can
I go to get my CD pressed with jewel cases and glossy inserts?" Related
newsgroups are:

news:comp.multimedia
news:rec.video.desktop
news:rec.video.professional
news:rec.photo.digital
news:misc.education.multimedia

Please try to keep cross-posting to a minimum. Broadcasting questions to
3 or 4 related newsgroups will increase the noise level and probably won't
get you more answers.


Some general rules apply to all of the comp.publish.cdrom.* groups:

(1) Piracy of CD-ROM software or CDs: CD recorders can be used to make
copies of copyrighted material, and while backups of data are legal, making
or accepting copies from others most likely isn't. Whatever your opinion
of the matter, software piracy and other copyright violations are illegal
in most countries in the world, so requests and/or advertisements for
pirated material should be kept off the newsgroup. Also, please don't
start or participate in a debate about whether or not software piracy is
bad. There have been hundreds of such debates over the past several years,
and the only thing that either side has managed to prove is that piracy
debates are a tremendous waste of time.

(2) Personal CD-R hardware and software sales: strictly speaking, these
groups aren't appropriate for selling off your old hardware or software.
Such things are best left in misc.forsale.computers.*, ba.market.computers,
and related groups. Since many readers are in the market for new hardware,
a limited number of clearly marked articles are tolerated. The common
Usenet convention is to use "FS: HP4020i $400 obo" for "For Sale" messages
and "WTB: HP4020i" for "Want To Buy" messages.

(3) CD-R product advertising: these groups by their nature are somewhat
commercial. Many readers are in the market for new hardware or CD-R media,
and for this reason a *limited* amount of retail/wholesale advertising is
tolerated but discouraged. If you *clearly* mark your postings as
advertisements, you will get relatively few complaints. Posting frequent
and useless followups just to broadcast your 20-line signature will get you
flamed and subsequently ignored. Feel free to send mail to people who post
questions about product pricing and availability, but please don't create
mailing lists and broadcast to everyone who posts.

(4) Other advertising: while it's certainly the case that most or all of
the readers have a CD-ROM drive on a computer, the same could be said of
almost every person reading news from a home computer today. Please keep
ads in newsgroups that are more appropriate. Advertising the latest
educational, game, or adult CD is inappropriate for these groups, as are
"hot new Cyrix 686 PC" posts. Subtle attempts to advertise web sites
("golly, this looked really neat, so I thought I'd tell everyone") are more
obvious than you might think.

(5) Spam: you cannot make money fast. That's life, get used to it. If the
message involves putting your name at the top of a list of 5 or 10 people,
don't post it. If it has an 800 or 888 number that a reader would call to
hear more about your unique business opportunity, don't post it.

(6) Job postings: looking for job candidates on these newsgroups is a
tolerated but generally futile exercise. Most of the readers are looking
for or offering help on CD-Rs, not searching for a job. Try one of the
other groups, like misc.jobs.offered.

(7) Binaries: as with most Usenet newsgroups, posting binary files (large
or small) is inappropriate. If you want to make a binary file available to
Usenet readers, send it to an appropriate alt.binaries newsgroup, and just
post a pointer to it in the other group(s).

One final note: bear in mind that these groups are read by people all over
the world. If you're looking for local retailers, be sure to specify what
"local" is for you. Posting in English is the best way to ensure that you
will get a response, but the readership is diverse enough that you will
likely get a reply no matter what language you use. If you want to quote
prices, specify the currency to avoid confusion (e.g. US$300 or CAN$300 or
Y30000 or ...).


Subject: [0-6] I'm having trouble, how do I ask for help?
(2002/12/20)

The first thing to do is look at the web pages for the products you're
using. Sometimes there will be software or firmware updates, or pages with
information on common problems. Doing a web search or scanning through
news archives on servers like Google Groups (http://www.google.com/)
will often turn up relevant material.

If you don't find anything, calling or sending an e-mail message to the
technical support department for the product that is giving you trouble
is a good second step. If you want to contact other users, posting a
message to one of the Usenet newsgroups is a reasonable thing to do.

You will get faster, more accurate responses to questions if you include
enough detail in your mail message or news posting. For most problems
having to do with recording, you need to specify:

(1) Platform. PC, Mac, Sun, whatever.
(2) Operating system, with version. Win95, Win98, WinNT3.5, WinNT4, etc.
Mention any interesting goodies, e.g. IE4 Active Desktop.
(3) CD-R brand, model, and firmware revision, e.g. "Yamaha CDR-102 v1.00".
(4) Other relevant hardware details. If the recorder comes in SCSI and
IDE or parallel-port versions, specify which you were using, and what
sort of interface was used (e.g. "SCSI, Adaptec 2940U"). For SCSI
and IDE device problems, listing the other devices connected to the
same interface is a good idea.
(5) Software in use, including version numbers, e.g. "Easy-CD Pro 95 v1.2".
(6) Brand of media. Be sure to specify CD-R or CD-RW.
(7) What were you trying to do? What specific steps did you take to go
about it? Have you tried anything to correct the problem, and if so,
what were the results?
(8) Specific error messages seen. Write down *exactly* what it says, and
any numeric error codes along with it. Be sure to write down what it
*said*, not what you think it *meant*. Add your interpretation of
events only after you've gotten all the details down.

Try to include any details which you think might be relevant. Take the
time to organize your report so that it is easy to understand. And PLEASE
check this FAQ for the answers first! Much of the volume on the newsgroups
is from people whose questions are already answered here.


Subject: [0-7] Spelling and name conventions
(1999/07/22)

Whenever possible, the FAQ tries to use the correct spelling and
terminology. Errors should be reported to the FAQ maintainer, but bear
in mind that I don't modify the contents of quoted material, the names
of products, or the titles of articles and web pages.

Some common mistakes are:

(1) Writing "CDROM" instead of "CD-ROM". It should be CD-ROM, CD-R, CD-RW,
and CD-DA, not CDROM, CDR, CDRW, CDDA.

(2) Writing "disk" instead of "disc". The words have the same meaning, but
are spelled differently in different countries, just like "color" and
"colour". By convention, CDs are called "discs", while hard drives and
floppies are called "disks". "Disc-to-disc" copies are different from
"disk-to-disc" and "disc-to-disk" copies!

(3) Referring to a sector as a "frame". On a CD, the basic allocation unit
visible outside the firmware is the 2352-byte sector (sometimes called a
"block"). A "frame" is a structure at a lower level. There are 24 bytes
in a frame, and 98 frames in a sector (24*98 = 2352). Even the SCSI-3 MMC
specification gets this one wrong.


Subject: [0-8] Can I advertise on the FAQ pages?
(2005/02/07)

Since its inception, the FAQ has been made available, in its entirety,
free of charge. For nearly nine years, this was done without any overt
advertising. This was made possible in large part by Katherine Cochrane
and Andy Rubin, who provided free web hosting on cd-info.com and spies.com,
respectively. The FAQ was using over 1GB of bandwidth per day at its peak,
occasionally exceeding 2GB per day, so hosting the FAQ was not for the
faint of heart.

The free web hosting days came to an end in January 2005, so I decided
that the FAQ should try to pay its own way. I'm currently using Google's
advertising service, because Google's ads tend to be tasteful and relevant
to readers. It's also easy for me to manage. The ads themselves are
chosen by Google based on some criteria I have no control over, so please
do not assume that I endorse the ads or vendors in any way.

The text version posted to the newsgroups doesn't cost me anything to
distribute, so no ads will be found there. Only the cdrfaq.org version
has advertising.

In an effort to keep the FAQ fair and impartial, I have never accepted direct
advertising, mutual linking, or links with affiliate IDs. Vendors with
relevant products can have URLs added to appropriate sections of the FAQ,
simply by asking.

Products that solve specific problems, such as recovering data from damaged
discs, repairing scratches, or removing pops and clicks from digitized
audio tracks, will be listed under the appropriate topic. CD recording
software and hardware vendors can get their own sub-section. Vendors that
don't fit in a specific category will be listed in section (8).


Subject: [0-9] Can you mail the FAQ to me?
(1999/09/24)

I'm not set up to act as a mail server, but some other places are. You
can request a copy of the FAQ from rtfm.mit.edu's mail server like this:

To: mail-server@rtfm.mit.edu
Subject: foo

send faqs/cdrom/cd-recordable/part1
send faqs/cdrom/cd-recordable/part2
send faqs/cdrom/cd-recordable/part3
send faqs/cdrom/cd-recordable/part4

The mail server breaks each part into smaller pieces, so you will end up
with about a dozen mail messages when all is done.

You can get a full FAQ list on "accessing the Internet through e-mail" from
http://www.faqs.org/faqs/internet-s...cess-via-email/ or by mail
request:

To: mail-server@rtfm.mit.edu
Subject: foo

send usenet/news.answers/internet-services/access-via-email

Don't put anything else in the body of these messages; just one or more
"send" lines. The "subject" line is ignored.


------------------------------------------------------------------------------

Subject: [1] Simple answers to simple questions
(1998/04/06)

These are intended to be brief (if somewhat incomplete) answers to basic
questions. More detailed information can be found later in the FAQ. For
example, section (1-5), "How much can they hold?", is answered in far
more detail in section (7-6).


Subject: [1-1] What's CD-R? CD-RW?
(1999/12/19)

CD-R is short for "CD-Recordable". Recordable CDs are WORM (Write Once,
Read Multiple) media that work just like standard CDs. The advantage of
CD-R over other types of optical media is that you can use the discs with a
standard CD player. The disadvantage is that you can't reuse a disc.

A related technology called CD-Rewritable (CD-RW) allows you to erase
discs and reuse them, but the CD-RW media doesn't work in all players.
CD-Rewritable drives are able to write both CD-R and CD-RW discs.

All CD recorders can read CDs and CD-ROMs, just like a standard CD-ROM
drive.


Subject: [1-2] Are they identical to normal CDs?
(2005/01/03)

CD-ROMs and music CDs you commonly find in stores are pressed from a
glass mold. CD-Rs are burned with a laser. They may look different (often
green, gold, or blue instead of silver), they're less tolerant of extreme
temperatures and sunlight, and they're more susceptible to physical damage.
Whether CD-Rs or pressed CDs last longer is difficult to answer.

While they're not physically identical, they work just the same. Some CD
players and CD-ROM drives aren't as good at reading CD-R and CD-RW discs as
they are at reading pressed CDs, but by and large they work just fine.

By the way, you can't record on pressed discs, so you might as well throw
out all those AOL CD-ROMs you've been accumulating (or try one of the
suggestions in section (7-9)). Buying a bunch of old CDs in the hopes of
writing new stuff onto them is a bad idea. For similar reasons you can't
record on DVD media, not even DVD-R and DVD+RW, unless your drive explicitly
supports the DVD formats. You have to buy blank CD-R or CD-RW media.


Subject: [1-3] Can I create new audio and data CDs?
(2001/11/09)

Yes. You can create CD-ROMs from data on your hard drive, and you can
create new audio CDs from anything you can record into a WAV or AIFF sound
file. With an audio-only CD-Recorder, which hooks up to your stereo system
instead of your computer, you can record directly from CD, cassette, DAT,
or whatever.

The CD-ROMs you produce will play in ordinary CD-ROM drives, and the audio
CDs you create will work in your home or car CD player.

Writing to CD-Rs and CD-RWs requires a CD recorder. You can't write CDs
with an ordinary CD-ROM drive.

One of the more popular things to do with a CD recorder is make copies
of old cassettes and LPs. See section (3-12) for information about this.


Subject: [1-4] Can I use it to copy my CDs?
(1998/04/06)

Yes, both audio and data CDs can be duplicated. You can even create audio
CDs that are compilations of other audio CDs (perhaps a personal "best of"
disc).

Bear in mind that most CDs are protected by copyright laws.


Subject: [1-5] How much can they hold?
(2004/02/20)

Commonly available blanks hold either 74 or 80 minutes of music, which works
out to 650MB and 700MB of data, respectively.

See section (7-6) for more info.


Subject: [1-6] Can I just copy files onto a CD-R like I would to a floppy?
(2003/03/11)

Yes and no. The process can be a bit more involved than that, and requires
software that (usually) comes bundled with the drive.

With "packet writing" software, and a recorder that supports it, you can
treat a CD-R or CD-RW disc like a floppy. On a CD-R you can only write to
each part of the disc once, so deleting files doesn't free up any space.
There are other limitations as well.

With more traditional software -- necessary if you want broad compatibility
-- you usually end up writing everything to the disc all at once.
When you're doing the writing you can't interrupt the drive, and you can't
reclaim the space you've used. If you want to write your files in smaller
bunches, you lose a fair bit of space every time you stop and start again.


Subject: [1-7] What can you tell me about DVD, DVD-R, DVD-RAM, DVD-RW, etc?
(2002/12/20)

Nothing. This FAQ is about CD-R and CD-RW, and only crosses over into
DVD when the two technologies rub up against each other.

To learn more about DVD, see section (2-14) and read the DVD FAQ at
http://www.dvddemystified.com/dvdfaq.html. For DVD recorders, check
out the Usenet newsgroup alt.video.dvdr and perhaps rec.video.dvd.tech.


Subject: [1-8] Can I copy DVDs with a CD recorder?
(2001/04/20)

Not directly. CD and DVD are very different formats, so you can't write
DVDs with your CD recorder. You may be able to convert the contents into
a lower-quality format though. Be wary of scams. See section (3-49).

There are devices now that can record both DVD-R and CD-R. Those are
usually advertised as "DVD recorders", not "CD recorders".


Subject: [1-9] What's the cheapest recorder and best place to buy media?
(1999/02/07)

I don't know. I don't track prices. There are web sites dedicated to
finding the lowest prices, and you can do a little research with a web
browser, starting perhaps with the vendors listed in section (8-3).


Subject: [1-10] Can I get step-by-step installation and use instructions?
(1999/02/07)

Yes, from the manual that comes with your recorder and software. There's
no information of this type in the FAQ because there are far too many
permutations of hardware and software, and the instructions would have to
be updated with every new release of the software.


Subject: [1-11] Can I download MP3s from the Internet and make an audio CD?
(1999/12/18)

Yup. You can download MP3s, write them to a CD, and play it in anything
that handles audio CDs. In fact, many of the popular CD recording programs
will decode the MP3s for you.

It's also possible to take songs from a CD and convert them to MP3s for
use in an MP3 player.

Section (3-27) has more details.


Subject: [1-12] What does this term mean? Is there a glossary?
(2004/12/10)

There are some good glossaries on the web, though they're becoming
harder to find. Here are a few.

Adaptec (hosted by osta.org):
http://www.osta.org/technology/cdr.htm
Sanyo Laser Products:
http://sanyolaserproducts.com/cd/glossary.htm
ProAction Media:
http://www.proactionmedia.com/cd_dvd_glossary.htm
Leo Pozo's Complete CD and DVD Glossary [site down?]:
http://www.cdpage.com/Compact_Disc_.../glossarym.html


Subject: [1-13] Do I need "music" blanks to record music?
(2002/10/12)

You only need "music" blanks if you have a "consumer" stand-alone audio
CD recorder. If you have a recorder attached to your computer or a
"professional" deck then the "music" blanks will work no better or worse
than "data" blanks.

See section (7-17) for details.


Subject: [1-14] How do I learn more? Is there a good book for beginners?
(2002/10/04)

This FAQ contains a great deal of information, but it's geared toward
answering specific questions rather than providing a general education.
Some of the other net resources are more like a tutorial than a Q&A list,
and may provide a better starting point.

Mike Richter has a primer on CD-R at http://www.mrichter.com/.

Roxio has some good information at http://www.roxio.com/en/support/.

If you're new to CD recording and are feeling a little lost, you may want
to buy a book on the subject. Try one of these:

- _CD Recordable Solutions_ by Martin C. Brown. Software emphasis
is on Roxio Easy CD Creator, Roxio Toast, and "cdrecord" for Linux.
Visit http://www.muskalipman.com/cdrsolutions/index.html.
- _CD and DVD Recording for Dummies_ by Mark L. Chambers. Has a
section on hardware installation. Software emphasis is on Roxio
Easy CD Creator, Roxio Toast, and Apple iDVD.
- _The Complete Idiot's Guide to Creating Your Own CDs_ by Terry
Ogletree et.al. Software emphasis is on Roxio Easy CD Creator and
NTI CD-Maker.

Sample pages, including complete tables of contents, can be found for
all of the above at http://www.amazon.com/.


Subject: [1-15] Why is this FAQ so far out of date?
(2000/05/25)

You may be reading an out-of-date copy of the FAQ. Some sites like to make
a copy of the FAQ with the version, date, and contact information stripped
off the top (in violation of section (0-1)), which makes it hard to tell
when it was last updated. The FAQ is updated about once a month, and the
most recent version is always available from http://www.cdrfaq.org/.

If you are reading the current version, either the section hasn't been
updated in a while (check the date in the section), or something has
slipped past me.

If you want news articles updated daily, try the sites in section (8-4).


------------------------------------------------------------------------------

Subject: [2] CD Encoding
(1998/04/06)

CD fundamentals.


Subject: [2-1] How is the information physically stored?
(2004/02/20)

From _The Compact Disc Handbook, 2nd edition_ by Ken Pohlmann, 1992 (ISBN
0-89579-300-8):

"Write-once media is manufactured similarly to conventional playback-only
discs. As with regular CDs, they employ a polycarbonate substrate, a
reflective layer, and a protective top layer. Sandwiched between the
substrate and reflective layer, however, is a recording layer composed of
an organic dye. .... Unlike regular CDs, a pre-grooved spiral track is
used to guide the recording laser along the spiral track; this greatly
simplifies recorder hardware design and ensures disc compatibility."

Your basic CD-R is layered like this, from top to bottom:

[optional] label
[optional] scratch-resistant and/or printable coating
UV-cured lacquer
Reflective layer (24K gold or a silver alloy)
Organic polymer dye
Polycarbonate substrate (the clear plastic part)

Yes, it's real gold in "green" and "gold" CDs, but if you hold a CD-R up to
a light source you'll notice that it's thin enough to see through (the gold
layer is between 50 and 100nm thick). Something to bear in mind is that
the data is closest to the label side of the CD, not the clear plastic side
that the data is read from. If the CD-R doesn't have a hard top coating
such as Kodak's "Infoguard", it's fairly easy to scratch the top surface
and render the CD-R unusable.


A pressed CD has raised and lowered areas, referred to as "lands" and
"pits", respectively. A laser in the CD recorder creates marks in the
disc's dye layer that have the same reflective properties. The pattern
of pits and lands on the disc encodes the information and allows it to be
retrieved on an audio or computer CD player. See section (2-43) for
specifics.

Discs are written from the inside of the disc outward. On a CD-R you can
verify this by looking at the disc after you've written to it. The spiral
track on a 74-minute disc makes 22,188 revolutions around the CD, with
roughly 600 track revolutions per millimeter as you move outward from the
lead-in (23mm from the center) to the outer edge at 58mm. If you "unwound"
the spiral, it would be about 5700 meters (3.5 miles) long.

The construction of a CD-RW is different:

[optional] label
[optional] scratch-resistant and/or printable coating
UV-cured lacquer
Reflective layer (aluminum)
Upper dielectric layer
Recording layer (phase change film, i.e. the part that changes form)
Lower dielectric layer
Polycarbonate substrate (the clear plastic part)

See the net references section for pointers to more data (especially
http://www.cd-info.com/). You can find some nice drawings at
http://www.pctechguide.com/09cdr-rw.htm. The various pages connected
to http://www.chipchapin.com/CDMedia/cdda5.php3 have some computations on
disc parameters.

The Philips document "Principles of Phase Change Recordings" at
http://www.licensing.philips.com/information/cd/rec/ has some nice drawings
and a very detailed explanation of how CD-RW works.


Subject: [2-2] What is XA? CDPLUS? CD-i? MODE1 vs MODE2? Red/yellow/blue book?
(2002/12/20)

A quick summary of standards and commonly used identifiers:

Red Book = physical format for audio CDs (a/k/a CD-DA)
Yellow Book = physical format for data CDs
Green Book = physical format for CD-i
Orange Book = physical format for recordable CDs
Part I = CD-MO (Magneto-Optical)
Part II = CD-WO (Write-Once; includes "hybrid" spec for PhotoCD)
Part III = CD-RW (ReWritable; originally called CD-E)
White Book = format for VideoCD (often written "VCD")
Blue Book = CD Extra (occasionally used to refer to LaserDisc format)
CD Extra = a two-session CD, 1st is CD-DA, 2nd is data (a/k/a CD Plus)
MODE-1 = standard 2048-byte Yellow Book sectors, with error correction
MODE-2 = 2336-byte sectors, usually used for CD-ROM/XA
CD-ROM/XA = eXtended Architecture; CD-ROM/XA MODE-2 defines two forms:
FORM-1 = 2048 bytes of data, with error correction, for data
FORM-2 = 2324 bytes of data, no ecc, for audio/video
ISO-9660 = file layout standard (evolved from High Sierra format)
Rock Ridge = extensions allowing long filenames and UNIX-style symlinks
CD-RFS = Sony's incremental packet-writing filesystem
CD-UDF = industry-standard incremental packet-writing filesystem
CD-Text = Philips' std for encoding disc and track data on audio CDs

CD-ROM/XA is an extension to the Yellow Book Mode 2 standard. It was
intended as a bridge between CD-ROM and CD-i (Green Book).

See http://www.licensing.philips.com/ if you want to buy copies of
the standards. They're not cheap! You can download some of them from
http://www.ecma-international.org/. ECMA-119 describes ISO-9660, and
ECMA-130 sounds a lot like "yellow book" if you say it slowly.

For SVCD, see http://www.iki.fi/znark/video/svcd/overview/. The discs
are a modified White Book format, using a 2x player and variable bit rate
MPEG-2 instead of MPEG-1 at 1x like VCD.

For HDCD, see http://www.hdcd.com/. The discs are in Red Book format,
but the low bit of the audio has additional information encoded in it.
They sound good on a standard CD player, and better on an HDCD player.

SACD isn't really a CD format. It can have a Red Book compliant layer
that is read by standard CD players, but to get the high-fidelity benefits
you need a special player.


Subject: [2-3] How do I know what format a disc is in?
(2001/07/09)

You can usually tell by looking at the packaging and/or the disc itself:

- CD-DA discs will have a "Compact Disc Digital Audio" logo.
- CD+G discs will have the words "CD Graphics" (and perhaps even
CD-EG "Extended Graphics").
- CD-i discs will have a "Compact Disc Interactive" logo.
- VideoCD discs will have a "Compact Disc Digital Video" logo
and/or the words "VideoCD".
- PhotoCD discs will most likely say "Kodak PhotoCD" on them.
- SVCD discs have a "Super Video CD" logo (the words "Super Video"
under the standard CD logo). The discs use one of the standard
CD-ROM formats.
- DVCD discs say "DVCD"?? [ can't find much info about DVCD ]
- HDCD (High Definition Compatible Digital) have an "HDCD" logo. See
http://www.hdcd.com/. The discs appear to use the standard Red Book
format.
- SACD (Super Audio Compact Disc) is relatively new. The discs can
have two layers, one of which is in Red Book audio format, the other
in a DVD-like format offering higher fidelity.
- DTS (Digital Theater Surround) CDs are just like normal CDs, but
use DTS encoding instead of PCM. See (2-34).

VideoCD is different from CD-Video (a/k/a "Compact Disc Video", or CD-V).
CD-V is an analog format, like LaserDisc, and the video can't be viewed
with a CD-ROM drive.

There are a few references to Compact Disc MIDI, or CD-MIDI.

See (4-46) for some comments on High Speed CD-RW.


Subject: [2-4] How does copy protection work?
(2002/04/01)

Copy protection (sometimes erroneously referred to as "copyright protection")
is a feature of a product that increases the difficulty of making an
exact duplicate. The goal is not to make it impossible to copy -- generally
speaking, that can't be done -- but rather to discourage "casual copying"
of software and music.

The goal is *not* to conceal information from prying eyes; see section
(3-19) for information on encrypting data on a CD-ROM.

A separate but related issue is "counterfeit protection", where the publisher
wants to make it easy to detect mass-produced duplicates. An example of
this is Microsoft's placement of holograms on the hubs of their CD-ROMs.
There are full CD pressing plants dedicated to creating counterfeit software
(the worst offender being mainland China), so this is a serious concern
for the larger software houses.

Copy protection on CD-ROMs used to be rare, but as the popularity of
CD recorders grew, so did the popularity of copy protection. A large
percentage of games released in the past few years have been protected.

A more recent innovation is copy protection for audio CDs, inspired by
the rise of MP3 trading over the Internet. This is more difficult to do,
because the protection must allow correct behavior on a CD player but
altered playback when being read by a CD-ROM drive. The best that can be
accomplished is to force the user to play the music in an analog format
and then re-digitize it, resulting in an imperfect reproduction.

The article at http://news.cnet.com/news/0-1005-201-7320279-0.html is a
nice introduction to the issues.

Some people have questioned whether copy protection is legal. In some
countries it may not be. In the USA, the law allows "fair use" of
copyrighted material, but does not require that the content provider
make it easy for you to do so. So while making a copy of a song for your
own private use may be legal, there is nothing in the law that requires
the publisher to make the material available in an unprotected format.
Copy protection has been around for many years -- some of the schemes
employed on the Apple II were remarkably elaborate -- and has never been
challenged on legal principle.

See http://overclockers.com/tips907/ for an article about why "fair use"
is a legal right rather than a constitutional right in the USA, and what
that means to you. The article also has some interesting quotes from
the courts regarding the DMCA and DeCSS, notably this one: "We know of no
authority for the proposition that fair use, as protected by the Copyright
Act, much less the Constitution, guarantees copying by the optimum method
or in the identical format of the original." In other words, arguing that
"fair use" means the publisher must allow you to make a perfect digital copy
(as opposed to a lower-quality digital or analog copy) is without merit.

The next sections discuss data and audio individually.


Subject: [2-4-1] ...on a data CD-ROM?
(2002/12/09)

There are several approaches. An article with a good overview
of some popular protection technologies can be found at
http://www.tomshardware.com/storage...0617/index.html.
Another source is the "CD Protections" articles on
http://www.cdmediaworld.com/hardwar...otections.shtml.

For anyone interested in protecting their own discs: don't bother. Copy
protection, on the whole, does not work. If you have a major application,
such as a game or CAD package, you may want to consider one of the
commercially licensed schemes listed later, or (heaven forbid) the use of a
dongle. In general, though, if the disc can be read, then the contents
can be copied. If you don't want somebody to make a copy of your stuff,
then you'd better encrypt it (3-19).

A simple and commonly seen technique is to increase the length of several
files on the CD so that they appear to be hundreds of megabytes long.
This is accomplished by setting the file length in the disc image to be
much larger than it really is. The file actually overlaps with many
other files. So long as the application knows the true file length,
the software will work fine. If the user tries to copy the files onto
their hard drive, or do a file-by-file disc copy, the attempt will fail
because the CD will appear to hold a few GB of data. (In practice this
doesn't foil pirates, because they always do image copies. And, no, none
of the standard software provides a way to create such discs.)

One possible implementation, given sufficient control over the reader and
mastering software, is to write faulty data into the ECC portion of a data
sector. Standard CD-ROM hardware will automatically correct the "errors",
writing a different set of data onto the target disc. The reader then
loads the entire sector as raw data, without doing error correction. If it
can't find the original uncorrected data, it knows that it's reading a
"corrected" duplicate. This is really only viable on systems like game
consoles, where the drive mechanism and firmware are well defined. This
can be defeated by doing "raw" reads.

A more sophisticated approach is to write special patterns of data to the
disc. The stream of data that results, after EFM encoding, is difficult
for some recorders to reproduce successfully, apparently because they don't
choose correct values for the merging bits. This is often referred to on
web sites as "writing regular EFM patterns" or "weak sectors". See section
(2-43) for details on EFM.

A less sophisticated -- and no longer effective -- method is to press a silver
CD with data out beyond where a 74-minute CD can write. Copying the disc
used to require hard-to-find CD-R blanks, but now it's easy to use an
overburned 80-minute disc (sections (3-8-1) and (3-8-3)).

The approach some PC software houses have taken is to use nonstandard
gaps between audio tracks and leave index marks in unexpected places.
These discs are uncopyable by most software, and it may be impossible
to duplicate them on drives that don't support disc-at-once recording
(see section (2-9)). With the right reader and software, though, this
isn't much of a problem either.

A method that enjoyed some popularity was non-standard discs with a track
shorter than 4 seconds. Most recording software, and in fact some recorders,
will either refuse to copy a disc with such a track, or will attempt to
do so and fail. A protected application would check for the presence and
size of the track in question. Some recorders may succeed, however, so
this isn't foolproof. (In one case, a recorder could write tracks that
were slightly over three seconds, but refused to write tracks that were
only one second. There may be a limit below which no recorder will write.)
In such cases, the pirates need to remove the explicit check from the
software itself.

Putting multiple data tracks interleaved with audio tracks on a CD will
confuse some disc copiers. However, it's difficult to actually use the
data on those additional tracks.

Sometimes the copy of a disc will have a different volume label. This
usually only happens with file-by-file copies, not disc image copies, so
checking the disc name is marginally useful but not very effective.

Modifying the TOC so that the disc appears to be larger than it really is
will convince some copy programs that the source disc is too large.

Some of the fancier technologies use non-standard pit geometry that cause
players to read the data differently on consecutive attempts. Sometimes
the player sees a "1", sometimes a "0". If, when reading the track, the
CD-ROM drive sees different data each time, the software knows that the
disc is an original. A duplicate disc will return the same data reliably.
(So too will some CD-ROM drives... this technology is not without problems.)

Some programs will examine the disc to try to determine if it's a CD-R.
This doesn't work on all readers, and it's possible to disguise discs,
so this isn't very effective.

CloneCD (section (6-1-49)) can copy many copy protected discs without
trouble, given the right combination of reader and writer. Its main
feature is "raw" reads and writes, which not all drives support.

The Laserlok system from http://www.diskxpress.com/ claims to be able to
prevent unauthorized disc duplication at a low cost. It can be copied
by CloneCD.

An unrelated product called LaserLock, from MLS LaserLock International
(http://www.laserlock.com/) has similar features. It can be copied by
CloneCD.

TTR Technology's DiscGuard (http://www.ttr.co.il/ or http://www.ttrtech.com/
claims to be able to write a signature onto pressed CDs and CD-Rs that is
detectable by all CD-ROM drives but isn't reproducible without special
hardware. A program could use this for copy protection by checking for
the presence of the signature, and refusing to run if it's not there.

Sony DADC is promoting a similar product called Securom. Some information
is at http://www.sonydadc.com/hotnews/secu_fra.htm.

Yet another variant is C-Dilla's SafeDisc. They were bought by Macrovision
(http://www.macrovision.com/). Their more recent product, SafeDisc 2,
was the first to feature "weak sectors".

Yet another variant is CD-Cops from Link Data Security
(http://www.linkdata.com/).


Subject: [2-4-2] ...on an audio CD?
(2002/10/21)

The challenge here is to create a disc that will play on a standard
audio CD player but be difficult to copy or "rip" into an MP3. The
techniques making headlines in mid-2001 were developed by Macrovision
(2-4-3) and SunnComm (2-4-4).

The earliest form of audio CD copy protection was SCMS. This only works
on recorders that support SCMS, specifically consumer-grade stand-alone
audio CD recorders. "Professional" recorders, and recorders that attach
to computers, do not support SCMS. See section (2-25).

Some CDs used a damaged TOC (Table of Contents -- see section (2-27))
that confused some CD-ROM drives and ripping software. More recent schemes
attempt to modify the audio samples in ways that confuse CD-ROM drives into
playing static. The next few sections describe these approaches in detail.

A web site at www.fatchucks.com used to have a list of suspected
copy-protected discs and some tips on what you can do to let the industry
know that copy protection isn't appreciated. The web site appears to be
gone, but you can see an archived copy of it here:
http://web.archive.org/web/20031206...com/corruptcds/

Many forms of copy protection violate the CD-DA standard, and so the discs
aren't allowed to use the official CD logo art. However, many CDs don't
have the logo anywhere, so its absence doesn't prove anything.

A paper entitled "Evaluating New Copy-Prevention Techniques for Audio CDs"
by J.A. Halderman (available only in PostScript format) can be found at
http://crypto.stanford.edu/DRM2002/...n_drm2002_pp.ps. The paper was
submitted to the 2002 ACM Workshop on Digital Rights Management
(http://crypto.stanford.edu/DRM2002/prog.html).


Incidentally, if you're convinced that record companies and artists are
raking in huge piles of cash from every CD they sell, you might want to
take a look at an Electronic Musician article that talks about where the
money comes from and where it goes. See:
http://industryclick.com/magazinear...32835&SiteID=15
(You may need to use IE; Netscape 4.7 for Linux couldn't view the site.)

Interesting figures: only about 16% of CDs sold make enough money for the
publishers to break even. The ones that do make enough money have to pay
for the rest. For the recording artists, only about 3% sell enough music
to get any royalties. With figures like these, it's not surprising that
the industry is taking steps to combat piracy.

For more news & commentary, see:

- http://www.latimes.com/technology/l...3190nov22.story
- http://www.modbee.com/24hour/entert...p-1775112c.html
- http://www.siliconvalley.com/docs/n...nt/cd121701.htm

For some messages about Sony's discs that can crash computers, see
http://slashdot.org/article.pl?sid=...233&mode=nested. A later
article in MacUser noted that the Celine Dion disc _A New Day Has Come_
will lock up iMacs and require physically disassembling parts of the
machine to get the disc back out. The article is
http://www.macuser.co.uk/macsurfer/...le.php3?id=1990


Subject: [2-4-3] ...on an audio CD (Macrovision - SafeAudio)
(2001/08/28)

In the first part of the year 2000, TTR Technologies announced a product
called MusicGuard (http://www.MusicGuard.com/) that claimed to prevent
duplication of audio CDs. The product was withdrawn, but the technology
has resurfaced in mid-2001 as a product called SafeAudio from Macrovision
(http://www.macrovision.com/).

The basic idea is to create samples that sound like bursts of static, and
scramble the ECC data around to make it look like an uncorrectable error.
Audio CD players will interpolate the samples during playback, but CD-ROM
drives doing digital audio extraction generally won't. The result is
a disc that plays back correctly on a CD player, but won't "rip" or copy
correctly on a CD-ROM drive.

Some relevant sites and news articles:

- http://www.macrovision.com/solution.../safeaudio.php3
- http://www.newscientist.com/news/news.jsp?id=ns9999998
- http://cnet.com/news/0-1005-200-6604222.html


This approach relies on an anachronism of CD-ROM drive construction.
There are two ways to play a CD on a computer, one analog, one digital.
The analog path sends the audio across a cable connected from the CD-ROM
drive to the sound card. Most of the CD player software available on
computers works by telling the CD-ROM drive to start playing the CD
through the analog cable. (This may not hold true for newer Macintoshes
-- it appears Mac OS 9 uses an entirely digital approach. Some recent CD
player applications for the PC also do this.)

The digital path requires reading the "raw" audio samples off of the disc,
possibly modifying the data (e.g. changing the byte ordering) into something
appropriate for the sound card, and then writing them to the sound device.
Until a few years ago, most CD-ROM drives did this very poorly, in part
because the analog and digital data paths were logically distinct in the
designers' minds. Audio CDs used the audio path, data CD-ROMs used the
digital path, and while you *could* send audio over the digital path there
didn't seem to be much value in doing so. (See section (2-15) for some
additional notes.)

What Macrovision appears to be exploiting is the different handling of
uncorrectable errors in audio samples on the digital path vs the analog path.
When playing an audio CD in a CD player or CD-ROM drive, the analog path
is used. This path deals with uncorrectable (E32) errors by examining the
samples that come before and after the error, and interpolating between them.
On a scratched-up CD, this means that, while you may not be hearing the
exact samples that were originally recorded, you won't notice any glitches
because they're smoothed over. This feature is definitely not something
you'd want on a data CD-ROM -- interpolating pieces of your spreadsheet
is not going to help you.

In most CD-ROM drives, reading an audio sector with digital audio extraction
is handled the same way that reading a data sector is: uncorrectable
errors are left alone. Instead of getting interpolated samples, you get
to hear the original, scratched-up audio. This is why some CDs will play
back just fine on your computer, but will come out all scratched up when
you extract them with the same drive. The errors are there either way,
but when using a desktop CD player the errors have been smoothed over by
the logic in the analog output path.

Some drives may use interpolation during DAE at lower speeds. If so, it
should be possible to "rip" a track from a copy-protected disc by reducing
the extraction speed to 1x.

Some people have suggested that software could be used to perform the
interpolation on extracted music, stripping out the bits that the music
companies added in. The trouble with this approach is that, once the data
has been extracted, the CIRC encoding is no longer visible. It may not be
easy to tell where the glitches are. For example, it should be possible
to create a low-level but rhythmic distortion that will be noticeable,
annoying, and difficult to identify automatically.

(It's possible that any software specializing in defeating the copy
protection would run afoul of the DMCA (Digital Millenium Copyright Act),
and the authors subject to fines and criminal prosecution. Come to think
of it, the preceding discussion might be illegal. For more information
about the DMCA, see http://www.eff.org/.)

How can you get a "clean" copy of a protected disc? There are four basic
approaches, in order of least to most desirable:

(1) Record directly from the analog outputs of the drive, feeding the sound
into a sound card or outboard A/D converter. Some fidelity will be lost
when converting from digital to analog and back again, which is what the
industry is counting on.

(2) It should be possible to play the disc on a CD player with an S/PDIF
connector, and get error-interpolated digital output. If played into a
digital sound card or a CD recorder with an S/PDIF input, it should be
possible to capture an exact copy of the original. Of course, it has
to be done at 1x, and the track breaks may have to be added manually,
making it a potentially tedious affair. This might be avoidable on a CD-R
"dubbing deck", but inexpensive models will add SCMS to the set of things
to worry about. Don't forget that generation loss is possible with CDs,
especially if you record from CD-Rs (due to their higher BLER rate),
so copying to CD-R and then extracting from CD-R requires some care.
See section (3-18).

(3) Some drives support an extension described in recent versions of the
ATA/ATAPI and SCSI MMC specifications. This extension to the "READ CD"
command returns a set of flags indicating which bytes in an audio block
were not corrected at the C2 level (section (2-17). An audio extraction
application with access to this information could do its own interpolation
across errors. Some applications already make some use of this feature;
see http://www.feurio.com/English/faq/f...e_c2error.shtml. The "drive
check" feature of cdspeed (section (6-2-11)) reports on whether or not a
drive is capable of returning "C2 pointers".

(4) A CD-ROM drive with logic that interpolates uncorrectable errors during
DAE would allow copying and ripping with no additional effort required.


The success or failure of audio CD copy protection hinges upon two factors:
how effective is it at preventing "casual copying", and what sort of
problems do the legitimate owners of audio CDs encounter when playing
their discs? Macrovision claims that their "golden ear" listeners were
not able to tell the difference, though the test might be biased if the
folks with the shiny lobes were using high-end CD players that did an
especially good job of concealing uncorrectable errors.

A legitimate technical concern is that the copy protection reduces the
effectiveness of the error correction. Because some percentage of ECC is
now required for proper playback on a *clean* disc, the odds of scratches
and fingerprints causing audible degradation are increased. In practice,
if the "static" samples are relatively few and far between, the difference
would be statistically insignificant.

One last piece of advice: do not assume that any disc that doesn't extract
cleanly is copy-protected. There have been many, many postings on message
boards from people who think they have found a protected disc, or how
some specific piece of software can defeat the protection. Start with
the more common reasons: the disc is dirty, the disc was poorly made, your
CD-ROM drive is not that great at audio extraction, you're using software
that isn't the best. There are many reasons why ripping an audio track
might fail. People have been having trouble getting clean audio for years.
See section (3-3) for some advice if you're having trouble.

Certain web sites (notably cdfreaks.com) have been reporting that a
replacement CDFS.VXD will fix everything. However, doing the audio
extraction in a VXD instead of an EXE makes no difference. So far, none
of the sites that have claimed victory list a single SafeAudio-protected
disc that was copied, most likely because -- at the time this was written
-- there weren't any discs known to use SafeAudio. (This phenomenon is
not unheard-of; Sega's Dreamcast discs were widely reported to be copyable
by a means that was quickly determined to be utterly ridiculous.) If the
widely-touted CDFS.VXD is in fact a hijacked Plextor driver, then it may
well use technique #3 mentioned above, but would only work on a drive that
supported the extended READ CD feature.


Subject: [2-4-4] ...on an audio CD (SunnComm - MediaCloQ and MediaMax CD3)
(2005/12/09)

SunnComm (http://www.sunncomm.com/) has a product called "MediaCloQ".
It was used to protect the album _A Tribute to Jim Reeves_ by Charley Pride
in mid-2001. The results were inconclusive: clean versions of the tracks
appeared on the net, but SunnComm claimed they came from an unprotected disc
released on Australia. Their plan was to alleviate "fair use" concerns by
allowing users to download MP3 versions of the songs after they registered
the original. Some articles:

- http://news.cnet.com/news/0-1005-200-5924584.html
- http://www.zdnet.com/zdnn/stories/n...5082954,00.html
- http://news.cnet.com/news/0-1014-201-7311791-0.html

Some early stories indicated that BMG Entertainment was considering the use
of this product. Sony-BMG did eventually use SunnComm products on several
CDs. See http://www.zdnet.com/zdnn/stories/n...5094925,00.html.

The idea behind this protection is to make it hard for CD-ROM drives to
identify the disc as being an audio CD. The disc is multisession, and
uses a hacked TOC, so track rippers and disc copiers have trouble dealing
with it. SunnComm hasn't publicly stated any details.

In August 2001, SunnComm announced v2.0 of their product, but didn't
provide specific details.

In mid-2003, SunnComm announced "MediaMax CD3", a fancier implementation that
allows computer users to play the CD through software supplied on the disc.
The software installs a memory-resident driver that prevents CD ripping from
working on protected CDs. The protection can be foiled on Windows PCs by
simply holding down the shift key for several seconds while inserting the CD.
See http://www.cs.princeton.edu/~jhalderm/cd3/ for a detailed analysis.
SunnComm announced they were going to sue the Princeton researcher, but
quickly backed off.

In December 2005, following the XCP disaster (see section (2-4-10)), a
flaw was discovered in MediaMax v5 that could allow malicious software to
gain control of an affected computer. http://sonybmg.com/mediamax/ has a
"consumer advisory" regarding the problem, including a list of affected
CDs and links to a patch and uninstaller on the sunncomm.com web site.
It was subsequently determined that the patch was flawed; see
http://news.bbc.co.uk/1/hi/technology/4511042.stm.


Some personal notes on SunnComm's protection of the Charley Pride disc,
including the steps I took to get a clean copy:

The packaging is labeled with the SunnComm logo, and states, "This audio
CD is protected by SunnComm(tm) MediaCloQ(tm) Ver 1.0. It is designed
to play in standard audio CD players only and is not intended for use in
DVD players." However, my DVD player was able to play the disc after
overcoming some initial confusion.

The disc itself has an unusual construction. There is a heavy band at about
the point where the music stops, and thin bands between tracks. These appear
to be purely decorative (and, I'm told, increasingly common on non-protected
discs). Some images are available on http://www.fadden.com/cdrpics/.

A computer running Win98SE with a Plextor 40max CD-ROM drive saw the
disc as having two sessions and 16 data tracks. My CD player only saw 15
audio tracks. This feature alone makes the disc difficult to rip or copy,
because the software doesn't see any audio tracks, and a CD-R copy would be
full of tracks that even a CD player would see as data. Another machine,
with a Plextor 12/20 and a slightly different set of software, seemed
to have a lot of trouble figuring out what the disc was. It eventually
sorted things out, but I get the sense the disc has been tweaked in ways
that confuse the drive firmware.

I tried using "Session Selector" to select the first session and then
access the tracks. This resulted in a Plextor 8/20 CD recorder becoming
unusable until a reboot. I'd guess the firmware got confused.

The next thing I tried was to crank up CDRWIN v3.7a (section (6-1-7)),
and extract some tracks using my Plextor 12/20. No dice -- the display
showed 15 unselectable tracks and 1 MODE-2 data track.

Next, I tried the "Extract Disc/Tracks/Sectors" function, selected "Extract
Sectors", chose "Audio-CDDA (2352)" for the data type, and entered a
nice range (0 to 300000, where each audio sector is 1/75th of a second).
This choked when trying to read starting at block 173394, so I tried again
stopping at 173390. This resulted in a rather large WAV file, which
I opened with Cool Edit -- revealing the entire contents of the disc,
plain and clear. Playback revealed no audible defects.

I believe this worked because the sector extraction function ignores
track and session boundaries, and just pulls the blocks straight off.
Losing the track markers is annoying, but it's easy to add them back with
something like CDWave (section (6-2-16)).

(FWIW, this same approach did *not* work for the _My Private War_ disc
with the damaged TOC, described in (2-4-2). It would probably not be
of help with a SafeAudio disc either.)

"zEEwEE" came up with a complicated but enlightening scheme for side-stepping
the protection on discs with damaged second TOCs. It has the advantage
of allowing you to use standard tools, such as Exact Audio Copy (section
(6-2-12)), which keeps the track breaks and can do fancy tricks to get
the best extraction quality. See http://cdprot.cjb.net/. [ I'm told
the disc used as an example was actually protected with Midbar Tech's
Cactus Data Shield 100, not MediaCloQ. ] The method involves making the
outer rim of the disc unreadable to the CD-ROM drive. It appears you
can use dry erase markers instead of adhesive stickers for the procedure,
which is good since an adhesive label might peel up and damage your drive.
This method, first posted in August of 2001, resulted in a flurry of media
attention in May of 2002.


Subject: [2-4-5] ...on an audio CD (Midbar Tech - Cactus Data Shield)
(2002/02/13)

Midbar Tech Ltd (http://www.midbartech.com/) appears to have two different
schemes under the "Cactus Data Shield" brand. (The web site shows three
now: CDS100, CDS200, and CDS300.) The first uses a non-standard TOC.
The position of the lead-out and the length of the last track were
tweaked, resulting in a disc that appears to be only 28 seconds long.
The alterations didn't confuse all CD-ROM drives, and it has been reported
that some Philips CD players couldn't play the discs. BMG Entertainment
reportedly tried it and abandoned it.

In late 2001, Midbar Tech announced a different approach. A US patent
(http://www.delphion.com/details?&pn=US06208598__) describes the invention.

The approach appears to involve inserting frames of bogus control information
into a relatively constant part of the CD audio stream. During playback,
the extra frames are skipped. A disc copy or digital stream on an S/PDIF
output will include the bogus frames, and when written to CD-R the extra
control information won't be included. The result is bad samples that only
appear in copies.

News articles:

- http://news.com.com/2100-1023-835841.html
- http://www.newscientist.com/news/news.jsp?id=ns99991105
- http://www.cnn.com/2001/TECH/ptech/...reut/index.html

The difficulty in copying such a disc depends on how the stream of audio
samples appears. In news articles the company claims that the scheme
can defeat method #2 described in section (2-4-3), in which the S/PDIF
connector of a CD player is used to get an error-interpolated digital
stream. That suggests that the bogus data doesn't appear as uncorrected
data, but rather as valid data that is suppressed on the analog outputs.
This would seem to make digital copying difficult, but it would also make
any form of digital playback impossible.

No specific disc titles have been announced, but Sony has reportedly
released a few titles in eastern Europe that use this.


Some personal notes on the early version (CDS100?) of the Cactus Data
Shield: I bought a copy of _My Private War_, by Phillip Boa & The Voodoo
Club, from an online retailer. The disc is labeled "Kopiergeschützte CD -
nicht am pc abspielbar" which translates literally to "copy-protected CD
- not at the PC playable". Supposedly this is one of the BMG discs that
was protected with Midbar's first product.

The Plextor Plextools utility saw it as a single-session audio CD with
13 tracks, but when I asked it to play the disc it only saw the first
28 seconds of the first track, and stopped after playing just that much.
My Panasonic CD "boom box" also thought the disc was only 28 seconds long,
but it happily played past that point, and would let me select any track.

The page at http://uk.eurorights.org/issues/cd/docs/natimb.shtml has an
analysis of the CD _White Lilies Island_ by Natalie Imbruglia.

http://www.cdrinfo.com/Sections/Art...d%20200&index=0
has a very thorough examination of a CDS200 disc. Recommended reading.


Subject: [2-4-6] ...on an audio CD (Key2Audio / Sony DADC)
(2001/09/26)

This was used to protect promotional copies of the Michael Jackson
single "You Rock My World". See http://www.key2audio.com/ for product
information.

News articles:

- http://news.cnet.com/news/0-1005-200-7284684.html

The technology is designed to make the discs unrecognizeable to CD-ROM
drives. According to the web pages, the product is licensed through
Sony DADC.


Subject: [2-4-7] ...on an audio CD (BayView Systems - Duolizer)
(2001/09/26)

The "Duolizer" system splits music into two pieces. The bulk of the
music is on the CD, but a small but essential piece is streamed from a
secure server over the Internet. The idea is to allow music publishers to
distribute songs to the media and retail outlets ahead of scheduled releases.
This was a response to songs appearing in MP3 form on the Internet before
the CDs went into distribution.

See http://www.bayviewsystems.com/solutions/duolizer.htm for product info.

News articles:

- http://news.cnet.com/news/0-1005-200-7132601.html

This scheme can't be used for general CD protection, because if the music can
be played on a computer at all, it can be captured with a program like Total
Recorder (http://www.HighCriteria.com/). It will be reasonably effective
for promotional copies of songs, though, where the goal is to prevent people
from walking away with copies of the discs.

As an added bonus, because the music is streamed from a central location,
it could have a digital watermark added. If (say) somebody at a radio
station made an MP3 copy, it might be possible to trace the source of the
MP3 file back to the source. There is nothing on the product pages to
suggest that such a scheme is currently in place.


Subject: [2-4-8] ...on an audio CD (Sanyo)
(2001/09/29)

Sanyo has joined the growing list of companies to announce CD copy
protection. It's not clear if this is their own scheme or one licensed
from another company.

News articles:

- http://www.cnn.com/2001/TECH/ptech/....idg/index.html


Subject: [2-4-9] How does the Doc-Witness OpSecure CD-ROM work?
(2002/08/22)

The disc has an embedded secure micro (like a smart card) that is activated
when the laser light strikes a photodetector. The light is converted to
electrical impulses, the impulses drive the chip, and if all goes well
the results are presented to the drive via an embedded light-emitting diode.

Making an exact duplicate of the disc would be very difficult. It's unclear
whether this technology actually makes it harder to get a working copy
of the contents. The scheme seems to essentially be a combination of an
"uncopyable" disc and a hardware dongle, both of which have been around
for years (neither of which have brought an end to piracy).

The company's web site is http://www.doc-witness.com/.

News articles:

- http://www.technologyreview.com/art...pe10902.asp?p=7


Subject: [2-4-10] What's the Sony BMG rootkit (First 4 Internet XCP)?
(2005/11/29)

A "rootkit" is a bit of software that changes the way your system works,
usually for malicious purposes. Sony BMG included one with some audio
CDs released in late 2005.

The software in question is "XCP Content Management" from First 4 Internet
Ltd (http://www.first4internet.com/). It uses a combined audio CD and
CD-ROM format. When placed in a CD-ROM drive on a Windows system, it
uses the autorun feature to install itself. XCP includes anti-piracy
technology that acts to prevent you from copying it, and cloaking
technology to prevent you from seeing it. If you manage to find it, and
try to remove it, it disables your CD-ROM drive.

(As with other technologies of this type, disabling autorun or holding
down the shift key while loading a CD will prevent the copy protection
from loading. Because this protection is difficult to remove you must
be very careful when handling Sony music CDs on your computer.)

This produced a tremendous backlash against Sony BMG. Besides the usual
objections to this sort of thing -- installing software that prevents your
system from functioning normally -- the rootkit could be used by other bits
of adware/spyware to conceal themselves. (It was used by enterprising
game cheats to circumvent World of Warcraft's elaborate anti-cheating
system, and a couple of viruses were using it to conceal themselves.)

After news of XCP became widely known, Sony BMG began offering a software
download on its site that would identify affected systems by removing
the cloaking, but wouldn't remove the rootkit entirely. You could get
the patch by filling out a marketing survey that -- according to Sony's
privacy policy -- could lead to having your e-mail address added to their
mailing lists.

Sony BMG eventually made an uninstaller available, but only if you
made some educated guesses on their web site and jumped through some
ridiculous hoops:
http://www.sysinternals.com/blog/20...want-to_09.html

It turned out the web-based uninstaller created security vulnerabilities,
causing yet more problems. Some notes here:
http://blogs.washingtonpost.com/sec...uninstall_.html

There is some network activity associated with the rootkit. It appears to
be connecting to a Sony web site to look for updated content. There is
some speculation that this could be used for tracking purposes, though
Sony denies that they are doing so.

A class-action lawsuit was filed on behalf of residents of the state
of California (USA) in November 2005, and similar actions were planned
elsewhere.

Use of the technology was suspended in November 2005 in response to
public pressure. Later that month, after the various security problems
became prominent, Sony BMG elected to recall all XCP-protected CDs.

News articles:

- http://sfgate.com/cgi-bin/article.c.../f160614S41.DTL
- http://sfgate.com/cgi-bin/article.c...1.DTL&type=tech
- http://www.eff.org/deeplinks/archives/004117.php
- http://blogs.washingtonpost.com/sec...ush_admini.html
- http://today.reuters.co.uk/news/new...&archived=False

Nice summary of the whole debacle:

- http://www.businessweek.com/technol...1129_938966.htm

List of affected CDs:

- http://cp.sonybmg.com/xcp/english/titles.html
- http://www.eff.org/deeplinks/archives/004144.php

Technical info:

- http://www.sysinternals.com/blog/20...decloaking.html
- http://www.f-secure.com/v-descs/xcp_drm.shtml


Subject: [2-5] What's a multisession disc?
(2005/02/07)

A session is a recorded segment that may contain one or more tracks of any
type. The CD recorder doesn't have to write the entire session at once --
you can write a single track, and come back later and write another -- but
the session must be "closed" before a standard audio CD or CD-ROM player
will be able to use it. Additional sessions can be added until the *disc*
is closed or there's no space left.

This provides a simple and fairly reliable way to write some data to
a disc now and still be able to add more later. The trouble with using
multiple sessions is that, every time you write a chunk of data, you incur
a fairly substantial amount of overhead: 23MB after the first session,
and 14MB for every subsequent session. This overhead lead to the
development of "packet writing", which allows drag-and-drop recording,
but works in an entirely different way (see section (6-3)).

Multisession writing was first used on PhotoCD discs, to allow additional
pictures to be appended to existing discs. Today it's most often used
with "linked" multisession discs, and occasionally for CD-Extra discs.
These require a bit more explanation.

When you put a data CD into your CD-ROM drive, the OS finds the last
closed session on the disc and reads the directory from it. (Well,
that's how it's supposed to work. On some older operating systems and
CD-ROM drives, you may get different results.) If the CD was written in
ISO-9660 format -- most store-bought CD-ROMs are -- the directory entries
can point at any file on the CD, no matter which session it was written in.

Most of the popular CD creation programs allow you to "link" one or more
earlier sessions to the session currently being burned. This allows the
files from the previous sessions to appear in the last session without
taking up any additional space on the CD (except for the directory entry).
You can also "remove" or "replace" files, by putting a newer version into
the last session, and by not including a link to the older version.

In contrast, when you put an audio CD into a typical CD player, it only
looks at the first session. For this reason, multisession writes don't
work for audio CDs, but as it happens this limitation can be turned into
an advantage. See section (3-14) for details. This limitation does *not*
mean you have to write an entire audio CD all at once; see section (2-9)
for an overview of track-at-once writing.

(Some audio CD players do seem to be able to recognize all of the tracks on
a multisession audio disc. Most do not. The only way to know for sure is
to try and see. If you are planning to give an audio CD you create to
others, it would be wise to write it in a single session.)

Note that mixing MODE-1 (CD-ROM) and MODE-2 (CD-ROM/XA) sessions on a
single disc isn't allowed. You could create such a thing, but many CD-ROM
drives will have a hard time recognizing it.

See also http://www.roxio.com/en/support/cdr/multisession.html, which goes
into more depth.

On a Macintosh, discs written in HFS or HFS+ format cannot link files back
to earlier sessions. Adding a new session will cause the previous session
to disappear.

Quick recap: if you want to write some data to a CD-ROM now, and some
more later, you write a single data track in multiple sessions (or with
packet writing). If you want to write some audio tracks to a CD now,
and some more later, you write multiple audio tracks in a single session.


Subject: [2-6] What are subcode channels?
(2002/12/10)

There are eight subcode channels (P,Q,R,S,T,U,V,W). The exact method of
encoding is discussed in section (2-43), but it's really only important
to note the data is distributed uniformly across the entire CD, and each
channel can hold a total of about 4MB.

The P subcode channel identifies the start of a track, but is usually
ignored in favor of the Q channel.

The Q subcode channel includes useful information, which can be read and
written on many recorders. The user data area contains three types of
subcode-Q data: position information, media catalog number (MCN), and
ISRC code. Other forms are found in the lead-in, and are used to enable
multisession and describe the disc TOC (table of contents).

The position information is used by audio CD players to display the current
time, and has track/index information. This can be controlled when doing
Disc-At-Once recording.

The ISRC (International Standard Recording Code) is used by the recording
industry. It states the country of origin, owner, year of issue, and
serial number of tracks, and may be different for each track. It's
optional; many CDs don't use this. The media catalog number is similar,
but is constant per disc. Note these are different from the UPC codes.

See http://www.ee.washington.edu/consel...al/subcode.html
for some details on P and Q.

The R-W subcode channels are used for text and graphics in certain
applications, such as CD+G (CD w/graphics, supported by SegaCD among
others). A new use has been devised by Philips, called ITTS. It enables
properly equipped players to display text and graphics on Red Book audio
discs. The most recent result of this technology is "CD-Text", which
provides a way to embed disc and track data on a standard audio CD.


Subject: [2-7] Are the CD Identifier fields widely used?
(2002/12/20)

Not many publishers use them, and not all devices can read all of the fields.

Programs that identify audio CDs automatically don't rely on an embedded
serial number. Instead, they compute an ID based on the quantity and
positions of the audio tracks, measured down to 1/75th of a second.
http://www.cddb.com/ has a collection of CD information.


Subject: [2-8] How long does it take to burn a CD-R?
(2001/05/31)

It depends on how much data you're going to burn, and how fast your drive is.
Burning 650MB of data takes about 74 minutes at 1x, 37 minutes at 2x, and
19 minutes at 4x, but you have to add a minute or two for "finalizing"
the disc. Remember that single speed for CD-ROMs is 150KB/sec, double
speed is 300KB/sec, and so on.

If you have half the data, it will finish in (about) half the time. If you
record the same thing twice as fast, it will finish in (about) half the time.

Most CD recording speeds are linear, i.e. recording at 12x is twice as fast
as recording at 6x. If the drive uses a PCAV mechanism (see section (5-22))
the speed varies depending on which part of the disc you're recording.
If a "20x" drive uses PCAV to get 12x at the start of the disc and 20x
near the outside, you know that burning 60 minutes of audio will take
somewhere between about 5 minutes and about 3 minutes.


Subject: [2-9] What's the difference between disc-at-once and track-at-once?
(2002/06/24)

There are two basic ways of writing to a CD-R. Disc-at-once (DAO) writes
the entire CD in one pass, possibly writing multiple tracks. The entire
burn must complete without interruption, and no further information may be
added.

Track-at-once (TAO) allows the writes to be done in multiple passes. There
is a minimum track length of 300 blocks (600K for typical data CDs), and a
maximum of 99 tracks per disc, as well as a slight additional overhead
associated with stopping and restarting the laser.

Because the laser is turned off and on for every track, the recorder leaves
a couple of blocks between tracks, called run-out and run-in blocks.
If done correctly, the blocks will be silent and usually unnoticeable.
CDs with tracks that run together will have a barely noticeable "hiccup".
Some combinations of software and hardware may leave junk in the gap,
resulting in a slight but annoying click between tracks. Some drives
and/or software packages may not let you control the size of the gap
between audio tracks when recording in track-at-once mode, leaving you
with 2-second gaps even if the original didn't have them.

Many recorders, starting with the venerable Philips CDD2000, allow
"session-at-once" (SAO) recording. This gives you disc-at-once control
over the gaps between tracks, but allows you to leave the disc open.
This can be handy when writing CD Extra discs (see section (3-14)).

There are some cases where disc-at-once recording is required. For
example, it may be difficult or impossible to make identical backup copies
of some kinds of discs without using disc-at-once mode (e.g. copy-protected
PC games). Also, some CD mastering plants may not accept discs recorded in
track-at-once mode, because the gaps between tracks will show up as
uncorrectable errors.

The bottom line is that disc-at-once recording gives you more control over
disc creation, especially for audio CDs, but isn't always appropriate
or necessary. It's a good idea to get a recorder that supports both
disc-at-once and track-at-once recording.


Subject: [2-10] Differences between recording from an image and on-the-fly?
(1998/12/20)

Many CD-R creation packages will give you a choice between creating a
complete image of the CD on disk and doing what's called "on-the-fly"
writing. Each method has its advantages.

Disc image files are sometimes called virtual CDs or VCDs (not to be
confused with VideoCD). These are complete copies of the data as it will
appear on the CD, and so require that you have enough hard drive space to
hold the complete CD. This could be as much as 650MB for CD-ROM or 747MB
for an audio disc when using 74-minute blanks. If you have both audio and
data tracks on your CD, there would be an ISO-9660 filesystem image for the
data track and one or more 16-bit 44.1KHz stereo sound images for the audio
tracks.

(On the Mac, you might instead use an HFS filesystem for the data track.
You can create the image with Mac CD recording software, or create it as a
DiskCopy image file and then burn the data fork under a different OS.)

On-the-fly recording often uses a "virtual image", in which the complete
set of files is examined and laid out, but only the file characteristics
are stored, not the data. The contents of the files are read while the CD
is being written. This method requires less available hard drive space and
may save time, but increases the risk of buffer underruns (see (4-1)).
With most software this also gives greater flexibility, since it's easier
to add, remove, and shuffle files in a virtual image than a physical one.

A CD created from an image file would be identical to one created with
on-the-fly recording, assuming that both would put the same files in the
same places. The choice of which to use depends on user preference and
hardware capability.


Subject: [2-11] How does an audio CD player know to skip data tracks?
(1999/04/11)

There are subcode flags in the Q channel for each track:

Data
If set, the track contains data; if not, the track contains audio.
Digital Copy Permitted
Used by SCMS. Set to allow copies, clear to prevent them.
Four-Channel Audio
The Red Book standard allows four-channel audio, though very few
discs have ever been made that use it.
Pre-Emphasis
Set if the audio was recorded with pre-emphasis.

The last two are rarely used.


Subject: [2-12] How does CD-RW compare to CD-R?
(2001/07/06)

CD-RW is short for CD-Rewritable. It used to be called CD-Erasable (CD-E),
but some marketing folks changed it so it wouldn't sound like your
important data gets erased on a whim. The difference between CD-RW and
CD-R is that CD-RW discs can be erased and rewritten, while CD-R discs are
write-once. Other than that, they are used just like CD-R discs.

Let me emphasize that: they are used just like CD-R discs. You can use
packet writing on both CD-R and CD-RW, and you can use disc-at-once audio
recording on both CD-R and CD-RW. Some software may handle CD-RW in a
slightly different way, because you can do things like erase individual
files, but the recorder technology is nearly identical.

CD-RW drives use phase-change technology. Instead of creating "bubbles"
and deformations in the recording dye layer, the state of material in the
recording layer changes from crystalline to amorphous form. The different
states have different refractive indices, and so can be optically
distinguished.

These discs are not writable by standard CD-R drives, nor readable by most
older CD readers (the reflectivity of CD-RW is far below CD and CD-R, so an
Automatic Gain Control circuit is needed to compensate). Most new CD-ROM
drives do support CD-RW media, but not all them will read CD-RW discs at
full speed.

A few older audio CD players and many new ones can handle CD-RW discs, but
many can't. If you want to create audio CDs on CD-RW media, make sure that
your player can handle them.

All CD-RW recorders can write to CD-R media, so the only reason not to buy
a CD-RW recorder is price. Some Internet sites like to put the devices in
completely separate categories, calling them "CD recorders" and "CD
ReWriters", but the differences between them don't really merit such a
distinction. Think of a "CD ReWriter" as a CD recorder that can also make
use of CD-RW media.

Oddly enough, it may be easier for a DVD drive to read CD-RW discs than
CD-R discs, because of the way the media is constructed.

CD-RW media is more expensive than CD-R, but recent price reductions have
narrowed the gap considerably. There is a limit to the number of times an
area of the disc can be rewritten, but that number is relatively high (the
Orange Book requires 1000, but some manufacturers have claimed as much as
100,000). Of course, this is under laboratory conditions. If you don't
handle the disc carefully, you will add scratches, dirt, fingerprints,
and other obstacles that make the disc harder for the drive to read.

It appears that CD-RW discs have speed ratings encoded on them, so discs
that are only certified for 2x recording can't be written to at 4x (or,
for that matter, 1x). To make things more complicated, different media
is required for high-speed CD-RW drives (those that exceed 4x). See
http://www.emediapro.com/EM2000/writer11.html for an explanation.

If you're trying to decide if you want a drive that supports CD-RW, see
section (5-16).


Subject: [2-13] Can DVD players read CD-Rs?
(2001/11/28)

The only discs that a DVD player is guaranteed to read are DVD discs.
Support for CD-ROM, CD-R, and CD-RW may be included, but is by no means
guaranteed.

CD-R was designed to be read by an infrared 780nm laser. DVD uses a
visible red 635nm or 650nm laser, which aren't reflected sufficiently
by the organic dye polymers used in CD-R media. As a result, many DVD
players can't read CD-R media. Some DVD players come with two lasers so
that they can read CD-R. For a technical discussion, see
http://www2.osta.org/osta/html/cddvd/intro.html and
http://www.emedialive.com/EM1998/bennett3.html.

CD-RW discs have a different formulation, and may work even on players that
can't handle CD-R media. If CD-R media doesn't work, try copying the
disc to CD-RW instead (assuming your recorder supports CD-RW).

Some DVD-ROM drives may be unable to read multisession discs. In general,
though, DVD-ROM drives (as opposed to DVD players) are able to read
CD-R media.

If the box doesn't say that something is supported, assume that the
feature isn't. Look for the MultiRead or MultiPlay logos, which indicate
that the DVD player or DVD-ROM drive can read CD-R and CD-RW.

See also "Is XXX compatible with DVD" in the DVD FAQ:
http://www.dvddemystified.com/dvdfaq.html#2.4.3
http://www.dvddemystified.com/dvdfaq.html#2.4.4


Subject: [2-14] Should I buy a DVD recorder instead?
(2001/10/03)

Perhaps, but it's best if you can get a "combo" drive that records on CDs
as well.

CDs are starting to pass the venerable 3.5" floppy disk as the most universal
physical media. If you want to be able to exchange music or data with
someone else, CD and CD-ROM are your best bet. DVD-ROM drives and DVD
players haven't been as successful as some in the industry had hoped.
Near the end of 2000, one of the major computer sellers was offering an
"upgrade" on their systems from DVD-ROM drives to CD recorders.

DVD-R recorders and media are still fairly expensive compared to
CD-R, though they're finally down to consumer levels. An example:
http://www.electroweb.com/product/hard.htm was, as of early February '98,
selling a Pioneer CDVR-S101 DVD-Recordable Drive for US$18K. In June '99,
the same site had a Pioneer CDVR-S201 for US$5100. In October 2001 the
Pioneer DVR-A03PK was on sale for $699, and the price of media had fallen
from $50 to $15 per disc.

In mid-2001 Apple started selling a drive with high-end Macintoshes that
wrote to both CD-R and DVD-R. If you can afford it, being able to write
either format is valuable.

Writers for related formats like DVD-RAM and DVD-RW are available for less,
but aren't widely compatible with current DVD players. HP and several
other companies are promoting the DVD+RW format, which is compatible with
DVD players and is rewritable. See http://www.dvdplusrw.org/.

As mentioned in section (0-2), this FAQ will not be expanding to cover DVD
recorders. See http://www.dvddemystified.com/dvdfaq.html instead.


Subject: [2-15] What are "jitter" and "jitter correction"?
(1998/04/06)

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.)

"Jitter correction", in both senses of the word, is the process of
compensating for jitter and restoring the audio to its intended form. This
section is concerned with the (incorrect use of) "jitter" in the context of
digital audio extraction.

The problem occurs because the Philips CD specification doesn't require
block-accurate addressing. While the audio data is being fed into a buffer
(a FIFO whose high- and low-water marks control the spindle speed), the
address information for audio blocks is pulled out of the subcode channel
and fed into a different part of the controller. Because the data and
address information are disconnected, the CD player is unable to identify
the exact start of each block. The inaccuracy is small, but if the system
doing the extraction has to stop, write data to disk, and then go back to
where it left off, it won't be able to seek to the exact same position. As
a result, the extraction process will restart a few samples early or late,
resulting in doubled or omitted samples. These glitches often sound like
tiny repeating clicks during playback.

On a CD-ROM, the blocks have a 12-byte sync pattern in the header, as well
as a copy of the block's address. It's possible to identify the start of a
block and get the block's address by watching the data FIFO alone. This is
why it's so much easier to pull single blocks off of a CD-ROM.

With most CD-ROM drives that support digital audio extraction, you can get
jitter-free audio by using a program that extracts the entire track all at
once. The problem with this method is that if the hard drive being written
to can't keep up, some of the samples will be dropped. (This is similar to
a CD-R buffer underrun, but since the output buffer used during DAE is much
smaller than a CD-R's input buffer, the problem is magnified.)

Most newer drives (as well as nearly every model Plextor ever made) are
based on an architecture that enables them to accurately detect the start
of a block.

An approach that has produced good results is to do jitter correction in
software. This involves performing overlapping reads, and then sliding the
data around to find overlaps at the edges. Most DAE programs will perform
jitter correction.


Subject: [2-16] Where can I learn more about the history of CD and CD-R?
(2002/12/02)

Some information about "the goode olde days" can be found in Robert
Starrett's "The History of CD-R" article, currently available from
http://www.roxio.com/en/support/cdr/historycdr.html.

The first CD player was available in Japanese stores on October 1, 1982.
CD-Recordable technology wasn't introduced until 1988. For a timeline,
see http://www.oneoffcd.com/info/historycd.cfm.

Back in the late 1980s, CD recorders cost thousands of dollars, and were
part of systems the size of a washing machine. Disks cost US$100.00 each.

Things started to get better in 1995, when Yamaha released the CDR100
(the first 4x recorder) for a mere US$5000.00. In September of 1995,
HP released the 4020i (a 2x recorder based on the Philips CDD2000) for
just under US$1000.00. Media was down to about US$8.00, though 80-minute
discs were extremely rare and expensive (US$40.00 each, if you could find
them at all).


Subject: [2-17] Why don't audio CDs use error correction?
(2001/08/01)

Actually, they do. It is true that audio CDs use all 2352 bytes per block
for sound samples, while CD-ROMs use only 2048 bytes per block, with most
of the rest going to ECC (Error Correcting Code) data. The error
correction that keeps your CDs sounding the way they're supposed to, even
when scratched or dirty, is applied at a lower level. So while there
isn't as much protection on an audio CD as there is on a CD-ROM, there's
still enough to provide perfect or near-perfect sound quality under
adverse conditions.

All of the data written to a CD uses CIRC (Cross-Interleaved Reed-Solomon
Code) encoding. Every CD has two layers of error correction, called C1 and
C2. C1 corrects bit errors at the lowest level, C2 applies to bytes in a
frame (24 bytes per frame, 98 frames per sector). In addition, the data is
interleaved and spread over a large arc. (This is why you should always
clean CDs from the center out, not in a circular motion. A circular
scratch causes multiple errors within a frame, while a radial scratch
distributes the errors across multiple frames.)

If there are too many errors, the CD player will interpolate samples to get
a reasonable value. This way you don't get nasty clicks and pops in your
music, even if the CD is dirty and the errors are uncorrectable.
Interpolating adjacent data bytes on a CD-ROM wouldn't work very well, so
the data is returned without the interpolation. The second level of
ECC and EDC (Error Detection Codes) works to make sure your CD-ROM
stays readable with even more errors.

It should be noted that not all CD players are created equal. There are
different strategies for decoding CIRC, some better than others.

Some CD-ROM drives can report the number of uncorrected C2 errors back
to the application. This allows an audio extraction application to
guarantee that the extracted audio matches the original. The Plextor
UltraPlex 40 is one such drive.

See http://www.cdpage.com/dstuff/BobDana296.html for an overview of error
correction from the perspective of media testing. If you really want to
get into the gory technical details, try
http://www.ee.washington.edu/consel...95x7/iec908.htm.


Subject: [2-18] How does CD-R compare to MiniDisc?
(2000/08/08)

MiniDiscs, or MDs, are small (64mm) discs that hold about 140MB of data or
160MB of audio. By using sophisticated compression techniques they are
able to compress audio by a 5:1 ratio, allowing a capacity of 74 minutes
with little or no audible difference in quality. As with CD recorders,
there are MD recorders that connect to your computer and MD recorders that
connect to your stereo.

There are stamped MDs that are similar to CDs in construction, and
rewritable MDs that use magneto-optical technology. Audio MD recorders
are generally more convenient than stand-alone audio CD recorders, because
the playback mechanism allows a more flexible layout of audio data, so it's
possible to delete a track from the middle of the MD and then write a
longer one that is recorded in different places across the disc. The
current generation of MD technology is unlikely to replace CD-R or DAT,
however, because the lossy compression employed is disdained by audio
purists. MD is more often positioned as a replacement for analog cassette
tape, which it matches in portability and recordability, and surpasses in
durability and its ability to perform random accesses.

Computer-based MD recorders can write data, but may not be able to record
audio. Check the specifications carefully.

A wealth of information is available from http://www.minidisc.org/. If you
want to transfer CD to MD or MD to CD-R, check there for more information.
(It used to be item #37 in the FAQ, but doesn't seem to be now.)


Subject: [2-19] What does finalizing (and closing and fixating) do?
(2002/05/26)

A disc that you can add data to is "open". All data is written into the
current session. When you have finished writing, you close the session.
If you want to make a multisession disc, you open a new session at the same
time. If you don't open a new session then, you can't open one later,
which means that it's impossible to add more data to the CD-R. The entire
disc is considered "closed".

The process of changing a session from "open" to "closed" is called
"finalizing", "fixating", or just plain "closing" the session. When you
close the last session, you have finalized, fixated, or closed the disc.

A single-session disc has three basic regions: the lead-in, which has the
Table of Contents (or TOC); the program area, with the data and/or audio
tracks; and the lead-out, which is filled with zeroes and provides padding
at the end of the disc. An "open" single-session disc doesn't yet have
the lead-in or lead-out written.

If you write data to a disc and leave the session open, the TOC -- which
tells the CD player or CD-ROM drive where the tracks are -- is written
into a separate area called the Program Memory Area, or PMA. CD recorders
are the only devices that know to look at the PMA, which is why you can't
see data in an open session on a standard playback device. CD players
won't find any audio tracks, and CD-ROM drives won't see a data track.
When the session is finalized, the TOC is written in the lead-in area,
enabling other devices to recognize the disc.

(Something to try: write an audio track to a blank CD, and leave the
session open. Put the disc in a CD player. Some players will deny the
existence of the disc, some will spin the disc up to an incredible speed
and won't even brake the spindle when you eject the disc, others will
perform equally random acts. The TOC is important!)

If you close the current session and open a new one, the lead-in and
lead-out of the current session will be written. A TOC will be written in
the current lead-in that points to the eventual TOC of the next session.
This process is repeated for every closed session, resulting in a chain of
links from one lead-in area to the next. Typical audio CD players don't know
about chasing TOC links, so they can only see tracks in the first session.
Your CD-ROM drive, unless it's broken or fairly prehistoric, will know
about multisession discs and will happily return the first session, last
session, or one somewhere in between, depending on what the OS tells it
and what it is capable of.

Some CD-ROM drives, notably certain early NEC models, are finicky about
open sessions, and will gag when they try to read the lead-in from a
still-open session. They follow the chain of links in the lead-ins of
each session, but when they get to the last, they can't find a valid TOC
and become confused. Even though these drives support multi-session,
they require that the last session be closed before they will read the
disc successfully. Fortunately, most drives don't behave this way.

If you use disc-at-once (DAO) recording, the lead-in is written at the
very start of the process, because the contents of the TOC are known ahead
of time. With most recorders there is no way to specify that more than one
session should be created in DAO mode, so creating a multisession disc with
DAO recording isn't generally possible. Such discs must be created with
track-at-once (TAO) or session-at-once (SAO) recording.

If you're using certain versions of Windows, the Auto Insert Notification
feature will "discover" the CD-R as soon as the TOC is written. This can
cause the write process to fail, which is why Windows software automatically
enables and disables AIN as needed. Otherwise, if recording in track-at-once
mode, it will fail during finalization; in disc-at-once mode, it will fail
near the beginning of the write process. In both cases, test writes will
succeed, because the TOC doesn't get written during a test pass.

Packet-written discs follow the same rules with regard to open and closed
sessions, which is why they have to be finalized before they can be read on
a CD-ROM drive. The "Packet Writing - Intermediate" document in the primer
at http://www.mrichter.com/cdr/primer/primer.htm goes into a little more
detail on this subject. (Some people like to refer to packet writing as
"PAO", for packet-at-once.)

There are gory details beyond what is written here. For example, the
lead-in on a CD-R actually has a pre-recorded TOC that specifies physical
parameters of the recording layer, such as required laser recording power,
and information about the disc, like how many blocks can be written (the
"ATIP" discussed in section (2-38)). You don't usually need to worry
about such things though.


Subject: [2-20] How are WAV/AIFF files converted into Red Book CD audio?
(2001/01/25)

There is absolutely nothing special about the audio data encoded on a CD.
The only difference between a "raw" 44.1KHz 16-bit stereo WAV file and CD
audio is the byte ordering.

It isn't necessary to convert a WAV or AIFF file to a special format to
write to a CD, unless you're using a format that your recording software
doesn't recognize. For example, some software won't record from MP3 files,
or from WAV files that aren't at the correct sampling rate. Similarly,
you don't have to do anything special to audio extracted from a CD.
It's already in a format that just about anything can understand.

Just put your audio into the correct format -- uncompressed 44.1KHz, 16-bit,
stereo, PCM -- and the software you use to write CDs will do the rest.
All of the fancy error correction and track indexing stuff happens at a
lower level.

Don't get confused by programs (such as Win95 Explorer) that show ".CDA"
files. This is just a convenient way to display the audio tracks, not
a file format unto itself. See section (2-36).


Subject: [2-21] What does MultiRead mean? MultiPlay?
(2001/10/22)

The MultiRead logo indicates that a CD or DVD drive can read all existing
CD formats, including CD-ROM, CD-DA, CD-R and CD-RW. See the description
at http://www.osta.org/specs/multiread.htm The presence of this logo on
a CD-ROM drive does *not* mean that the drive can read DVD.

MultiPlay does essentially the same thing, but is meant for consumer CD
and DVD players. See http://www.osta.org/specs/multiplay.htm.


Subject: [2-22] If recording fails, is the disc usable?
(1998/07/31)

That depends on what was being recorded, how it was being recorded, and
how far along in the process things were.

If it failed while writing the lead-in, before any data was written, the
disc probably isn't usable. Some drives, notably certain Sony models, have
a "repair disc" option that forcefully closes the current session. This
would allow you to add extra data in a second session on the disc, but
anything written in the first session will be unavailable.

Failures when finalizing the disc may be correctable. Sometimes the TOC
gets written before the failure, and the disc can be used as-is. Sometimes
you can use a "finalize disc" option from a program menu that will do the
trick. Other times the recorder will refuse to deal with a
partially-finalized disc, and you're stuck.

Failures in the middle of writing result in a CD-ROM that probably isn't
worth trusting. Some of the data will be there, some won't. The directory
for the disc may show more files than are actually present, and you won't
know which are actually there until you try to read them.

Audio CDs recorded in disc-at-once mode are a special case. Because the
TOC is written up front, the disc is readable in a standard CD player even
if the write process doesn't finish. You will be able to play the tracks
up to the point where the recording failed.

If you were using a packet writing program like DirectCD, the experiences
of people on Usenet suggest that you are either 100% okay or 100% screwed.
The ScanDisk utility included with DirectCD 2.5 may help though.


Subject: [2-23] Why do recorders insert "00" bytes at the start of audio tracks?
(1998/08/14)

This phenomenon is familiar to users who have attempted to extract digital
audio from a CD-R. Very often the result of copying an audio CD is an
exact copy of the original audio data, but with a few hundred zero bytes
inserted at the front (and a corresponding number lost off the end). Since
this represents the addition of perhaps 1/100th of a second of silence at
the start of the disc, it's not really noticeable.

The actual number of bytes inserted may very slightly from disc to disc,
but a given recorder usually inserts about the same number. It's usually
less than one sector (2352 bytes).

According to a message from a Yamaha engineer, the cause of the problem is
the lack of synchronization between the audio data and the subcode
channels, much like the "jitter" described in section (2-15). The same
data flow problems that make it hard to find the start of a block when
reading also make it hard to write the data and identifying information in
sync. According to the engineer, no changes to the firmware or drive
electronics can fix the problem.

Making copies of copies of audio CDs would result in a progressively larger
gap, but it's likely to be unnoticeable even after several generations.


Subject: [2-24] How many tracks can I have? How many files?
(2002/02/11)

You can have up to 99 tracks. Because the track number is stored as a
two-digit decimal number starting with "01" (BCD encoded, in case you were
wondering), it's not possible to exceed this.

Tracks must be at least 4 seconds long, according to the standard.
In practice, CD recorders have different notions of how short a track can
be, but most recorders will refuse to write a track shorter than one second.

The maximum number of files depends on the filesystem you're using. For
ISO-9660, you can (in theory) have as many as you want. In practice,
DOS or Windows will treat the disc internally as a FAT16 filesystem, so
you are limited to about 65,000 files if you want broad compatibility.


Subject: [2-25] Will SCMS prevent me from making copies?
(1999/04/11)

SCMS is the Serial Copy Management System. The goal is to allow consumers
to make a copy of an original, but not a copy of a copy. Analog recording
media, such as audio cassettes and VHS video tape, degrades rather quickly
with each successive copy. Digital media doesn't suffer from the same
degree of generation loss, so the recording industry added a feature that
has the same net effect.

SCMS will affect you if you use consumer-grade audio equipment.
Professional-grade equipment and recorders that connect to your computer
aren't restricted. See section (5-12) for more about the differences
between these types of devices.

The system works by encoding whether or not the material is protected, and
whether or not the disc is an original. The encoding is done with a single
bit that is either on, off, or alternating on/off every five frames. The
value is handled as follows:

- Unprotected material: copy allowed. The data written is also marked
unprotected.
- Protected material, original disc: copy allowed. The data written
will be identified as a duplicate.
- Protected material, duplicate: copy not allowed.

There are hardware "SCMS strippers", primarily used in conjunction
with a DAT deck, that strip the SCMS bits out of an S/PDIF connection.
Some of these reportedly introduce unacceptable artifacts into the audio.
It's possible to "wash" the audio by converting it to and from analog
format, but again the quality will suffer.

If you're using a consumer audio CD recorder, SCMS will prevent you from
making copies of copies of protected material. It will not prevent you
from making a copy of an original disc you have purchased, and it won't
stop you from copying unprotected discs.

Related sites:
http://www.oade.com/tapers/scms1.html
http://www.mitsuicdrstore.com/SCMS_nh.html
http://www.xs4all.nl/~jacg/dcc-faq.html


Subject: [2-26] Is a serial number placed on the disc by the recorder?
(2004/07/15)

In general, no, but it appears that some stand-alone consumer audio CD
recorders write one. The Recorder Unique Identifier (RID) is a 97-bit code
recorded every 100 sectors. It is composed of a brand name identifier,
a type number, and a drive serial number. Recorders such as the Philips
CDR870 write the RID to discourage distribution of copyrighted material.

Windows will show something like "Volume Serial Number is 4365-0FED".
There does not appear to be any way to control this. Some have suggested
that the serial number is generated based on data found on the disc,
similar to the way that audio CDs can (mostly) be uniquely identified by
the number and durations of the tracks.

On floppy disks and hard drives, the "serial number" is generated based
on the date and time when the disk is formatted. The four bytes are:

1. month + seconds
2. day + hundredths of a second
3. high byte of the year + hours
4. low byte of the year + minutes

(From http://www.zdnet.com/pcmag/pctech/c...ons/uu1508a.htm, which no
longer exists.)


Subject: [2-27] What's a TOC? How does it differ from a directory?
(2001/08/01)

The TOC (Table Of Contents) identifies the start position and length of the
tracks on a disc. The TOC is present on all CDs. If it weren't, the disc
would be unreadable on a CD player or CD-ROM drive. CD recorders write the
TOC as part of "finalizing the disc. (Section (2-19) has some more details
about finalizing discs.)

A "directory" is a list of files. If you're a Mac user, you're probably
used to the term "folder". It's part of a filesystem, such as the ISO-9660
or HFS filesystem present on most CD-ROMs. Audio tracks don't have files,
so they don't have directories either.

There's nothing stopping you from writing a FAT16 or Linux ext2 filesystem
directly onto a CD-ROM. Whether or not you can read such a disc is a
different matter. (The Linux "mount" command should allow you to mount
just about anything read-only, but Windows may not be so willing.) The CD
specification defines the TOC, and there are well-defined standards for
certain filesystems, but [AFAIK] nothing in the CD spec requires that you
fill a data track with a certain kind of data.


Subject: [2-28] What's an ISO? A CIF? BIN and CUE? .DAT?
(2005/02/15)

In common use, an "ISO" is a file that contains the complete image of a
disc. Such files are often used when transferring CD-ROM images over
the Internet. Depending on who you're talking to, "ISO" may refer to
all disc image files or only certain kinds.

Going by the more restrictive definition, an "ISO" is created by copying an
entire disc, from sector 0 to the end, into a file. Because the image file
contains "cooked" 2048-byte sectors and nothing else, it isn't possible to
store anything but a single data track in this fashion. Audio tracks,
mixed-mode discs, CD+G, multisession, and other fancy formats can't be
represented.

To work around this deficiency, software companies developed their own
formats that *could* store diverse formats. Corel developed CIF, which is
still in use by Roxio's Easy CD Creator. (What does CIF mean? Nobody
knows, though "Corel Image Format" is as good a definition as any.) Jeff
Arnold's CDRWIN created them as "BIN" files, with a separate "cue sheet"
that described the contents. You can unpack a BIN/CUE combo with
"binchunker", which is now integrated into Fireburner (section (6-1-50)).

A ".DAT" file could be most anything, but usually it's a video file pulled
off of a VideoCD. A program at http://www.vcdgear.com/ can convert .DAT
to .MPG, and recording programs like Nero can record them directly.

A ".ISO" file that contains an image of an ISO-9660 filesystem can be
manipulated in a number of ways: it can be written to a CD-ROM; mounted
as a device with the Linux "loopback" filesystem (e.g. "mount ./cdimg.iso
/mnt/test -t iso9660 -o loop"); copied to a hard drive partition and
mounted under UNIX; or viewed with WinImage (section (6-2-2)). There is no
guarantee, however, that a ".ISO" file contains ISO-9660 filesystem data.
And it is quite common to hear people refer to things as "ISO" which aren't.

A ".SUB" file appears to contain subchannel data. Some programs pass
these around in addition to one of the above formats.

We now have many different file extensions, including ISO, BIN, IMG, CIF,
FCD, NRG, GCD, PO1, C2D, CUE, CIF, CD, and GI. Smart Projects' IsoBuster,
from http://www.isobuster.com/, can open and manipulate just about any
disc image format.


(The rest of this section is a philosophical rant, and can safely be
skipped. This is intended to be more illustrative than factual, and any
relation to actual events is strictly coincidental.)

The term "ISO" is ostensibly an abbreviation of "ISO-9660 disc image",
which is itself somewhat suspect. ISO-9660 is a standard that defines the
filesystem most often used on CD-ROM. It does not define a disc image
format. "ISO-9660 filesystem image" would be more appropriate.

When you capture or generate a CD-ROM image, you have to call it
something. When a CD-ROM was generated from a collection of files into an
ISO-9660 filesystem image, it was written into a file with an extension of
".ISO". This image file could then be written to a CD-ROM. As it happens,
the generated image files were no different in structure from the images
that could be extracted from other CD-ROMs, so to keep things simple the
extracted disc images were also called ".ISO".

(Some programs used the more appropriate ".IMG", but unfortunately that was
less common.)

This meant that, whether you extracted a data track from a disc written
with the HFS filesystem or the ISO-9660 filesystem, it was labeled ".ISO".
This makes as much sense as formatting a 1.4MB PC floppy for HFS, creating
an image, and calling it a "FAT12 disk image" because such floppies are
usually formatted with FAT. It didn't really matter though, because no
matter what was in the file, the software used the same procedure to write
it to CD-R.

As a result of this filename extension convention, any file that contained
a sector-by-sector CD-ROM image was referred to as an "ISO file". When CD
recorders hit The Big Time and many people started swapping image files
around, the newcomers didn't know that there was a distinction between one
type of disc image and another, and started referring to *any* sort of disc
image as an "ISO".

These days it's not altogether uncommon to see messages about "making an
ISO" of an audio CD, which makes no sense at all.

More trivia: "ISO" refers to the International Organization for
Standardization. Because the organization's name would have different
abbreviations in different languages ("IOS" in English, "OIN" in French),
they used a word derived from the Greek "isos", meaning "equal".
See http://www.iso.org/.


Subject: [2-29] Why was 74 minutes chosen as the standard length?
(2002/04/18)

The general belief is that it was chosen because the CD designers wanted to
have a format that could hold Beethoven's ninth symphony. They were trying
to figure out what dimensions to use, and the length of certain performances
settled it.

There are several different versions of the story. Some say a Polygram (then
part of Philips) artist named Herbert von Karajan wanted his favorite piece
to fit on one disc. Another claims the wife of the Sony chairman wanted
it to hold her favorite symphony. An interview in the July 1992 issue of
_CD-ROM Professional_ reports a Mr. Oga at Sony made the defining request.
(This is almost certainly Norio Ohga, who became President and COO of Sony
in 1982 and has been a high-level executive ever since.)

The "urban legends" web site has some interesting articles for anyone
wishing to puruse the matter further. The relationship of Beethoven's
ninth to the length is noted "believed true" in the alt.folklore.urban FAQ
listing, but no particular variant is endorsed.

http://www.urbanlegends.com/misc/cd..._skeptical.html
http://www.urbanlegends.com/misc/cd...th_karajan.html
http://www.urbanlegends.com/misc/cd...gth_origin.html

Another entry:

http://www.snopes2.com/music/media/cdlength.htm

Searching the net will reveal any number of "very reliable sources" with
sundry variations on the theme.


Subject: [2-30] Why is there a visibly unwritten strip near the CD-R hub?
(1999/12/17)

You haven't closed the session yet. The lead-in area, which includes the
TOC (section (2-27)), isn't written until the session is closed. A space
is left for it that is large enough to see. Read section (2-19) for more
details on what happens when you close a disc.

You will see the narrow unwritten strip if you:

- write a disc, telling the program to leave the disc and session open.
- eject a packet-written disc without having closed it in ISO-9660 mode.
- have a failure during recording in track-at-once mode.

In some cases it's perfectly normal to see this space; it's where the
lead-in area will be written when the session is closed. It's not
necessarily a sign of failure.

If you use disc-at-once recording, the lead-in area is written right away,
so after a failure you won't see the gap.


Subject: [2-31] What is "BURN-Proof"? "JustLink"? "Waste-Proof"?
(2003/02/20)

BURN-Proof (or BurnProof) is an unfortunate abbreviation of "Buffer-Under-RuN
Proof". The technology allows you to avoid buffer underruns by suspending
and restarting the write process when the recorder's buffer is about to
empty. (See section (4-1) if you're not familiar with buffer underruns.)

Ideally, the results of interrupted and uninterrupted writes would be
identical. In practice, there may be a small glitch at the point where
writing was suspended. Sanyo recommends 4X or higher speed CD-ROM drives
and audio equipment made in 1995 or later for playback.

The general consensus is that these technologies are effective and do
not result in noticeable glitches.

There are several different, competing technologies. Here's a sample
of what's out there (note that many of the names are trademarked):

BURN-Proof (Sanyo)
Buffer-Under-RuN Proof. The first. Can restart the laser after a buffer
underrun. For details, see http://www.sannet.ne.jp/BURN-Proof/faq/.
JustLink (Ricoh)
Can restart the laser after a buffer underrun. Data gap length is
less than two microns. See
http://www.ricoh.co.jp/cd-r/e-/e_eu...e/justlink.html.
Just Link (AOpen)
Can restart recording after a buffer underrun. Data gaps are less
than 2 microns. http://www.aopen.com/products/cdrw/JustLink.htm.
Same as Ricoh's JustLink?
ExacLink (Oak Technology)
Can restart the laser after a buffer underrun. See
http://www.oaktech.com/products/opt...w/exaclink.html.
ExactLink (Mitsui)
Appears to be the same as ExacLink. Mitsui's pages refer to
"Oak Technology's ExactLink(tm)".
SMART-BURN (Lite-On IT)
Smart Monitoring & Adapting Recording Technology for BURNing. Can
restart the laser after a buffer underrun, and will reduce the
recording speed if it thinks the media can't be written safely at
the requested speed. See http://www.liteonit.com/english-s-tech-7.htm.
Waste-Proof (Yamaha)
Waste-Proof Write Strategy. Does some extra work to prevent the
buffer underrun from happening in the first place, but won't save
you if one actually happens.
SafeBurn (Yamaha)
Can restart the laser after a buffer underrun, and will reduce the
recording speed it if thinks the media can't be written safely at
the requested speed. Data gap length is less than one micron. See
http://www.yamaha.ca/computer/cp_safeburn.asp.
Seamless Link (BenQ, Philips)
Another one.
SafeLink (Waitec)
Another one (no details available?).
Power Burn (Sony)
And another one.
FlextraLink (ASUS)
Yet another one.

All of these are for situations where your computer is unable to send
data to the drive quickly enough to keep the buffer full. They will not
help you if your computer loses power, your software crashes, your media
is of poor quality, or you smack the drive hard enough to disrupt the
recording process.

Nearly all CD recorders announced in or after 2001 featured some variation
of buffer underrun protection.

Some related technologies:

Just Speed (AOpen)
Reduces the record speed if it doesn't think the media can handle it.
See http://www.aopen.com/products/cdrw/justspeed.htm. Probably
implies running OPC (section (5-11)). Combined with Just Link.
Smart Speed (BenQ)
See above; combined with Seamless Link.
FlextraSpeed (ASUS)
See above; combined with FlextraLink.

There are usually lots of trademarked names on the specifications, touting
the benefits of SMART-X for audio extraction or the VAS Vibration Absorber
System. It's unclear whether one manufacturer's implementation is really
any better than the others, or in many cases what they even do.


Subject: [2-32] Can playing CD-Rs in a DVD player hurt the discs?
(2001/12/18)

There appear to be three kinds of DVD players:

1. Those that can play CD-Rs.
2. Those that can't play CD-Rs.
3. Those that damage the discs.

Kind #2 is the most common. Kind #3 comes with a warning in the manual
(you do read product manuals, right?) that tells you not to play CD-R discs.
It is possible that some players in category #2 are actually in #3 and
just aren't labeled as such, and it may be the case that players in #3
will only damage CD-Rs with specific formulations.

If playing CD-R discs in your DVD player is important, make sure the
player can handle them before you buy a player. See section (2-13).

It's a little unclear what the player is doing to damage the CD-R media.
The playback laser would have to be operated at a wavelength and intensity
that caused a change in the recording dye layer.

There are no known instances of DVD-ROM drives that damage discs.


Subject: [2-33] Who *really* made this CD-R blank?
(2000/09/03)

Many of the "big name" media manufacturers don't actually make their
own media. Instead, they buy from other manufacturers and stamp their
logo on the discs. Generally speaking, this isn't a bad thing, because
the discs were certified good enough that the Big Brand was willing to
put the company name behind the product.

If you have a picky recorder or player, though, it helps to be able to
try several different pieces of media. If you buy several different
brands, and they're all coming from the same manufacturer, chances are
they'll all behave the same way, and your time and money will be wasted.

So... how do you tell who really made a piece of media? The short answer
is: you don't.

It's tempting to believe that CD-R media identifier applications (e.g.
section (6-2-9)) will give you the answer you need. Unfortunately, the
data you get is unreliable at best. Charles Palmer, from cd-recordable.com,
had this to say about the manufacturer identification:

"Two components that many users of these programs always take as gospel
are Media Manufacturer and Dye Data. These two readings are next to
worthless.

The reason for this is that many CD-R manufacturers (like CD-
Recordable.com) purchase their stampers (the nickel die that all CD-R
substrates are molded from) from 3rd party sources. These 3rd party
sources (either other disc manufacturers, or mastering houses) encode
the data that these 'Identification' programs read, at the time that
the original glass master is encoded. The 'Manufacturer' information
that is encoded is usually the name of the company that made the
master. Since stampers made from that master will be sold to disc
manufacturers the world over, all of discs that those manufacturers
produce from those stampers will contain the same 'Manufacturer'
information. Information which is obviously quite erroneous and
irrelevant. Very seldom will the 'manufacturer' information encoded on
a CD-R actually tell you anything other than who made the original
master. [...]

The second piece of data (the dye type) is also dubious. Because most
master/stamper configurations are designed to be matched to specific
dye types (Phthalocyanine, Cyanine, Azo, Etc), the 'Dye' information
that is encoded when the master is produced indicates the type of dye
that the master was designed for. This of course, does not assure that
the manufacturer that buys and uses this stamper will be using it with
the dye that it has been designed for. It is quite possible that a
stamper/dye combination is used by a CD-R manufacturer that contradicts
the 'dye' information encoded on the master. Therefore that
information becomes as potentially misleading as the 'Manufacturer'
data discussed earlier."

The only reliable piece of information in the "ATIP" region is the disc
length. See section (2-38) for further remarks.


Subject: [2-34] Can I make copies of DTS-encoded CDs?
(2000/12/13)

Yes. CDs encoded with DTS (Digital Theater Sound) follow the Red Book
standard for the most part. The chief difference is that the audio is
encoded with DTS rather than 44.1KHz 16-bit stereo PCM. If you put one
into an audio CD player, it will recognize the tracks and try to play them,
resulting in a hissing noise.

You can copy DTS CDs the way you would any other audio CD. Attempting
to convert them to MP3 is a bad idea though -- they're already in a
compressed format.

A common way to play DTS-encoded CDs is with a DVD player connected to a
DTS-capable receiver. The DVD player passes multichannel audio to the
receiver over an S/PDIF connection. Many DTS CDs are encoded in 5.1
surround sound, which is kinda neat.


Subject: [2-35] Why 44.1KHz? Why not 48KHz?
(2001/01/05)

The "Red Book" specification for audio CDs chose 44100 samples per second,
where each sample is 16-bit stereo PCM. PCM is a fine choice for encoding
audio, stereo is widely recognized and supported, and it's very easy to
manipulate data in 16-bit quantities with existing hardware and software.

Why 44100? Why not make it a round decimal value like 44000, or a round
binary quantity like 44032? Why not 32KHz or 48KHz?

In general, the human ear can hear tones out to about 20KHz. According
to a smart fellow named Nyquist, you have to sample at twice that rate.
Because of imperfections in filtering, you actually want to be a little
above 40KHz.

According to John Watkinson's _The Art of Digital Audio_, 2nd edition, page
104, the choice of frequency is an artifact of the equipment used during
early digital audio research. Storing digital audio on a hard drive was
impractical, because the capacity needed for significant amounts of 1 Mbps
audio was expensive. Instead, they used video recorders, storing samples
as black and white levels. If you take the number of 16-bit stereo samples
you can get on a line, and multiply it by the number of recorded lines in
a field and the number of fields per second, you get the sampling rate.
It turned out that both NTSC and PAL formats (the video standards used in
US/Japan and Europe, respectively) could handle a rate of 44100 samples per
second. This rate was carried over into the definition of the compact disc.

The sampling rate for "professional" audio, 48KHz, was chosen because it's
an easy multiple of frequencies used for other common formats, e.g. 8KHz
for telephones. It also happens to be fairly difficult to do a good
conversion from 48KHz to 44.1KHz, which makes it harder to, say, copy an
audio CD with a "consumer" DAT deck. (Well, okay, some consumer DAT
decks can do 44.1KHz now, but initially only "professional" decks could
handle the lower frequency.)

There is relatively little difference in audible quality between 44.1KHz
and 48KHz, since the slight increase in frequency response is outside the
range of human hearing. Some inaudible tones produce "beats" with audible
tones and thus have a noticeable impact, but the improvement from 44.1 to
48 is marginal at best.


Subject: [2-36] What format are .CDA files in?
(2001/01/25)

Actually, .CDA files aren't really files at all. Windows shows the tracks
on an audio CD as ".CDA" files for convenience. For example, you can
create a file association for ".CDA" and invoke an audio CD player when
you double-click on a track.

The tracks themselves are in a format almost identical to a common WAV
or AIFF file. See section (2-20).


Subject: [2-37] What are DD-R and DD-RW?
(2001/03/15)

DD-R and DD-RW are Sony standards for "double-density" recordable and
rewritable discs. The discs hold 1.3GB of data, and are relatively
inexpensive, but aren't compatible with current CD or DVD players. You
can only read the discs in a DD-R/DD-RW drive.

The recorders form a middle ground between CD-R and DVD-R in terms of storage
capacity and price, but the lack of compatibility reduces their usefulness.
On the bright side, the drives are expected to be able to record on CD-R
and CD-RW media.


Subject: [2-38] What's an ATIP?
(2002/12/11)

ATIP is an acronym for Absolute Time In Pregroove. All CD-R and CD-RW discs
have a pre-cut spiral groove that wobbles slightly. The groove keeps the
write head tracking properly, and the wobble (sinusoidal with a frequency
of 22.05KHz) provides timing information to the recorder. The wobble is
frequency-modulated with a +/-1KHz signal, which creates an absolute time
clocking signal, known as the Absolute Time In Pregroove (ATIP).

In the lead-in area, which is at the start of the disc, the ATIP signal
can be read to get some information about the disc. The only really useful
bit of information is the number of blocks on the disc, which is determined
by the length of the pre-formed groove.

The ATIP signal also holds some information about the disc's construction
and manufacturer, but see section (2-33) for some comments about their
usefulness. http://www.orangeforum.or.jp/e/reference/index.htm used to
have ATIP information, but the "Disc Identification Method" link is now
password-protected.


Subject: [2-39] What are "ML" discs and devices?
(2002/01/18)

"ML" is short for "MultiLevel". Devices and media constructed by Calimetrics
(http://www.calimetrics.com/) boast 3x the storage capacity and 3x the
recording speed of conventional CD-R and CD-RW media.

CD technology works by measuring the light reflected from the surface
of the disc. Traditional discs only have two levels ("pit" and "land"),
ML discs have more than one. By increasing the effective bit density of
the media, you can write 3x as much data in one revolution of the disc,
improving both the storage capacity and the recording speed.

The technology requires minor changes to existing hardware, and requires
discs optimized for ML recording. Discs written with ML devices will not
be compatible with existing CD players and CD-ROM drives. However, ML
recorders are expected to be able to record on CD-R/CD-RW media as well,
so ML support could be a low-cost bonus feature on new drives.

[ Announced in early 2002, this never really materialized as a consumer CD
technology. ]


Subject: [2-40] What's CD-MRW? Mount Rainier? EasyWrite?
(2004/04/15)

CD-MRW is the working name for a CD-RW storage format developed by the Mount
Rainier Working Group (http://www.mt-rainier.org/). The Mount Rainier group
has creating specifications for native OS support of CD-RW and DVD+RW, with
the eventual goal of replacing floppies and similar formats (e.g. Zip disks).

EasyWrite is a marketing logo for Mount Rainier compliant drives. Drives
may be sold with the logo if they pass compliance and robustness tests.

This standard is being promoted by Compaq, Microsoft, Philips, and Sony.
The web site claims support by "over 40 industry leaders", including OS
vendors and PC OEMs.

What this means to you: 500+MB of reasonably fast storage that doesn't
require long formatting delays or the installation of special software.
Discs created with Mount Rainier appear to organize the data slightly
differently from other UDF solutions, so some compatibility problems exist.


Subject: [2-41] What's Audio Master Quality (AMQ) recording?
(2002/05/08)

Yamaha developed Audio Master Quality Recording to compensate for higher
"jitter" in recorded CDs. This is not the kind of jitter addressed by
"jitter correction" in CD rippers (2-15). This is the "jitter" that people
selling fancy stereo equipment talk about.

Jitter is time-base error. It's not a corruption of the digital '1's and
'0's, it's a distortion of the timing in which the '1's and '0's arrive at
their destination. This doesn't affect extraction of audio, so you don't
need to worry about this kind of jitter when reading a CD or ripping to MP3.
You do need to worry about it when listening to a CD.

The digital signal is read from a CD via an analog process: bouncing a
laser off of "pits" and "lands" on a CD. Various factors can prevent
the signals from arriving at the right place at exactly the right time.
High-end CD players can correct these anomalies, but many don't.

AMQ extends the length of the pits and lands on the CD in an attempt to
produce a more stable signal. This reduces the recordable length of the
CD -- a 74-minute disc only holds 63 -- but produces noticeably improved
audio (says Yamaha). The process works because CD players automatically
adjust the rotation speed.

Yamaha's explanation: http://www.yamaha.ca/computer/cp_AudioMQR.asp

See also section (4-18-2).


Subject: [2-42] Can I draw pictures on a disc with the recording laser?
(2004/03/09)

If you've ever looked at a recorded CD-R, you've probably noticed that
the recorded and unrecorded areas have a different appearance. This is
usually visible as a slight change in color. By controlling the write
laser it's possible to mark the disc in a way that is meaningful to the
human eye rather than to a CD player. Unfortunately, the level of control
required to do this isn't achievable without firmware support.

In mid-2002, Yamaha announced "DiscT@2" (disc tattoo). This allows
moderate-resolution (approx. 250dpi) graphics to be drawn in the parts of
the disc that weren't recorded. Yamaha claims to get 256 shades of color
(green, blue, or whatever color the disc happens to be), though it works
best on dark blue azo discs. For more details and some pictures, see:

- http://www.tomshardware.com/storage...0927/index.html
- http://www.watch.impress.co.jp/akib...c_disctat2.html

Yamaha left the consumer CD recording market in February 2003, and the
technology quietly disappeared.

In March 2004, HP announced a different idea: flip the disc over, and burn
a design on the label side. This requires a modified drive and special
media, but offers the possibility of high-resolution labeling without ink
or adhesive labels. The technology, dubbed "LightScribe", is described
on http://www.lightscribe.com/.


Subject: [2-43] What are the gory details about how are 1s and 0s encoded?
(2002/12/10)

This section is for people who really want to know what's going on inside.
You absolutely do not need to understand any of this to successfully record
a CD. You will come away with a greater appreciation for CD players,
and also may better understand how some forms of copy protection function.

The sections are written from the perspective of reading a disc. Generally
speaking, the process is simply reversed when writing.

I tried to find a balance between not presenting enough information and
presenting too much detail. My hope is that, when you are done reading
this, you will have a broad understanding of how a CD player turns a lumpy
piece of plastic into music, and will know exactly where to look if you
need further details. If you want the kind of detail found in a textbook,
there are some good ones listed in section (2-43-6).


Subject: [2-43-1] How does the laser read or write a disc?
(2002/12/10)

CD players use a near-infrared 780nm laser. The visible light spectrum
is generally considered to be 400nm to 700nm; few people can see light
past 720nm. (DVD, by contrast, uses a visible red 635nm or 650nm laser.)

The drive shines a laser through the polycarbonate (plastic) on the "bottom"
of the disc. This bounces off the reflective layer, passes back through the
polycarbonate, and is read by a photosensor in the drive head. The index
of refraction for polycarbonate is about 1.55, so laser light bends when
it enters, allowing a much finer focus for the laser (from 800um at the
bottom of the polycarbonate down to about 1.7um at the metal surface).
This minimizes the effects of dust and scratches, because the effects
of any surface gunk are reduced as the laser's focus width is reduced.
A 400um-wide piece of dust on the surface of a CD would completely block
a laser focused down to 200um at the surface, but has little effect on a
CD player.

If the photosensor sees a strong beam -- the CD standard requires the
signal strength to be at least 70% when fully reflected -- it knows it's
traveling over a "land". If it sees a weaker response, it's traveling
over a "pit". Technically, it's traveling "under" a pit or land, so from
its perspective a "pit" is actually a bump. The height of the bump is 1/4
of the laser's wavelength when traveling in polycarbonate, so that light
reflected from the bump has a phase difference of one-half wavelength.
The light reflected from the pit and from the surrounding land thus cancel
each other out. (The geometries are actually such that a "pit" reflects
about 25% of the intensity rather than 0%. For example, pits are 0.5um
wide, or about 1/3 of the focused width of the laser.)

There are a lot of optical tricks involving polarization of light and the
action of diffraction gratings going on. For example, the read head uses
a three-beam auto-focus system that keeps the laser properly aligned on
the spiral track and at the correct distance from the bottom of the disc.
(Side note: if adjacent loops of the spiral are too close together -- the
"track pitch" is too small -- the laser tracking can fail. This is why
90- and 99-minute discs are harder to write and read.) It's also worth
mentioning that, because light travels more slowly in polycarbonate,
the wavelength of the laser inside the CD is closer to 500nm.

CD-R and CD-RW discs do not have pits and lands. On CD-R media, the write
laser heats the organic dye to approximately 250 degrees Celsius, causing
it to melt and/or chemically decompose to form a depression or mark in the
recording layer. The marks create the decreased reflectivity required by the
read laser. On CD-RW media, the write laser changes the material between
crystalline (25% reflectivity) and amorphous (15% reflectivity) states.
This is done by either heating it above its melting point (500C to 700C)
and letting it cool rapidly to convert it to amorphous form, or heating it
to its transition point (200C) and letting it cool slowly to return it to
the more stable crystalline state. The lower reflectivity of CD-RW makes
the discs unreadable on most older players.

The rest of this discussion refers to "pits" and "lands", but applies
equally to pressed CDs, CD-Rs, and CD-RWs.


Subject: [2-43-2] How do pits and lands turn into 1s and 0s? What's EFM?
(2002/12/10)

The pits and lands on a CD do not directly correspond to 1s and 0s.
The start and end of a pit (i.e. the pit edges) each correspond to 1s,
and all other areas -- both in pits and on lands -- correspond to 0s.
The number of zeroes between pit edges is determined through careful timing.
This is an efficient approach that produces an easy to handle electrical
signal (it's NRZI -- NonReturn to Zero Inverted -- which converts easily
to NRZ where 1s are high voltage and 0s are low voltage).

The careful timing is possible because CDs are essentially self-clocking.
Suppose you have a clock that ticks once per second. Plug your ears and
count seconds to yourself, trying to keep the same pace as the clock.
After ten seconds, unplug your ears. If you've drifted slightly, you can
readjust to the clock without worrying that you've too far off. You might
be missing the beat by a quarter of a second, but you can adjust forward
or backward a fraction of a second and still be sure that both you and
the clock got to 10 seconds at about the same time. Now try the same
experiment for 10 minutes. When you unplug your ears you can get back
in sync with the clock's timing, but unless you have a very good internal
timer it's unlikely you will reach 10 minutes on the same tick. With your
ears plugged for so long, you are likely to be off by several seconds.

CDs work the same way. Every pit edge represents an audible clock tick,
while the insides of pits and lands represent inaudible ticks. If a pit
or land is too long, the drive's clock will drift too far and possibly
get out of sync. (This is why "blank" recordable discs aren't entirely
blank: they have a pre-cut spiral groove with a "wobble" that the recorder
can use as a timing signal. A clock accurate enough to produce a stable,
reliable signal at these frequencies is too expensive to incorporate into
a cheap consumer product. The 22.05KHz wobble is frequency-modulated by
+/-1KHz to create the ATIP signal that, in the lead-in area, holds some
bits of information about the disc.)

To guarantee pits of specific lengths, the CD standard requires that
there are at least 2 and at most 10 zeroes between every 1. This is
achieved by converting every 8-bit byte into a 14-bit value, a process
called Eight to Fourteen Modulation (EFM).

The shortest possible pit (or land) thus represents 3 EFM bits (100),
and the longest 11 EFM bits (10000000000). If a single bit requires time
T to pass under the read head, then pits of these lengths can be referred
to as 3T pits and 11T pits. If after seeking to a new location, the drive
sees a pit shorter than 3T or longer than 11T, then it immediately knows
that the disc is not spinning at the rate it was expecting, and can make
appropriate adjustments.

Between each 14-bit EFM word there are 3 "merging bits". Because CDs aren't
allowed to have runs shorter than 3T or longer than 11T, it is sometimes
necessary to follow an EFM code with a 1 or 0. Suppose, for example, that
an EFM code ending in 1 were immediately followed by an EFM code starting
with 1. The merging bits also serve to prevent the frame synchronization
pattern from appearing where it isn't supposed to (see next section).

If there is more than one possible arrangement of merging bits that satisfy
the restrictions for run length and sync pattern, then a pattern is chosen
that minimizes the low-frequency components of the signal. This is done by
minimizing the Digital Sum Value (DSV), computed by adding one to a counter
for every T after a transition to a land, and subtracting one for every
T after a transition to a pit. Adding a 1 to the merging bits inverts
the signal by causing a transition from a pit to a land or vice-versa.
Minimizing the DSV is important because low-frequency signals can interfere
with the operation of tracking and focusing servos.

With EFM there are more bits to encode, but the highest frequency
possible in the output signal is decreased. The ratio of the number
of bits transmitted to the number of transitions on the medium is high,
making this an efficient way to store the data while still being able to
recover the clock. It's also worth noting that a 3T pit is 0.833um long,
while the laser spot is just over twice that length at 1.7um. If 2T or
1T pits were allowed, the laser would have a hard time detecting them.
This is why it's important that transitions not occur too frequently:
the laser is good at computing the time between transitions, but isn't
so good at noticing transitions if they follow each other too quickly.
Making the transitions more obvious requires making the pits and lands
longer, which reduces the amount of data that will fit on the disc.
(See the description of AMQ in section (2-41).)


Subject: [2-43-3] What's a frame? CIRC encoding? How does ECC work?
(2004/05/20)

EFM encoding is applied to a series of bytes called a "frame". Some
sources -- including the SCSI-3 MMC specification -- refer to a CD sector
as a "frame", but that's incorrect usage. A frame holds 24 bytes of user
data, 1 byte of subcode data, and 8 bytes of parity (error correction),
for a total of 33 bytes.

When read from the disc, each frame is preceded by a 24-bit synchronization
pattern and 3 merging bits. The sync data has a unique pattern not
found elsewhere on the disc, and it ensures the read head correctly
finds the start of the frame. (The pattern is 100000000001000000000010,
three transitions separated by 11T, which can't occur otherwise because
the merging bits are specifically chosen to prevent it.) If you don't
understand why having a sync field is important, remember that every time
the read head seeks to a new part of the disc or is confused by a scratch,
it has to start reading in the middle of a stream of 1s and 0s and try to
make sense of what it's reading. Until it sees a synchronization pattern,
it has no idea if it's reading the start or middle of a frame, or even if
it's at the start or middle of an EFM word.

The rest of the 33-byte frame is read as 14-bit EFM values followed by 3
merging bits. This means there are 588 (24 + 3 + (14+3)*33) "channel bits"
in a frame. This 588-bit structure is called a "Channel Frame".

Once EFM is decoded and the merging bits discarded, we are left with an
"F3 Frame". The subcode byte is removed, and the remaining data (now an
"F2 Frame") is passed into the CIRC (Cross-Interleave Reed-Solomon) decoder.
The decoder is an important part of the reason why CDs and CD-ROMs work.

The raw error rate from a CD is around 1 error per 100K to 1 million bits.
That's pretty good, but at 4 million bits per second (588 channel bits
per frame x 98 frames per sector x 75 sectors per second = 4.3218Mbps),
the errors add up quickly. CIRC encoding takes the 192 bits (24 bytes)
of data and 64 bits (8 bytes) of parity, shuffles it around, and performs
some weird math involving Galois Fields. The bits are processed by two
error correction stages, referred to as C1 and C2. The efficacy of the
results can be expressed as a set of error counts.

Errors are noted with a two-digit number that indicates the number of
errors with the first digit and the CIRC decoder stage with the second
digit. The E11 count indicates the number of single-symbol (correctable)
errors in the C1 decoder. E21 indicates double-symbol (correctable)
errors in C1, and E31 indicates triple-symbol (uncorrectable at C1)
errors in C1. The sum of these counts is the Block Error Rate (BLER),
a measure of correctable and uncorrectable errors. The CD standard
sets the acceptable limit to 220 BLER errors per second, averaged over
a 10-second stretch.

The E12 count indicates the number of single-symbol (correctable) errors
in the C2 decoder. Because the data is interleaved after the C1 pass, one
E31 error can generate up to 30 E12 errors, so a high error count here is
not problematic. E22 counts double-symbol (correctable) errors, which are
a bad sign. The sum of E21 and E22 form a burst error count (BST), which
can be used to identify physical defects on a disc.

Any E32 errors, representing triple-symbol (uncorrectable) errors in the C2
decoder, result in damaged data. For an audio CD interpolation is performed,
for a CD-ROM the damaged data must be repaired at a higher level. (This,
incidentally, explains how some forms of audio CD copy protection work.
The CD author introduces deliberate uncorrectable errors to the CD.
An audio player will inaudibly interpolate across them, but a CD-ROM
performing digital audio extraction will simply return the bad bits.)
Some software, e.g. Plextor's PlexTools, refer to E32 errors as "CU errors".

With CIRC, the bit error rate is reduced to one in 10 to 100 billion. The 24
bytes that comes out of the CIRC decoder are referred to as an "F1 Frame".

It's worth noting that the subcode channels are not CIRC-encoded, and hence
are the least-reliable storage directly accessible to the user. The EFM
encoding provides some protection against single-bit errors, because only
256 of the 16,384 possible combinations are valid, but without any parity
bits the best the drive can do is tell you that it failed to read the
data correctly. The Q subcode channel, which can hold vital information
about the disc, has a 16-bit CRC.


Subject: [2-43-4] What's in a sector?
(2002/12/11)

98 frames of 24 bytes are combined to form a 2352-byte sector and 98
bytes of subcode data. The sector is assembled from F1 Frames, which are
byte-swapped, shuffled, and run through a descrambler. The purpose of
the scrambler is to reduce the likelihood that regular bit patterns will
induce a large digital sum value.

It should be pointed out that the 2352-byte sector is the smallest unit
most CD-ROM drives will allow software to manipulate. It's only after all
of the above that low-level CD-ROM operations, like "RAW DAO-96" reads and
writes, begin. This is why making a "bit-for-bit" copy of a disc is tricky.

A sector on an audio CD holds 2352 bytes of data. 16-bit stereo samples
require 4 bytes per sample, so there's 2352/4 = 588 samples per sector.
At 75 sectors per second, that's 44100 samples per second (44.1KHz).
At this point, the processing for an audio CD is essentially complete.
CD players feed the samples through a DAC (or S/PDIF connector) and
eventually out to the speakers, and send the subcode data to the front
panel controller so it can update the HH:MM counter and track number.

A sector on a CD-ROM holds 2048 bytes of user data, leaving 304 bytes for
other purposes. Every data sector begins with a 16-byte header:

- 12-byte sync field (00 ff ff ff ff ff ff ff ff ff ff 00)
- 3 byte address (minute, second, fraction (1/75th) of a second)
- 1 byte mode

The sync field and address are important because early CD-ROM drives
weren't able to accurately determine the start of a sector. The drives
were based on CD players, which just shoved the decoded frames into one
FIFO and the subcode data into another. The CD-ROM firmware was presented
with a stream of bytes, and expected to make sense of it. This situation
is also responsible for audio extraction "jitter", discussed at length in
section (2-15).

The mode byte determines what the remaining 2336 bytes in the sector
looks like:

- Mode 0: null data; serves no practical purpose for CD recording
- Mode 1: the typical CD-ROM layout
- 2048 bytes of user data
- 4 bytes of EDC (Error Detection Code, a 32-bit CRC)
- 8 bytes of reserved space, set to zeros
- 172 bytes of "P" parity
- 104 bytes of "Q" parity
- Mode 2: 2336 bytes of user data, usually used for CD-ROM/XA (see below)

The Mode 1 CD-ROM ECC is independent of and in addition to the CIRC encoding.
It uses a Reed-Solomon Product Code (RSPC) to achieve a combined error
rate of 1 error per 1e15 (quadrillion) bits.

CD-ROM/XA (eXtended Architecture) Mode 2 extends the definition of a Mode
2 CD-ROM. Form 1 looks like a slight rearrangement of a Mode 1 sector,
with the 8 bytes of space moved ahead of the user data and filled with
a sub-header. Form 2, intended for compressed audio/video data, has the
8-byte sub-header, 2324 bytes of data, and an optional 4-byte EDC code.
The sub-header contains some channel and data type flags.

A CD session must be written in a single mode, but the XA spec allows the
form to change. Using CD-ROM/XA Mode 2 allows you to choose between extended
error correction and increased data capacity, and also change your mind
several times in a single track.


Subject: [2-43-5] What's in a subcode channel?
(2002/12/11)

There are 8 subcode channels, labeled P,Q,R,S,T,U,V,W, or sometimes "P-W"
for short. (The ECMA-130 standard refers to subcode bytes as "Control
bytes".) Every frame contains one byte of subcode data, and each byte holds
1 bit of P, 1 of Q, and so on. The bytes from 98 consecutive frames are
combined to form a subcode "section". The first two bits in each channel
are used for synchronization, leaving 96 bits of useful data per channel
(which is where RAW DAO-96 gets its name).

The P and Q channels are defined by the CD audio standard. (They are
unrelated to the P and Q parity fields.) The P channel can be used to
find the start of a track, but in practice most devices use the more
sophisticated Q channel. Q contains four chunks of information: control
(4 bits), address (4 bits), Q data (72 bits), and an EDC (16-bit CRC).

The control bits determine whether the track holds audio or data, the number
of audio channels (stereo or quadraphonic), and specifies the Digital Copy
Permitted and Pre-emphasis flags. The address bits determine the format
of the Q data section. Address mode 1 holds information about tracks,
mode 2 holds a catalog number (such as a UPC code, constant for an entire
disc), and mode 3 contains the ISRC (International Standard Recording Code,
constant for a given track but may change with each track).

A disc has three main regions: the lead-in area, the program area, and the
lead-out area. Subcode Q mode 1 data in the lead-in is used to hold the
table of contents (TOC) for the disc. The TOC is repeated continuously in
the lead-in area in case of damage (remember, no CIRC encoding on subcode
channels). In the program and lead-out area, mode 1 contains track numbers,
index numbers, time within the current track, and absolute time. Index 0
marks the start of a pregap (pause) before the audio in a track begins,
index 1 marks the start of the music, and indexes 2 through 99 are usually
not set but can be added if desired.

The ability to specify track and index markers when writing a Red Book
audio CD is often referred to as "PQ editing" because that information is
contained in the P and Q subcodes.

Subcode channels R through W are not defined by the CD standard, except
to say that they should be set entirely to zero if not used. They're
currently used for CD+G (e.g. Karaoke) discs, CD-Text, and some forms of
copy protection.

It is interesting to note that, while bytes from 98 consecutive frames are
used to create a subcode "section", those frames don't have to be from a
single sector. It's possible for a subcode section to start in one sector
and end in the next.


Subject: [2-43-6] I want even more details
(2004/02/17)

Sheesh.

An excellent reference for is Ken Pohlmann's mammoth _Principles of Digital
Audio, 4th edition_ (ISBN 0-07-134819-0), especially chapter 9 (on compact
discs) and chapter 5 (on error correction). If you want something a little
slimmer, try his older _The Compact Disc Handbook, 2nd edition_, 1992
(ISBN 0-89579-300-8).

Another good book is _The Art of Digital Audio_, 2nd edition, by John
Watkinson, Focal Press, 1994 (ISBN 0-240-51320-7).

http://www.ee.washington.edu/consel...ulti/cdhome.htm has a
number of interesting pages. In particular, there's a good page about CIRC
on http://www.ee.washington.edu/consel...95x7/iec908.htm,
and http://www.ee.washington.edu/consel...daudio/95x6.htm has a
nice explanation of disc construction and optics, especially the three-beam
autofocus.

The page at http://www.tc.umn.edu/~erick205/Papers/paper.html provides
some background information on sampling, aliasing, dither, DACs, and other
relevant topics.

You can get a copy of ECMA-130 from http://www.ecma-international.org/.
This document describes the format of a CD-ROM, including physical dimensions
and optical characteristics, as well as sector formats and Q-channel specs.
It also features some interesting annexes:

- Annex A: Error correction encoding by RSPC
- Annex B: Scramble (a description of the pre-EFM scrambler)
- Annex C: Error correction encoding by CIRC
- Annex D: 8-bit to 14-Channel bit conversion (has the full table)
- Annex E: Merging bits (algorithm for computation)

Standards documents, as a rule, are terse and difficult to understand.
ECMA-130 is actually quite readable, and if you understood the preceding
sections you should have no trouble sorting it out.

If you want source code for the CIRC, RSPC, EDC, and scramble functions,
look for Heiko Eissfeldt's edc_ecc.c (and related files). The code is
part of Mode2CDMaker, CDRDAO, and possibly others.

If you want an explanation of DSV and the problems associated with it,
read the Philips patent on the sector scrambler (US4603413), or one of
the associated patents on removal of DC content from a digital signal.
The full text of the patent can be found at http://www.uspto.gov/. In brief:

"[...] If the frequency of such oscillation is comparatively high,
during the read operation the decision level for detection of the
channel bit signals may be rendered inaccurate. As a result, read-out
of the information will be disturbed to such an extent that even the
error-correction measures cannot prevent errors. Moreover, the tracking
system for controlling the read laser which reads the channel bits may
become incapable of keeping the laser beam accurately positioned on
the track."

It appears that, when the DC offset in the signal becomes too large, the read
head has trouble "seeing" the disc. The voltage level in the photodetector
has pegged, so the difference between a pit and a land is unnoticeable.

An article at http://www.digit-life.com/articles2...isel/index.html
examines why one specific file failed to record properly. It turns out
that, after passing through the scrambler, a piece of the file has a
section that matches the sector header sync pattern.

For some technical information on how CD-Rs are constructed, look through
the uspto.gov site for relevant patents. For example, US5348841 describes
"Organic dye-in-polymer (DIP) medium for write-once-read-many (WORM)
optical discs".


Subject: [2-44] Digital is better than analog, right?
(2002/12/30)

Not always.

Digital audio CDs are superior to audio cassettes and 8-track tapes, and
digital video DVDs are superior VHS videotapes. However, the analog film
shown in a movie theater is superior to DVD, and the analog studio master
tape is better than an audio CD. The sounds that an Apple II makes are
generated digitally, but you wouldn't want to play your CDs that way.

Some formats are better than others. The low-cost consumer digital formats
are generally superior to low-cost consumer analog formats (except perhaps
for 35mm film, though that's changing). This does not mean that "digital"
is better than "analog", though many people have that impression because
the consumer electronics companies are marketing products that way.


Digital has some advantages over analog. The most significant is the
ability to apply various algorithms to reproduce the original digital signal.
With most forms of analog transmission, reconstructing the original signal
without noise and distortions is difficult. The flip side is that, with too
much interference, the digital signal becomes unusable. NTSC televisions
(the kind used in North America and Japan) can display a transmission with
a negative S/N ratio, i.e. there's more noise than signal. (If you're not
part of the "cable TV" generation, think about a picture that was heavily
snowed, but still decipherable. It was probably a sporting event.)

Digital also has disadvantages, although many of them can be minimized
through careful system design. The most fundamental problem is the need
to convert the digital signal back to analog. Human senses are analog,
so audio has to be converted to voltages that drive speakers, and video
needs to be turned into pixels on a screen. The human eye is pretty easy
to fool -- update the image quickly enough and the brain will believe the
motion is smooth -- but the ear is more discerning. Slight changes in
frequency and timing, especially in a stereo signal, can be detected.

Many digital formats are compressed with "lossy" techniques. Algorithms
like MPEG-2, MP3, DTS, and SDDS remove parts of the music to reduce the
storage size. The parts removed are usually inaudible, though that depends
on how much is removed and how good your ears are.

The upshot of all this is that it's wise to pay attention to what you're
getting. Don't assume that a digital format is better just because it's
digital.


Subject: [2-44-1] What is "digital" and "digitization", anyway?
(2003/01/05)

Computers store things in "bits", which can be either 0 or 1. To store
something in a computer, it must be converted to a series of bits. The
process is called "digitizing".

You've probably seen an egg slicer. If you haven't, picture a device
that looks like a book resting flat on table. Instead of pages it has
an egg-shaped depression, and instead of a front cover it has a frame
with thin wires stretched across it vertically at regular intervals.
You raise the lid, insert the egg, and when you press the lid down the
wires cut the egg into thin, round slices.

It usually helps to hard-boil the egg first.

Suppose we want to digitize an egg so we can make a nifty 3D model and
display it on a computer. Our slicer has 9 wires, so we could end up
with as many as 10 pieces. We place the egg into the device and slice it.
Now we measure the height of each piece in centimeters (assume the pieces
are perfectly round), measuring the diameter with calipers and rounding
it to the nearest centimeter. Each slice could go from 0cm (the egg was
short, so there was no slice) to 5cm (the width of our slicer).

When we're done, we spit out something that looks like this:

1. 1cm
2. 2cm
3. 2cm
4. 2cm
5. 3cm
6. 3cm
7. 3cm
8. 2cm
9. 2cm
10. 1cm

Your eggs may vary. Storing a number from 0 to 5 requires 3 digital bits,
so if we know that measurements are always in centimeters, we can store
the height of each slice in 3 bits. We have ten numbers to store, so we
can hold our egg in a mere 30 bits!

When we try to display our digitized egg on a computer screen, however, we
discover a problem. The image doesn't look like a smooth egg. Instead,
it looks like a bunch of stair steps in a vaguely egg-shaped pattern.
The sizes aren't right either: our original egg was actually 3.4cm at its
widest point, but we had to round it down to 3cm.

Suppose we improve our measurements down to the nearest millimeter. Now,
when we have to round off the measurements, the round-off error is much
smaller. The results look much better, but holding a value from 0 to
50 requires 6 digital bits instead of 3, so we've doubled our storage
requirements to 60 bits. What's more, the image still looks stair-steppy.

The stairs happen because each slice has a single height value. When we go
from slice #7 to slice #8, we abruptly jump from 3cm to 2cm. The reason our
recreated egg doesn't look smooth is because we didn't really capture the
original, in which each slice varied in height from one edge to the other.
Our digitization could only capture the average height of each slice.

There are a couple of ways to improve this. The first is to guess at
the shape of the original egg, and draw smooth curves based on the data
we have. This is called "interpolation". The other approach is to buy a
new egg slicer with wires that are closer together, so we have more slices,
reducing the size of the jump from one slice to the next. This is called
"increasing the sampling rate". If you double the number of slices,
you double the number of bits required to hold the digital version.

If you slice the egg finely and measure it accurately, you can get a
nearly perfect representation of the original. For example, if we create
slices that are one molecule apart, and measure the height to the nearest
molecule, we will have an extremely accurate picture, not to mention a
seriously huge digital representation. The tricky part about digitizing
something is to choose the height and thickness of the slices such that
the likeness is very good but the digital size is small.


Subject: [2-44-2] How does this relate to CD-DA?
(2003/01/05)

An audio CD cuts a one-second "egg" of sound into 44100 slices, and
measures the "height" of each slice from 0 to 65535 (16 bits). It does
this independently for the left and right stereo channels, using a format
called Pulse-Code Modulation, or PCM. The technical shorthand, which you
may have seen in a sound editor, is "44.1KHz 16-bit stereo PCM".

Measuring the "height" of each slice is called quantizing. The round-off
error in the measurements is called quantization error. The problems
associated with the error can be reduced by applying "dither" (low-level
noise).

The reason for the number 44100 is explained in section (2-35). The choice
of 16 bits is also fairly arbitrary, but extremely convenient on a computer.

There are other problems when digitizing (e.g. aliasing) and when converting
back to analog form (e.g. jitter). See
http://www.tc.umn.edu/~erick205/Papers/paper.html for an introduction.

Newer audio formats, such as Super Audio CD and DVD-Audio, offer different
sampling rates (up to 96000), quantization (up to 24 bits), and numbers of
channels (e.g. 5.1 surround-sound).


Subject: [2-45] What's a CDR-ROM? CD-PROM?
(2003/02/28)

The term "CDR-ROM" was coined by Optical Disc Corporation in a February
2003 press release, and refers to a disc with writable and non-writable
components. Some possible uses include burning a unique serial number on a
full CD-ROM, or providing recordable discs with marketing content (e.g. a
few tracks of audio to which more music can be added). More information
can be found at http://www.optical-disc.com/.

Eastman Kodak had a similar product, called the "CD-PROM", a few
years earlier. According to their web site, marketing and sales
of the CD-PROM was discontinued in October 2002. See the notice on
http://www.kodak.com/US/en/digital/progCDR/.


Subject: [2-46] What's HD-BURN? GigaRec?
(2003/05/02)

In April 2003, a few companies began announcing technologies that allow you
to store larger quantities of data on standard CD-R media. Unlike DD-R
and "ML" technology, special discs aren't required. The capacity and
compatibility is different for each.

GigaRec (Plextor)
Increases storage capacity by 40%, allowing up to 1GB on a 700MB disc.
The discs can be read on some unmodified CD-ROM drives.
http://www.plextor.com/english/news...pr04142003.html
HD-BURN (Sanyo)
Doubles disc capacity of an 80-minute disc from 700MB to 1.4GB. A
firmware change is required before a drive can read the discs.
Support for extended-length CD-RW media is planned.
http://www.digital-sanyo.com/BURN-Proof/HD-BURN/

Does it make sense to use these? The extra capacity is handy, but data
is only useful if you're able to read it. Check the compatibility of the
hardware you're going to use to read the discs.


Subject: [2-47] What are C2 errors? What do they say about disc quality?
(2004/05/20)

When people talk about "C2 errors" they are usually referring to the rate
of uncorrectable errors found on a CD. For an overview of error correction,
see section (2-17). For a more detailed look, see section (2-43-3). These
values are returned by "surface scan" tools.

There are two flavors of C2 errors, and not all drives are capable of
reporting both. Uncorrectable C2 errors indicate data that has been lost.
On an audio CD the missing sound samples will be smoothed over, and on
a CD-ROM the errors may be corrected by an additional level of error
correction, so the flaws may not be noticeable. Correctable C2 errors
indicate data that is whole but will be lost if the disc degrades any
futher. Some applications now differentiate between the two by referring
to uncorrectable C2 as "CU error".

The fewer errors of either kind, the better. The results you get are the
combination of the writer and the media, and in some cases may be influenced
by the quality of the device used to read the CD. If performing the same
set of operations on two different brands of discs results in consistently
lower error rates on one brand than the other, you will probably be better
off with the lower-error-rate brand. It is entirely possible that a
different writer would yield the opposite results, so it's not reasonable
to say that brand X is better than brand Y without performing a rigorous
test with a variety of different recorders.

Some discs are poorly constructed, and may deteriorate faster than others.
For long-term archiving, it may be useful to re-examine discs periodically,
especially if you buy "cheap" discs in bulk. Having fewer errors today
means little if the disc is unreadable in six weeks.

Performing these tests on a disc recorded with track-at-once recording or
packet writing can result in unexpectedly high error counts, because the
gaps between tracks and packets look like damaged areas.

For drives capable of reporting the errors, you can use Nero CD Speed
(http://www.cdspeed2000.com/) to evaluate the error rate. For a more
thorough examination, you can buy "CD Inspector", which comes with software
and a slightly modified CD-ROM drive
(http://www.hda.de/english/products/...inspector.html).


Subject: [2-48] What are CD+R and CD+RW?
(2003/11/17)

Simply put, they aren't.

There is no such thing as CD+R or CD+RW. There are a number of different DVD
formats, including DVD+R and DVD+RW, but so far CDs only have -R and -RW.
CD formats with a '+' in them (except for CD+G, which only defines the
subcode channels of an audio CD) are usually typographical errors.


Subject: [2-49] What's HighMAT?
(2004/07/27)

HighMAT stands for High Performance Media Access Technology. Co-developed
and supported by Microsoft and Matsushita (Panasonic), it was first announced
in October 2002. HighMAT defines formats for storing digital media (music,
photos, videos) on CD-R/RW discs and (eventually) writable DVD formats.

While many DVD players now recognize MP3 and JPG files on ISO-9660 discs,
they don't all do things the same way, and may not support all formats.
A HighMAT-compliant player would be able to handle all files on discs
created in HighMAT format. The end result is that you would be able to
record a disc full of music or pictures in HighMAT format and send it to
anybody with a HighMAT player and know that it will work.

This format has not yet been adopted by most consumer electronics companies,
so it remains to be seen whether this will become a significant feature.

For details, see http://www.highmat.com/.


Subject: [2-50] What's VariRec?
(2004/05/05)

VariRec ("Variable Recording") is a Plextor feature intended to let users
modify the laser power when recording audio CDs. It only works for audio
CDs recorded at 4x. The theory is that adjusting the laser power up or down
slightly may result in better-sounding discs for a particular combination
of writer and media.

VariRec II increases the write speed to 8x and allows manual selection of
the "write strategy" as well.

In theory there is no need for such a feature, because drives contain tables
of power levels for known brands of media, and can automatically determine
the correct setting for others. However, some discs use the wrong media
type information, so manual adjustments can be helpful in some cases.

See section (4-18-2) for information about audio CD quality, and (3-31)
for some notes on recording speeds and power levels.


Subject: [2-51] Will my CDs work on players in other countries?
(2004/09/08)

Yes. Videos sold on DVD usually have region coding that prevents them from
working on players in other countries. No such restriction is possible in
CD formats. Audio CDs, CD-ROMs, and VideoCDs will work equally well in any
part of the world.


Subject: [2-52] Do CD-Rs have deeper pits? Are "shallow burns" bad?
(2004/12/10)

CD-Rs and CD-RWs don't have "pits" in the same sense as pressed CDs.
If the material were burned away, you'd get a distinct odor from your CD
recorder as the combustion by-products escaped. If the burned material were
trapped in the CD, it would probably rupture the lacquer coat (converting
solid matter to gaseous form rapidly is commonly known as "exploding").

It's not accurate to describe a recorded CD as having "deep" or "shallow"
pits, because it doesn't have pits at all. The organic dye or phase-change
film changes state in a way that affects how light is reflected. The result
in a CD player is the same, though the peak reflectivity may be different.
You will get different results from different read heads though, e.g. DVD
players have trouble reading CD-Rs, but rarely have problems with CD-RWs
and pressed CDs.

Incidentally, it's not desirable to have "deeper" pits in a pressed CD.
The depth of the pit is chosen to cause a 1/2 phase difference in the
reflected light. If the pit were shallower or deeper, the effect would
be lost.

See section (2-43-1) for more information about the physics of reading a CD.


Subject: [2-53] What's a stacking ring?
(2005/04/24)

The term is used to describe a slight ridge near the hub of standard
CD-R media. This provides a small amount of separation between discs
stacked on a spindle. You can tell if your discs have stacking rings by
piling them up and then pressing down on the outside edge. If the stack
compresses slightly, they have the ring; if they're solid, they don't.

The ring is helpful when feeding discs into automated recorders because
it keeps the discs from sticking to each other. It can interfere with
hub labels or with printing near the disc hub, so you can often order
the same media with or without the ring.

There may be some benefit to using discs with the ring even if you're just
burning the occasional disc and using standard labels. The ridge is on
the bottom of the disc, which means if you put the disc down on a table,
most of the bottom surface won't be in direct contact. This could help
avoid scratches.


------------------------------------------------------------------------------

[ continued in part 2 of the FAQ ]

Reply With Quote
[comp.publish.cdrom] CD-Recordable FAQ, Part 2/4
  #2
Old 06-06-2006, 08:22 PM
Andy McFadden
Junior Member


Andy McFadden is offline
Andy McFadden's Info
Join Date: Jul 2003
Posts: 16
Default [comp.publish.cdrom] CD-Recordable FAQ, Part 2/4

Archive-name: cdrom/cd-recordable/part2
Posting-Frequency: monthly
Last-modified: 2006/05/30
Version: 2.65

------------------------------------------------------------------------------

Subject: [3] How Do I...
(1998/04/06)

This is general information about recommended ways to do specific tasks.


Subject: [3-1] How do I copy a CD-ROM?
(2002/12/02)

Just about every piece of CD recording software comes with a CD copier.
In some cases it's a stand-alone extra, in some it's integrated with
other features, and in a few cases the software does nothing else.

Most disc copying software will allow you to make a CD image on a hard
drive that can then be written to multiple CDs. A few will allow you
to record the same image to multiple CD recorders simultaneously (see
section (3-17)).

It's important to remember that, when copying directly from one CD to
another, the source MUST be faster than the target, and must be
error-free. If the source pauses or spins down to read a marginal area of
the disc, the target may outrun the source, and the CD-R will only be
useful as a frisbee. Most programs have a "test write" feature that put
the CD-R device into a mode where it goes through all the motions but
doesn't actually write anything; it's a good idea to do this right before
copying something for the first time.

If you're wondering about copying Mac CD-ROMs on a PC or vice-versa, see
section (3-50).

Some suggestions for software good at copying a variety of discs:

CloneCD (6-1-49)
Very good at copying difficult (esp. copy-protected) discs.
CDRWIN (6-1-7)
Good at copying discs, also very nice for fancy audio CDs.
Disc Juggler (6-1-27)
Can copy to more than one device at a time.
CDRDAO (6-1-47)
Runs under a wide variety of operating systems.

For copying simple audio CDs and un-protected CD-ROMs, standard
applications like Nero or Toast will work just fine.

See section (2-4) for more information about copy protection, section
(3-51) for the details on "RAW" reads, and (3-4) for some notes on game
console discs.


Subject: [3-1-1] Why can't I just do a block copy like a floppy?
(1998/04/06)

CDs don't have circular tracks. They're laid out on a spiral, with
multiple sessions composed of multiple tracks composed of sectors, and the
data in the sectors is interleaved and spread over a large area. The
sector format is standard, but there's more than one standard.

"The nice thing about standards is that you have so many to choose from."
-- Andrew S. Tanenbaum, _Computer Networks_, 2nd ed, p.254

The ability to read certain portions of a CD depends on the CD firmware.
Some CD players aren't capable of understanding multi-session discs or of
reading audio tracks as digital data. Jitter, described in section (2-15),
is also a problem for some drives.

See also section (3-42) on "bit-for-bit" copies.


Subject: [3-2] How do I extract tracks from ("rip") or copy an audio CD?
(2002/12/09)

Start with the CD-DA FAQ [once at http://www.tardis.ed.ac.uk/~psyche/cdda/,
currently missing?] Take a look at http://come.to/cdspeed to see if your
CD-ROM drive is up to the task. EAC, from http://www.exactaudiocopy.de/,
is often recommended for extracting ("ripping") audio tracks.

To copy from CD to CD, the source drive needs to support digital audio
extraction, which is rare among older drives but universal in current
models. Ideally, the copy program will use disc-at-once recording to
produce a duplicate that mimics the original as closely as possible.
As with copying CD-ROMs, you must be able to read data off of the source
drive faster than your recorder is writing. If you can only extract audio
at 1x, you're not going to be able to do a CD-to-CD copy reliably.

If you're just interested in extracting digital audio, you don't even need
a CD-R unit, just a CD-ROM drive that supports Digital Audio Extraction
(DAE) and some software. The CD-DA sites noted at the top of this section
list drives that support DAE, have software to evaluate your existing
drive, and have links to several different DAE applications.

Different drives can extract digital audio at different speeds. For
example, the Plextor 6Plex can extract audio at 6x, while the NEC 6Xi can
only extract at 1x. Most recent drives extract at well over 20x, which
is about the limit for an IDE drive that doesn't support DMA.

Some CD-ROM and CD-R drives have trouble extracting digital audio at high
speed, so if you're getting lots of clicks and pops when extracting you
should try doing it at a slower speed. You may also run into trouble if
you try to extract faster than your hard drive can write. One user found
that he was able to eliminate clicks and pops by defragmenting his hard
drive. Another found that the Win95 "vcache" fix (section (4-1-2)) solved
his problems.

It should be pointed out that, while digitally extracted audio is an exact
copy of the data on the CD, it's an exact copy as your CD player perceives
it. Different drives or different runs with the same drive can extract
slightly different data from the same disc. The differences are usually
inaudible, however. Some newer drives will report the number of
uncorrectable errors encountered, so you can get a sense for how accurate
the extraction really is.

The quality of the audio on the duplicate CD-R, given a high-quality
extraction, depends mostly on how well your CD player gets along with the
brand of media you're using. See the next section for some comments about
avoiding clicks and pops.

Some older drives have trouble starting at the exact start of audio tracks.
The extraction starts a few blocks forward of where it should, and ends a
few blocks later, so the track may not sound quite right and the extraction
program will report errors at the end of the last track. See section (4-19).

The Lite-On LTN483S 48x CD-ROM drive has a fairly unique bit of brain
damage: it doesn't extract the last two seconds of a track correctly.
This is only apparent on audio CDs with a "cold stop", where the music
plays right up to the very end of the track. If the track has two seconds
of silence at the end, there are no apparent problems. Apparently
there is a firmware fix for this (the PD03 update), available from
http://support.euro.dell.com/de/de/...p?fileid=R20664
or http://support.dell.com/us/en/filel...p?fileid=R20664.

One minor note: the data on audio CDs is stored in "Motorola" big-endian
format, with the high byte of each 16-bit word first. AIFF files also use
this format, but WAV files use "Intel" little-endian format. Make sure
your software deals with the endian-flipping correctly. Byte-swapped CD
audio sounds like "static".


Subject: [3-2-1] How do I remove the voice from a CD track, leaving just music?
(2003/11/29)

A common reason for wanting to do this is to have a disc that can be sung
along with, either for personal practice or for karaoke. There isn't a
perfect method for doing this, but it's possible to get close with some CDs.

Music is generally recorded in independent tracks and then mixed into a
balanced whole. The recording studio can create masters with or without
the vocals, which is where a "clean" karaoke source comes from. The music
is usually recorded in stereo, and the vocals in mono (the singer has one
microphone). The mixed result has slightly different signals on the left
and right channels for the music, but the same signal on both channels
for the vocals. By removing all signal components that are equal on the
left and right channels, the vocals can be removed with relatively little
distortion of the music. This is called "center channel elimination".

This doesn't always work out in practice. If the track in question doesn't
keep the vocals "centered", all bets are off. Many musicians apply effects
to the vocals to achieve a certain effect -- often, to make it sound like
they can sing better than they actually can. These effects aren't usually
"centered", so part of the voice remains.

Center channel elimination can be done with a good sound editor, such as
Cool Edit 2000 or GoldWave. The procedure to follow with Cool Edit is:

- Extract the CD track into a WAV file.
- Load the WAV file into Cool Edit.
- Create a new window with no WAV file in it (File->New...). Set the
settings at 44.1KHz 16-bit *mono*.
- Switch back to the original WAV file (with the "Window" menu).
- Select the entire left channel in the original WAV file. If you move
the mouse to the top of the WAV display area, the mouse cursor gets a
little 'L' next to it. Pick a spot near the middle of the screen,
left click, and drag all the way to the left edge. Then move the cursor
back to the middle, right click, and drag all the way to the right edge.
You should now have the entire left channel selected.
- Select "copy". Switch to the new WAV file, and select "paste". Switch
back to the original.
- Move the mouse cursor near the bottom of the WAV graphic until the mouse
pointer gets an 'R' next to it, and select the entire right channel the
way you did the left.
- Select "copy". Switch to the new WAV file. From the Edit menu, select
"Mix paste...".
- Select "Overlap (Mix)", volume of 100, and check the "Invert" checkbox.
Click "OK".

GoldWave now includes a "Reduce Vocals" feature. Simply extract the CD
track into a WAV file and select it from the Effects menu.

The result is a single track with the center channel removed. Hit the
"play" button and see what it sounds like.

The converse operation -- extracting the vocals and deleting the music --
is not currently possible. (If you express the situation mathematically,
the problem is one of three variables in two equations. The software
needs a new feature that subtracts tracks and retains the other part.)


Subject: [3-2-2] How do I encode a CD track to MP3?
(2003/08/11)

Extract the audio from the CD, then encode it into an MP3 at a quality level
you like. Some programs combine the "rip" and "encode" into one easy step.

Higher quality settings result in larger MP3 files. Most people can't
tell the difference between an MP3 at 160Kbps and the original.

Some tutorial sites:
- http://www.chrismyden.com/DAE/
- http://www.mp3-faq.org/

Some software sites (mostly for Windows):
- Apple iTunes, http://www.apple.com/
- MusicMatch Jukebox, http://www.musicmatch.com/
- Xing AudioCatalyst, http://www.xingtech.com/
- Real Jukebox, http://www.real.com/jukebox/
- LAME, http://lame.sourceforge.net/
- BladeEnc, http://bladeenc.mp3.no/

There are others. The quality of the result depends greatly on the quality
of the encoder. There is no "best" encoder, but the Fraunhofer codec
and the LAME and Blade encoders usually do well. ("Codec" is short for
"encoder/decoder".)

If your MP3s have a static sound in them, you might be getting a bad "rip".
The all-in-one rip+encode programs don't always do a great job extracting
audio from the CD. You may want to "rip" the audio manually with EAC
(6-2-12) and then encode the WAV files. (Recent versions of EAC can
extract to MP3 if you have a codec installed.)


Subject: [3-3] How do I get rid of hisses and clicks on audio CDs?
(2002/02/25)

If you're interested in removing noise from audio captured from an analog
source, such as a record player or analog cassette tape, skip to section
(3-12-3). This section is about unexpected noise in audio from digital
sources, such as tracks extracted from a CD. (Start with section (3-2)
if you are new to "ripping" or copying audio tracks.)

The single most important rule of noise removal is to figure out where the
noise came from. Play the .WAV files off of your hard drive (if you're
doing direct CD-to-CD copies, extract a track and listen to it). If you
hear noise in the .WAV on your hard drive, the digital audio extraction
isn't working very well. You either need to extract more slowly, extract
from a different device, find a program that works better, or maybe just
clean the dust and grime off the source CD. For more information, including
a URL for recommended software and the CD-DA FAQ, see section (3-2).

Always start by inspecting the CD. If you borrowed it from a library,
don't expect it to be in pristine condition. With enough abuse, even CDs
will sound bad, and audio *extraction* is more susceptible to such errors
than audio *playback*. (This is what makes copy-protected CDs possible;
see section (2-4-2).)

If the problem sounds like repeated or skipped samples, rather than clicks
or hissing, the problem is probably jitter during extraction. See section
(2-15) for an overview, and then give EAC a try (section (6-2-12)).

A nifty trick for comparing two .WAV files is to use the "Mix Paste"
feature of an audio editor like Cool Edit. Extract a track twice, then
use Mix Paste to copy an inverted version of one file on top of the other.
The two sound files will cancel each other out wherever they are identical,
and have little spikes where they are different. This can be useful
for seeing if the problems are only on one channel or are happening at
regular intervals. You need to make sure though that both files start at
the same place though. If your CD-ROM drive doesn't always extract from
the start of the block, you will need to adjust the files so they line up.

Useful things to do with this include comparing two extractions from the
same drive, extractions from different drives, or extractions from the CD-R
you just wrote to the original .WAV file you used to write it.

If you just want to see if the files are the same, use the DOS File Compare
command, with the "binary" switch set: FC /B FILE1.WAV FILE2.WAV.

Some CD-ROM drives may put a click a few seconds into the first track being
extracted. This appears to be related to the drive spinning up. Try
starting the extraction, cancelling, and then immediately restarting.

It is possible, though still somewhat unlikely, that you are trying to
extract from a copy-protected CD. Section (2-4-2) discusses this in
some detail.

The rest of this section only applies if the extracted audio sounds fine on
disk, but has problems when played back from the CD-R.


If you're using track-at-once recording, you may get a short click or
silent "hiccup" at the start of each track. Hiccups are unavoidable, but
you should be able to get rid of the click by using different software.

If you're using disc-at-once recording, and are still getting a short click
at the *start* of every track, then your recording software is probably
writing the sound file with the headers still on it. You should either
use a smarter program, or remove the header manually (see the URL for
"StripWav", below).

If you are getting clicks in the middle of a track, they are either being
added when pulling the data off the disc or when writing it. If the .WAV
(AIFF on the Mac) file plays without clicks, then your CD recorder may be
failing somehow during the write process. Some people who got "static"
in audio recorded on an HP 4020i found that reducing the DMA transfer
rate to 2MB/sec helped.

One user was told by Yamaha tech support that crackling (similar to a dirty
vinyl LP) was a symptom of laser misalignment. If you've been writing audio
CDs for quite a while, but lately you've been getting "crackly" results from
tried-and-true media, this might be the culprit. Since it requires returning
the unit for repair, you should exhaust all other possibilities first.
(Side note: it's not clear how a laser gets "misaligned". They have to
adjust themselves constantly to stay in the spiral groove. It might be
due to poor focus, but that should be causing all kinds of problems.)

If you are getting clicks at the end of a track, it's possible that the
software used to create the .WAV file put some information at the very end,
which is legal but not handled correctly by some CD-R software. See
section (3-12-3) for tips on using Cool Edit to remove the data. If you are
finding that tracks extracted from CDs don't have clicks but tracks that
you have recorded or edited do, chances are the data size isn't a multiple
of 2352 bytes, and the last block is being filled with junk. This is
common on live recordings or when large tracks are cut into smaller ones.
Jeff Arnold's DAO will fill out the last block with zeros (digital silence)
if there is space left over, but most of the other programs will write
garbage that is audible as a short (less than 1/75th second) click. The
fix is to split the track on 2352-byte block boundaries.

A program called "StripWav" will remove .WAV headers and footers that
may be interfering with some applications. The program is available from
http://www.lightlink.com/tjweber/.


If you must use track-at-once, make sure you're writing it all in one
session. PC-based CD players may be able to see tracks in later sessions,
but the CD player in your stereo system almost certainly can't.

A distantly related problem can arise if you use "shuffle play" to play
random tracks from a CD-R. If the audio of track N begins immediately,
some CD players will slide from the end of track N-1 into the start of
track N, playing a short burst of track N before seeking elsewhere. This
can be avoided by putting a gap at the start of such tracks (e.g. with
"INDEX 01 xx:yy:zz" in a DAO cue sheet).


Subject: [3-4] How do I copy game console discs (e.g. Playstation, Dreamcast)
(2002/05/10)

For PCs, CloneCD (6-1-49) or CDRWIN (6-1-7) should work as well as anything.
For Macs, Astarte's CD-Copy (6-2-8) used to be recommended but may no
longer be available.

Note that the software does NOT defeat the copy protection. I'm told
that the "copy protection" on Playstation discs is in fact a region code
-- America, Europe, Japan -- encoded near the start of the disc. The "MOD
chip", a device attached to the Playstation that defeats one aspect of the
copy protection, emulates the country code reading process. It sends all
three region codes back, enabling the game console to play original discs
from other regions as well as copied discs. Some people say the code is
written in a block with damaged ECC, some say it's in the barcode on the
hub, others have insisted that it's in the ATIP region of the lead-in.
Whatever the case, it doesn't get copied by a CD recorder, and claims of
hacked recorder firmware that can create MOD-chip-free duplicates are false.

Instructions for copying discs and vendors who sell MOD chips can be found
by searching the net. If you don't have a PC, or if your drive doesn't
support disc-at-once recording, you will need to look for disc copying
instructions on the net.

Sega Dreamcast discs use a proprietary format, called GD-ROM, which can
hold 1GB of data. This makes it impossible to make an exact copy, though
it is possible in many cases to copy "enough" stuff to make them work.
Persistent rumors claiming that CeQuadrat's PacketCD can copy the discs
are false. GD-R (Gigabyte Disc Recordable) media has two regions, a
"single-density" area near the hub and a "high-density" area farther out.
A visual inspection of GD-R media suggests that the single-density area
starts at about 22mm from the disc's center (same as a CD-R) and goes
to 29mm. From 29mm to 31mm is a "no-mans" land that isn't recordable,
and the high-density area goes from 31mm to 58mm. An image of one is
available on http://www.fadden.com/cdrpics/.

Incidentally, posting requests or advertisements for pirated software on
one of the non-warez Usenet groups is generally regarded as a mark of
extreme stupidity. Whatever your opinion of software piracy, it is against
the law in much of the world.


Subject: [3-5] How do I get long filenames onto a disc?
(2002/05/19)

There are several different ways, most of which only work with some
operating systems. The next few sections discuss the various methods.
See http://www.roxio.com/en/support/cdr/filesystems.html for a compatibility
chart.

It's important to remember that the most common CD filesystem (ISO-9660
Level 1) only supports eight-character filenames with a three-character
extension. Longer filenames are added either as an extension to ISO-9660
(Joliet, Rock Ridge) or a replacement (UDF, HFS). These are discussed
in the sections below.

Getting mixed-case filenames onto a disc is a similar problem. Burning an
ISO-9660 disc with lower-case filenames isn't recommended, because some
systems aren't able to access the files even though they appear in
directory listings.

"mkhybrid" and recent versions of "mkisofs" (1.12b1 or later), described in
sections (6-1-32) and (6-1-10), respectively, are able to create CDs that
have both Joliet and Rock Ridge extensions. "mkhybrid" can create discs
with Joliet, Rock Ridge, and Mac HFS on the same disc, sharing the same
file data.


Subject: [3-5-1] ISO-9660
(2000/05/12)

Level 1 ISO-9660 defines names to be the familiar 8+3 convention that
MS-DOS users have suffered through for many years: eight characters for the
name, a period ("full stop" for those of you in the U.K.), followed by
three characters for the file type, all in upper case. The only allowed
characters are A-Z, 0-9, '.', and '_'. There's also a file version number,
separated from the name by a semicolon, but it's usually ignored.

Files must occupy a contiguous range of sectors. This allows a file to be
specified with a start block and a count. (Most disk-based filesystems
require index blocks that list all the blocks used by a file.) The maximum
directory depth is 8.

Level 2 ISO-9660 allows far more flexibility in filenames, but isn't usable
on some systems, notably MS-DOS.

Level 3 ISO-9660 allows non-contiguous files, useful if the file was
written in multiple packets with packet-writing software. Also unavailable
under MS-DOS. For the Mac, you can add support by installing Joliet
Volume Access (http://www.tempel.org/joliet/).

Some of the CD creation programs will let you select how closely you want
the CD to conform to the ISO-9660 standard. For example, Easy-CD Pro 95
can restrict filenames to be ISO-9660 compliant, or allow the full set
of valid MS-DOS filenames. (Most systems can handle MS-DOS filenames.)

Incidentally, the ISO-9660 spec requires that all files be displayed in
alphabetical order, with directories first, no matter how they are recorded
on the CD-ROM. You can't arrange files on the disc, because the ISO-9660
reader (e.g. MSCDEX) sorts them before displaying them.

A copy of the specification can be purchased from http://www.iso.org/.


Subject: [3-5-2] Rock Ridge
(1998/04/06)

The Rock Ridge extensions to ISO-9660 define a way for UNIX-isms like long
mixed-case filenames and symbolic links to be supported.

Because it's still an ISO-9660 filesystem, the files can still be read by
machines that don't support Rock Ridge; they just won't see the long forms
of the names.

Rock Ridge is supported by UNIX systems. DOS, Windows, and the Mac
don't currently support it.

Copies of the Rock Ridge standard and System Use Sharing Protocol (SUSP)
can be found at ftp://ftp.ymi.com/pub/rockridge/. Pay a visit to
http://makecd.core.de/Rock_Ridge_Amiga_Specific for a description of
Amiga-specific extensions.


Subject: [3-5-3] HFS/HFS+ and Macintosh extensions to ISO-9660
(2004/08/31)

HFS is the Hierarchical File System, used by the Macintosh. This is often
used instead of the ISO-9660 filesystem on Mac CD-ROMs, making the disc
unusable on systems that don't support HFS. As of Mac OS 8.1, an updated
filesystem called HFS Plus is available.

At present, the systems that can natively read HFS CD-ROMS are Macs, Amigas
(with AmiCDROM), PCs running Linux or OS/2 (with appropriate patches),
the Apple IIgs, and SGI machines running Irix (they appear as AppleDouble
format).

Windows machines can read HFS disks with the appropriate
software. One example is "Conversions Plus" from Data Viz,
http://www.dataviz.com/products/conversionsplus/. Others include
MacDisk, from http://www.macdisk.com/prospen.php3, and HFVExplorer from
http://gamma.nic.fi/~lpesonen/HFVExplorer/.

Some authoring packages for the Mac and Windows allow the creation of
"hybrid" CDs that have both an ISO-9660 filesystem and an HFS filesystem.
Such discs can be used on non-Mac systems, but still have all the file
attributes (creator type, resource fork) that Mac OS likes.

Apple has defined some ISO-9660 extensions that allow Macintosh files to
exist with file and creator types on ISO-9660 CD-ROMs. A description of
the extension is available as tech note FL 36 from:
http://developer.apple.com/technotes/fl/fl_36.html


Subject: [3-5-4] Joliet
(2002/06/24)

Microsoft, being Microsoft, created their own standard called "Joliet".
This is currently supported by Win95 and WinNT. It's useful when doing
backups from Win95 onto a CD-R, because the disc is still readable as
ISO-9660 but shows the long filenames under Win95. The limit on Joliet
filenames is 64 characters. (Some software reportedly allows up to 110.)

The spec can be found at
http://bmrc.berkeley.edu/people/chaffee/jolspec.html.

Recent versions of Linux (kernel >= 2.0.34 and 2.1.60) have Joliet
support. Older versions can be patched; for details, see
http://www-plateau.cs.berkeley.edu/...fee/joliet.html.

To patch Joliet support into OS/2, visit:
http://service.software.ibm.com/os2...atedc/index.htm

For the Macintosh, use Joliet Volume Access (http://www.tempel.org/joliet/).

Some old Creative CD-ROM drivers have trouble with CD-ROMs that have Joliet
filenames. You may need an updated copy of sbided95.exe. It used to be
available from http://www.ctlsg.creaf.com/, but that site no longer exists.


Subject: [3-5-5] Romeo
(2001/11/05)

Adaptec's Easy-CD Pro software allowed creation of discs in "Romeo" format.
Filenames may be up to 128 characters long, which is very useful for certain
types of files. Sadly, this format never really caught on. NTI's CD-Maker
software (section (6-1-12)) supports Romeo.

One person reported having trouble reading Romeo-format discs in Win2K,
others have had no problems.


Subject: [3-5-6] ISO/IEC 13346 and ISO/IEC 13490
(2003/10/14)

These standards were developed to replace ISO-9660. They evolved into
what is now known as the UDF filesystem format (see section (6-3-1)).

Some older information is at http://www.standards.com/index.html#Standards.


Subject: [3-5-7] ISO-9660:1999
(2005/07/10)

This is an updated version of the ISO-9660 standard. Some features:

- Filenames can be 207 characters long, and case-sensitive.
- Filenames no longer need to have a dot (i.e. not 8+3), and no longer
have a version number (the ";1" that is usually concealed).
- Limits on directory depth have been removed.

Operating system support for ISO-9660:1999 started appearing in 2004 or so.
The first version of Windows to support it is WinXP.


Subject: [3-6] How do I use a CD-i disc on a PC?
(2000/10/24)

Short answer: you don't, unless you have a CD-i add-on board. Even if you
have a CD reader compatible with the CD-i (Green Book) standard, there are
still a number of obstacles in your way. The filesystem used isn't
ISO-9660, and CD-i players are based around a 680x0 CPU and have special
hardware for video and audio.

Longer answer: it depends on what kind of disc it is, and what you mean
by "use".

PhotoCD and VideoCD discs are CD-ROM/XA "Bridge Format" discs that play on
CD-i players as well as dedicated players and computers. These use the
ISO-9660 file system, and can be read with commonly available PhotoCD
software and MPEG-1 players.

DigitalVideo discs from Philips manufactured before June, 1994 are in CD-i
format, not VideoCD format. If your CD-ROM drive supports raw 2352-byte
sector reads, it's possible to pull tracks off of a Green Book format disc,
and extract audio or MPEG video data. You can get a CD-i filesystem
for Windows from http://www.icdia.org/articles/filesystem.html.

VCD PowerPlayer from CyberLink (http://www.cyberlink.com.tw/) can play
CD-i movies directly off of a Green Book disc.

In-depth information is available from http://www.icdia.org/.


Subject: [3-7] How can I extract disc and track titles from an audio CD?
(1998/09/01)

Typical Red Book audio CDs don't have this information. Software audio CD
players like those provided by Adaptec or Microsoft require you to type in
the information, which is then stored in a database on your hard drive.
The discs are identified by computing a signature based on track offsets
and other fields. http://www.cddb.com/ acts as an Internet database of
CD info.

Some newer formats, like CD Extra, allow or even require such information
to be included on the CD. See Sony's pages at http://www.cdextra.com/.

Some recent CD players are advertised as "CD-Text Ready". These use the
CD-Text data embedded in the P-W subcode channels to display disc and track
title data. See section (3-28) for more about CD-Text.


Subject: [3-8] How do I write more than 80 minutes of audio or 700MB of data?
(2004/03/04)

CD-R's have a pre-formed spiral track, and the sector addresses are
hard-coded into CD-R media, so there's no flexibility. Every disc holds a
predetermined amount of data.

Most discs rated at 74 or 80 minutes hold slightly more than that.
How much more depends on the brand of media, batch of media, and perhaps
even on the recorder used (see section (7-6) for more details on how much
a CD-R can hold). In some situations you can exceed the stated capacity
of the disc; see section (3-8-3) below.

Since CDs are written in a spiral, the amount of data you can get on
a disc is affected by how tightly spaced the "groove" is. A standard
Red Book audio CD or Yellow Book CD-ROM is designed to allow at most 74
minutes of data. By using a tighter track pitch on the spiral "groove"
on the glass master, manufacturers can get more data onto the disc.
In theory this could make it harder for some CD readers to use the discs.
See section (3-8-1) for notes on 80-minute discs, and (3-8-2) for 90-
and 99-minute blanks.

The easiest way to get more data onto a disc is not to try. For audio CDs,
you can leave off one or two tracks that you're not overly fond of. For
data CDs you may be able to drop some images or sample data. The most
common problem people encounter with data CDs is trying to copy them as a
collection of files rather than doing a bulk copy of the entire disc. See
also section (3-24).

One user suggested using the "speed up" function of Sound Forge or Cool
Edit to increase the speed of extracted WAV files by 3%. This supposedly
gives better results than resampling, and allows writing 77 minutes of
audio onto a 74-minute disc.

If you have a mono recording, you could double the length of a CD by
recording half the sound on the left track and half on the right. The
sound would be recorded as two monaural files, and then merged into a
single stereo file with a sound editor like Cool Edit. (With Cool Edit
96: load first mono file. Use "Convert Sample Type" to convert to
Stereo. Select the right track, and Delete Selection. Use Mix Paste to
load the right track from the second file, or just fire up a second copy of
Cool Edit with the other track, and use Copy and Paste commands.) The
person playing the CD back will need to use a "balance" knob to select the
left or right track. One issue with this method is that the track markers
apply to both tracks, so providing random access to specific sections can
be tricky.

If you're trying to copy a CD-ROM or VideoCD and running out of room, you
may have a different problem. See sections (3-24) and (4-25).

Incidentally, don't get confused when you discover you have 700MB of audio
extracted from a CD that only holds 650MB. Audio sectors use 2352 bytes
per sector, while standard CD-ROM data uses 2048 (the rest is for error
correction). You can put roughly 747MB of audio onto a disc that only
holds 650MB of data.


Subject: [3-8-1] How well do 80-minute CD-R blanks work?
(2004/03/04)

In general, they work just fine. Reports from people who have used
80-minute CD-Rs indicate that compatibility with different CD-ROM drives is
very good. However, bear in mind the following statement, which was sent
by e-mail from a TDK representative:

"The CD-R80 is a special product developed by TDK to meet the application
needs of software developers and music studios. To achieve its 80 minute
recording time, track pitch and scanning velocity specification tolerances
had to be minimized, reducing the margin of error between drive and media.
This means limited compatibility between some CD-Recorders and CD-ROM
Readers. If you intend to use this recording length, please check with
your hardware manufacturer. Use of the CD-R80 is at one's own risk. No
guarantees of performance are made by TDK."

Whether it's better to use 80-minute discs or "overburning" (described in
the next section) is a worthy subject for debate. Both can cause problems
on different CD-ROM drives, and not all recorders are capable of doing one
or the other. Because of consumer demand, all recent drives can do both.

An 80-minute disc has roughly 360,000 sectors instead of the 333,000
defined by the Red Book standard. This increases the CD-ROM capacity
from 650MB to 703MB.


Here's a few personal notes on my experiments with TDK 80-minute "green"
blanks, back in late 1997. Back then it was hard to find 80-minute
discs and easy to find 74-minute discs; these days the situation has
reversed itself. I was able to purchase a small quantity (three discs)
from Microboards at http://www.microboards.com/. This section is rather
outdated now, but I'm leaving it in as a historical footnote.

The discs were part number SCWA-ETC80A-X, priced at US$40.00 per disc in
October 1997. That was about 20x the cost for an extra 8% storage. The
discs were unbranded. The only difference I could see between these and
other TDK green discs is that on the hub it says "CD-Recordable 6129B-80".
Easy CD Creator Deluxe v3 showed 359,624 blocks (702.8MB in MODE-1) on the
TDK 80-minute blanks, versus 333,010 blocks (650.8MB) available on my
Mitsui gold 74-minute blanks.

The first challenge was finding software that would work correctly with the
discs. Neither Easy-CD Pro 95 v1.2 nor Easy CD Creator Deluxe v3.0 would
allow me to do a test recording with more than 650MB of files. I ended up
using mkisofs to create an image file with 341,163 blocks (666.3MB) of
data, composed of two large .AVI files, and three smaller pieces of one of
the other .AVI files. (With Easy CD Creator Deluxe v3.5 and later, you
can choose to ignore a warning about the data size.)

Using a Yamaha CDR-102 with v1.0 firmware, the first thing I tried was to
burn the image file to a 74-minute blank. Easy-CD immediately rejected the
disc, saying there wasn't enough space. I then put the 80-minute blank in
and did a test run. Easy-CD Pro 95 had no problems burning the ISO-9660
image file, until the screen saver activated and McAfee anti-virus "screen
scan" kicked in. Good thing it was a test burn; I got a buffer underrun.
I killed the screen saver and virus checker and ran again, had a successful
test run, and followed it with a successful burn.

To verify the data, I used Easy-CD Pro 95's "compare track" feature. This
failed, complaining that one track was shorter than the other. My guess is
that the compare feature has some sort of track length limitation. My next
attempt was to use the Linux "sum" command to make sure that the disc was
readable in my Plextor 8Plex. This worked fine, and the output of "sum"
matched what I got on the 4x CD-ROM drive in the Sun workstation at work.
I also tried the disc in a Mac 7500 and a Dell Pentium, and had no problems
with either.

The next step was an 80-minute audio CD, and that's where things fell
apart. Easy-CD Pro 95 v1.2 didn't work at all (!), Easy CD Creator Deluxe
v3.0 again refused to allow me to create a long audio CD, and with Jeff
Arnold's software (both the DOS version and CDRWIN) the test write failed
after a minute or so (after the lead-in had completed?). Strangely,
removing the last two tracks from the cue sheet, which reduced it to 72
minutes, allowed the test write to succeed on both 74-minute and 80-minute
blanks. It appears that the Yamaha CDR-102 drive is unwilling to write
that much audio data.


Subject: [3-8-2] How well do 90-minute and 99-minute CD-R blanks work?
(2004/03/04)

Small quantities of 90-minute and 99-minute blanks have appeared, but since
their introduction in late 2000 they haven't become as commonplace as other
lengths. Indications are that many recorders and some software don't
really work with the longer discs.

The discs have capacity of roughly 791MB (90 min) and 870MB (99 min).
However, all the capacity in the world won't help you if you can't
read the disc after you write it. If you're interested in larger but
incompatible discs, your best bet is probably DVD-R. Other alternatives,
such as DD-R/DD-RW (section (2-37)), ML (section (2-39)), and GigaRec
(section (2-46)) never really took off.

CD time stamps are two digits (binary coded decimal, in case you were
wondering), so exceeding 99 minutes isn't possible. You could, in theory,
declare there to be 99 seconds in a minute and 99 sectors per second, but
that would break just about everything that tried to read one. The limits
of the specifications are being pushed at 80 minutes and even harder at 90,
so don't expect much more out of CD-R. Some knowledgeable individuals have
stated that the longest possible CD-R is 79 minutes, 59 seconds, 74 blocks
long, because of the way that the last possible start time of the lead-out
is encoded, but you can use "overburning" (discussed in the next section)
to write past that point. (Experiments suggest that the actual limit is
88 minutes; either way, you're pretty far from 99.)

See http://www.mmore.com/download/Techn...MORE_90_min.pdf for
a tutorial on burning 90-minute discs with Nero. In short: make sure your
drive supports overburning, set "Enable overburn" in the "Expert features"
tab of the preferences, ignore the warnings, and cross your fingers.
Always verify the disc afterward.


Subject: [3-8-3] How can I exceed the stated disc capacity ("overburning")?
(1999/10/10)

The capacity of a CD-R is calculated to allow enough space to hold at least
74 minutes of Red Book audio data and 90 seconds of digital silence. The
silent area is called the "lead-out", and is included so that a CD player
will realize that it has reached the end of the disc, especially when
fast-forwarding.

When a recording program tells you the exact capacity of the disc, it's not
including the area reserved for the lead-out. There's nothing magic about
this reserved area though. With the right kind of setup -- and a
willingness to accept write failures as a matter of course -- you can put
data into the reserved area, and possibly into a few blocks past the end
of it. This is often referred to as "overburning" a disc.

How much more you can fit depends almost entirely on the media. Some
brands will hold as much as 78 minutes, but it varies from batch to batch.
You can use Feurio! (section (6-1-42)) to compute the maximum size of a
specific disc without actually writing anything on it.

You also need the right recorder and the right software. The Teac CD-R55S,
Plextor PX-R412C, Yamaha 4xx/4xxx, and Memorex/Dysan CRW-1622 units have
been used to write "extra long" audio discs successfully. The Philips
36xx, HP 71xx, and Ricoh 62xx units don't seem to be willing to do so. In
some cases, getting the firmware revision may be important. A recorder
that isn't able to do this sort of writing will usually reject the cue
sheet before writing begins.

To write such a disc, you need to use a program that won't refuse to exceed
the disc capacity. Easy CD Creator, in an attempt to prevent you from
making mistakes, will refuse to allow you to write more than you should be
able to. CDRWIN will warn you that the write may fail, but will allow you
to continue anyway. Nero has a preference (under Expert Features) called
"enable oversize disc" that allows the longer write.

One approach to determining the maximum disc length is to gather a large
collection of audio tracks, and start writing. Eventually the recorder
will attempt to write past the end of the disc, and the write process will
fail. Now play the disc, preferrably in a player that shows the total
elapsed time for the entire disc. When the music cuts off, make a note of
the time. That's the absolute capacity of the disc.

Most (all?) CD players will display the total disc time when you first
put the disc in. This value represents how much you tried to write,
not how much was actually written. If you want to impress your friends,
try to write 88 minutes of music. You won't get anywhere near that far
on 74-minute media, but the CD player will show it.

It should be possible to write a CD-ROM in the same manner as an audio CD,
but the space would have to be calculated so that the write failure
occurred when the lead-out was being written. Otherwise, some of the files
that appeared to be on the disc wouldn't actually exist.

Recording in DAO mode may be helpful to ensure that the lead-in gets
written. Without a table of contents, the disc is useless. It's very
likely however that you will be able to finalize the disc even after the
write fails.

Depending on the disc and your player, you may have trouble seeking out to
tracks near the end of the disc. Also, your CD player may behave strangely
when it walks off the end of the disc: one user said he had to open and
close the player afterward to convince it that a disc was still loaded.

The disc surface past the end of the area reserved for the leadout may be
unreliable. Attempting to use more than 90 seconds (about 15MB of MODE-1
data) beyond the rated capacity of a disc could be asking for trouble.

It's possible to perform similar tricks on 80-minute media. Experiments
with TDK 80-minute discs resulted in a recorded length of 82:09. MMC
recorders don't seem to like having the lead-out position any later than
88:29:74, but that shouldn't get in the way.

Further commentary and instructions can be found at
http://www.cdmediaworld.com/ under "OverSize / OverBurn CD-Rs", including
a list of recorders that are known to work and step-by-step instructions
for using popular software.


Subject: [3-9] How do I put photographs onto CD-ROM?
(1999/03/31)

The first thing you have to do is get them onto your computer. There are
three basic approaches: use a scanner to convert printed photographs, use a
video digitizer to pull images off of a video tape, or use a digital camera
to take pictures that can be transferred directly.

There are a great many different scanners, with different resolutions and
capabilities. http://www.zdnet.com/special/filters/sc/scanner/ is a
fair place to start. (If the link doesn't work, go to zdnet.com and
look for reviews of scanners.)

Video digitizers are mentioned in section (3-16). If you're scanning off
of VHS video tape, you are going to get disappointing results.

Digital cameras will generally give you the best results. A mid-range
digital camera will give you pictures that look as good (when printed on a
photo-quality printer, which are inexpensive now) as a 35mm point-and-shoot
film camera. A few links:

- http://www.steves-digicams.com/
- http://www.imaging-resource.com/
- http://www.dcresource.com/

Once you have the photograph on your hard drive, you may want to touch it
up a bit. You can use software to correct for over- and under-exposed
snapshots, remove "red eye", and crop off bits that weren't supposed to be
in the frame. Cameras and scanners should come with image manipulation
software that will help you manipulate and manage the images. Adobe's
PhotoShop (http://www.adobe.com/) is the standard high-end solution, and
their PhotoDeluxe Home Edition may appeal to a less demanding crowd.

Once you've got the images in a reasonable state, save them in a widely
accepted format such as JPEG or TIFF, and write them to a CD-ROM like you
would any other files. You may need to use an "Export" function rather
than "Save As...", because consumer photo software authors tend to use
proprietary image formats as the default.

If you want to create a PhotoCD that can be played in a PhotoCD player,
continue on to the next section. If you're interested in arranging the
pictures into an album, see (3-9-2).


Subject: [3-9-1] How do I create a PhotoCD?
(2005/01/20)

First off, you need to be aware that certain aspects of PhotoCD creation
are proprietary to Kodak. Programs like Roxio's Easy CD Creator will
allow you to create CD-ROMs with PhotoCD image files, and you will be able
to view the images with Mac or PC programs that understand the PhotoCD file
format, but you won't be able to look at the disc with a PhotoCD player.
See http://tedfelix.com/PhotoCD/ for an excellent discussion of the subject.

The Build-It and Arrange-It software, which allow you to create "real"
PhotoCDs, used to cost about US$450. Kodak apparently pulled the software
from the market in December 1997, making it difficult to find.

http://www.shiresoft.com/ gives you step-by-step instructions and software
for creating "real" PhotoCD discs with Kodak's software. The Build-It
program will only write to Kodak CD recorders, but a translator available
from this web site will allow it to work with programs such as CDRWIN.
Follow the Kodak links on that page.

There are some utilities that will convert images into PCD format, but they
only support the uncompressed base resolutions. The higher resolutions are
compressed with an algorithm proprietary to Kodak.


Subject: [3-9-2] How can I set up a photo album on CD-ROM?
(2004/08/10)

There are programs available that will do this for you, or you can take
a "do it yourself" approach. Some examples:

Roxio "Photo Relay" (part of Easy CD Creator Deluxe Edition - see section
(6-1-26)). According to their web page, it "lets you organize digitized
photos and videos, then create Slide Shows, Web Albums and Video Postcards
that can be stored to CD and shared with others - no proprietary viewer
is required by the recipient!". Newer versions come with "Storyboard",
which has some very fancy slide show features.

Cerious "Thumb's Plus" (http://www.cerious.com/). Helps you organize
images and create slide shows. Free evaluation version.

Firehand "Lightning" (http://www.firehand.com/lightning/). Photo albums,
slide shows, screen savers. Free evaluation version.

Tlonstruct "CDView Pro" (http://tlonstruct.com/). Fancy picture viewer.
Free shareware download.

Extensis "Portfolio" (http://www.extensis.com/portfolio/). Heavy-duty
software for "media asset management". Supports every file format you've
ever heard of, and has support for hybrid CD recording.

"IrfanView" (http://www.irfanview.com/). Shareware image viewer that can
create slide shows.

The do-it-yourself approach. Make an HTML page with pictures, using a
program like Microsoft FrontPage to create thumbnails (the auto-thumbnail
feature is *very* handy), so that when you click on the thumbnail image you
get the full-sized image. Put the HTML page and all of the graphics onto a
CD-ROM, and view the pictures with a web browser. For bonus points you can
use "shellout" with autorun.inf (section (3-21)) to have Windows
automatically launch the default web browser when the disc is inserted, and
"mkhybrid" to create a disc with long filenames and correct file types for
Rock Ridge, Joliet, and MacOS.

The "Film Factory" software that comes with some Epson printers has an
"export to web page" function that works pretty well. The "lite" version
that comes with their greeting card paper may or may not support this
feature.


Subject: [3-9-3] How can I show digital photos on my DVD player?
(2004/11/03)

The easiest way is to use a program that does it for you. Ulead's "DVD
PictureShow" will create VideoCD or DVD discs with your photos on them.
More information is available at http://www.ulead.com/. A similar
product is PictureToTV from http://www.picturetotv.com/.

The first step is to make sure your DVD player can play CD-R media.
Create an audio CD on CD-R media, put it into your DVD player, and try to
play it. If it works, great. If it doesn't, try the experiment again,
this time with CD-RW media. If neither works, or CD-R doesn't work and
you can't record CD-RW discs, you're out of luck. See section (2-13) for
more about DVD players and compatibility.

The next step is to find a way to display the photos. Some DVD players can
display PhotoCD discs, but there isn't a way to create "real" PhotoCD discs
with currently available software (see section (3-9-1)).

The alternative is to create a VideoCD with still frames. Each still frame
is a medium sized (704x480 in NTSC) JPEG image. By gathering these into a
collection, you can create a VideoCD "slide show" that will play on most
DVD players. Be careful though: a fair percentage of DVD players do not
support VideoCD. You should be able to figure this out by looking through
the manual. If no reference to VideoCD can be found, you'll just have to
try it and see.

See section (3-16-1) for more about VideoCD.

The MPV (MultiPhoto/Video) specification was announced in November 2002.
It's purpose is to define a standard way of storing pictures, videos,
and audio on digital media. This should allow you to create discs with
multimedia content easily and display them on compatible DVD players.
See http://www.osta.org/mpv/.

The HighMAT specification, announced in October 2002, does similar things.
See section (2-49).


Subject: [3-10] How do I make a CD that will work on a PC or a Mac?
(1998/04/06)

[ Moved to section (3-35). ]


Subject: [3-11] How do I access different sessions on a multi-session CD?
(2004/01/12)

As always, it depends.

MS-DOS lets you see the first data session. Usually. Win95 lets you see
the last data session. Usually. Roxio's Session Selector and Ahead's
MultiMounter will let you choose which session you see.

Some CD creation software (e.g. Roxio Easy CD Creator) writes a complete
table of contents in each session, some of which refers back to the files
from the previous session, allowing a form of incremental backup. (This
will work for ISO-9660 discs, but won't work for HFS. However, this is
less painful than it seems because a properly-configured Macintosh will let
you mount all the sessions as individual volumes.)

Software like Nero or Easy CD Creator will allow you to combine the
contents of several previous sessions by creating a new session (load the
file/directory info from more than one session, then write and close a
new session with that directory structure).

For some older systems your success with multi-session discs may depend on
the SCSI or CD-ROM driver you have installed. It's reasonable to expect
a disc with two sessions to be treated the same way on just about every
system, but once you go past two it's unwise to expect consistent behavior.

If you just can't seem to find your files, you can use IsoBuster
(http://www.isobuster.com/) to access the data manually.


Subject: [3-12] How do I transfer my records or cassettes to a CD?
(2001/05/29)

Conversion of cassette tapes and vinyl records is increasingly popular.
Common reasons range from plans for long-term preservation to a desire
to listen to old favorites while driving in a car without a tape player.

There are two basic kinds of CD recorders: those that attach to a computer,
and those that stand alone. The latter, described in detail in section
(5-12), are usually connected to a stereo system. They are easier to work
with, but less flexible.

The first step, regardless of equipment, is figuring out how to physically
connect your tape player, turntable, or wax cylinder player to something
else. You almost always want "line-level" sound. The output from a
turntable is typically not line-level, so it has to be connected to a
receiver or pre-amplifier "phono" input. You then use the outputs from
the receiver or amplifier; if you can find outputs labeled "tape out" or
"preamp out", use those.

(A pre-amplifier raises the voltage level from the phono cartridge up to
"line level" voltage. An amplifier increases the signal from line level
to whatever is needed for your speakers. A pre-amplifier will also
compensate for pre-emphasis in the recorded material.)

You could connect your recorder to the headphone jack on the receiver or
amplifier, but that's not the best way to go. The voltage level coming
out of the headphone jack varies on the volume setting, while line-level
output doesn't. This makes line-level easier to set up. If all you can
find is a headphone jack, you will have to fiddle with the volume control
until the sound is as loud as possible without "clipping". If one of your
devices has little colored bars that bounce up and down according to how
loud the sound is, you need to play something "loud" on your tape player
or turntable, and adjust the volume until the loudest parts rise up just
shy of the maximum.

Connect the output from your tape player, receiver, or amplifier into
the CD recorder (if you have a stand-alone model) or the "line in" on the
sound card on your computer (if you're using that). Continue with section
(3-12-1) if you have a stand-alone model, section (3-12-2) if yours is
attached to a computer.


You can find odd bits of hardware that will play or enhance playback of
older recording formats (78's, LP's, 16" Radio Transcriptions) at Nauck's
Vintage Records (http://www.78rpm.com/).

For those of you wondering what the deal with pre-emphasis is, this
little tidbit is courtesy Mike Richter:

"Preemphasis has been used since the earliest days of commercial recording.
In general, the high-frequency content of the music (or whatever) being
recorded is low and the noise is high. Therefore, treble was boosted and
lows were cut by a preemphasis curve which was removed in playback. The
standard RIAA curve for turnover and rolloff (the amount and frequency
for treble and bass, respectively) was not accepted universally until the
50's, and some fine preamps offered selectable values with presets for
the common curves into the early transistor era."


Subject: [3-12-1] ...with a stand-alone audio CD recorder?
(2000/12/02)

Once you've got everything hooked up, hit "record" on the CD recorder
and "play" on the other device. Wait a while. You're done.

You may want to fiddle with it to mark the start individual tracks. See
the instructions that came with your recorder.


Subject: [3-12-2] ...with a CD recorder attached to my computer?
(2003/05/23)

Recording into a PC is a little trickier, but you have much more
control over the final result. It's easy to edit away silence and
reduce or remove clicks and hissing.

In addition to the material here, you may want to read one or more of
these tutorials:

http://www.blazeaudio.com/howto/lp-overview.html
http://www.delback.co.uk/lp-cdr.htm
http://www.ganymede.hemscott.net/tutorial.htm
http://www.gmayor.com/copy_vinyl_to_CDR.htm
http://www.pcabusers.net/vinyllp/vinyllp.htm

The page at http://www.octave.com/library/audiocd.html is also useful.


The most crucial component is the sound card. The sound card converts the
audio signal from analog to digital (an "A/D conversion"). Some cards do
this conversion better than others. You can use the A/D converter built
into a sound card like a SoundBlaster 16, but the sound quality will not
be very good. The sound cards from Turtle Beach (Tropez, Tahiti) and
CrystaLake are a step up, and a Digital Audio Labs CardD+ is about as good
as it gets for internal A/D cards. If you're really serious, you should get
an external A/D converter like the Symetrix 620 or the Lucid AD9624 and feed
the digital output from that into the computer. (Looks like the Lucid device
has superseded the Symetrix one -- it's the same company. Relevant URLs
are http://www.symetrixaudio.com/ and http://www.lucidtechnology.com/.)
Other products can be found at http://www.midiman.com/.

Another way of accomplishing the same thing is to record to an audio DAT
deck and then use the digital output on the DAT recorder; see section (3-13)
for details. With some decks, such as the TASCAM DA-20 mkII and DA-302,
it's not even necessary to record to tape. You can play straight through
the recorder.

A problem with some sound cards (really cheap Opti and ESS cards have been
named) is that the crystal that controls the recording sample rate is off.
If the card doesn't do the sampling at the correct rate, the recorded audio
may end up slightly slower or faster than the original. This will become
apparent when the sound is played back off of a CD or through a better
sound card. Most sounds cards don't have this problem.

If you have questions or need a recommendation on a sound card, you might
want to try:

news:rec.audio.tech
news:comp.sys.ibm.pc.soundcard.tech

Some highly technical benchmark evaluations of cards are available at
http://www.pcavtech.com/.

Roxio's Easy CD Creator (section (6-1-26)) includes an application called
"Spin Doctor" that performs most of the tasks needed to transfer LPs to CD.
Depending on your needs, it may provide a simple all-in-one solution.

A simpler approach is to use a program capable of recording large amounts
of audio from the sound card. An editor such as Cool Edit or GoldWave
should work. Whatever you choose, you should again play a loud passage and
watch the "VU meter" display to make sure you're getting as much signal as
you can without clipping. If the little colored bars are slamming against
the top, you're clipping. The Windows volume control panel (double-click
on the yellow speaker icon in the lower-right-hand corner) has a VU meter
in it, and allows you to set the input gain.

Configure the application to record 44.1KHz 16-bit stereo sound, click
"record", hit "play" on your tape player or turntable, and wait a while.
When the music is done, stop the recording on the computer. You can
either record the result directly to a CD, or clean it up a bit first.
See the next section for some suggestions.

Bear in mind that CD-quality audio uses up about 10MB of disk space per
minute, so one side of a 45-minute tape will require roughly 450MB. Make
sure you have enough disk space before you start.


Subject: [3-12-3] How can I clean up the audio before recording?
(2000/12/02)

There are a variety of programs that can automatically remove pops, clicks,
and hissing from digitized audio. Few automated tools can do as good a job
cleaning up pops and other noise as an experienced person, however. If you
want to perform the transfer by hand, the following method has been
suggested for PC users with Cool Edit:

- Record directly into Cool Edit, using the highest possible input
level that doesn't exceed the maximum. You want to record 16-bit
stereo samples at 44.1KHz.
- In the "noise reduction" dialog, set FFT size to 8192, FFT precision
to 10, and #of samples to 96.
- Select a silent passage between songs or from the end of the record.
It can have some crackling but no huge pops. Set the noise level.
- Select the entire track and perform noise reduction at about 70%.
- Select the entire track and normalize it.
- Manually remove any big pops (easily located by zooming in to the general
area and switching to "spectral view" in the edit menu) by zooming in on
them and amplifying them to about 8%. You only need to select the
channel (left or right) in which the offending data occurs. If it occurs
across BOTH channels, you may get a better result by deleting that part
of the track and reconstructing it in such a way that it remains
smooth... if that's not possible, make one channel smooth and then
amplify the other to 8%.

Cool Edit optionally leaves a blob of data at the end of the .WAV file,
which is legal in the file format but not expected by some utilities. To
avoid this, make sure the "Save extra non-audio information" box isn't
checked.

Software that may come in handy:

GoldWave
http://www.goldwave.com/, a good audio editor (shareware).
Adobe Audition (formerly Syntrillium Cool Edit)
http://www.adobe.com/, fancy commercial audio editor.
Sound Forge
http://www.sonicfoundry.com/, fancy commercial product with
lots of plug-ins.
Clean! plus
http://www.steinberg.net/products/, designed for vinyl and tape xfers.
Algorithmix
http://www.algorithmix.com/, has a noise reduction program called
SoundLaundry.
DART and DART PRO
http://www.dartpro.com/, designed for audio restoration ("click
removal" and more).
DCart
http://www.diamondcut.com/, audio restoration.
Pristine Sounds 2000
http://www.alienconnections.com/, audio restoration.
Gnome Wave Cleaner
http://gwc.sourceforge.net/, audio cleanup under Linux.
Waves software (various)
http://www.waves.com/, fancy (and expensive) audio manipulation.
CD Wave
http://www.cdwave.com/, useful for splitting a single large WAV
file on track boundaries.
RIP Vinyl
http://www.ripvinyl.com/, similar to CD Wave.

Wave Repair, from http://www.waverepair.com/, is a WAV editor designed with
analog recording and click-fixing in mind. It's aimed at very flexible
manual repair with some helpful automation. If you'd like something
a little heavier on automation and a little lighter on manual control,
try Wave Corrector at http://www.wavecor.co.uk/.

Don't forget that CD audio is 16-bit PCM stereo samples at 44.1KHz, and
will chew up disk space at roughly 176K per second. Playing back large
sound files is difficult with simple-minded applications like the standard
Win95 sound player, because they try to load the entire file into memory
all at once. Windows Media Player should work fine. (Section (4-20)
has some other suggestions on this same topic.)

See section (3-3) for some tips on avoiding clicks when committing the
audio to CD.

If, for some reason, you'd like to record "live" to the CD-R instead of
recording to the hard drive first, see section (3-54).


Subject: [3-13] How do I transfer an audio DAT tape to CD?
(2003/01/13)

Buy a card that will allow you to go from DAT to hard disk digitally. Make
sure you get one that can handle the same digital standard the DAT recorder
uses, i.e. S/PDIF (Sony/Philips Digital Interface Format, sometimes
referred to as "domestic") or AES/EBU ("professional").

Some of the solutions for the PC are:
- DigiDesign AudioMedia - http://www.digidesign.com/
- Zefiro Acoustics ZA2 - http://www.zefiro.com/
- AdB Digital Multiwav Pro - http://www.adbdigital.com/
- Digital Audio Labs CardD+ - http://www.digitalaudio.com/products.htm
- Turtle Beach Fiji - http://www.tbeach.com/products/fiji.htm

The CardD+ comes highly recommended. There may be newer versions of these
products, so be sure to check out the web sites.

Visit http://www.digitalexperience.com/cards.html for a feature comparison
of many different models.

An inexpensive S/PDIF card available from Computer Geeks
(http://www.compgeeks.com/) was evaluated by some newsgroup readers in
mid-1998. Apparently there were some problems with the physical dimensions
of the card (too wide for some PC slots), the documentation is poor, and
the voltage level for both input and output was TTL instead of standard
S/PDIF. You're probably better off with one of the established brands
unless you're sure about what you need.

You should record from the DAT onto your hard drive, and then record the CD
from there. If you try to record directly from DAT you'll likely end up
with a lot of wasted CD-Rs due to buffer underruns or minor mistakes. You
should use Disc-At-Once recording for best results.

One issue you need to be aware of is that some older DAT recorders can
only record at 48KHz, while CDs are recorded at 44.1KHz. If this is the
case with your equipment, you will have to do a sample rate conversion.
The DSP on cards like the ZA2 will do this for you, or you can use an
audio editing program like GoldWave or Sound Forge.

There *are* CD-R drives that have analog inputs, and can record directly
from audio sources. See section (5-12).

If you use a DAT and haven't been to the DAT-heads home page, you should
definitely check out http://www.atd.ucar.edu/rdp/dat-heads/.

If you want to manipulate audio DATs directly from your computer,
you need a DDS drive with special firmware. The SCSI DDS drives
that are typically sold for backups don't have the firmware required
to handle DAT tapes. Most SGI workstations can do this, and Mac
users should check out http://www.demon.co.uk/gallery/StudioDAT.html
[link dead?]. If you have an Archive Python DDS drive, check out
http://www4.informatik.uni-erlangen.de/~eckert/. Reputable Systems
(http://www.reputable.com/) sells DDS-2 drives with SGI firmware,
Archive/Conner/Seagate model CTD-8000HS.

Some other drives can be supported with appropriate firmware updates. See
http://www.trygve.com/playaudiodat.html.

An interesting combination of technologies is the DAT-Link, formerly
available from http://www.tc.com/. It connects to the digital connectors
on the DAT machine (or MD, DCC, or CD player) and the SCSI interface on
a computer. The device can be controlled from other computers on a network.

If you're interested in mastering production audio CDs, you should take
a look at http://www.sadie.com/.


Subject: [3-14] How do I put audio and data on the same CD?
(2001/01/10)

There are two ways to do this. The first is to put the data on track 1 of
the CD, and audio on the next several tracks (discs created this way are
referred to as "mixed-mode" CDs). The CD-ROM drive will automatically look
at track 1 and ignore all other tracks, so you'll be able to get at the
data and -- depending on the operating system -- will be able to play the
audio tracks. Remember that all of the tracks, both audio and data, need
to be recorded in a single session. See section (3-2).

The down side of this is that audio CD players may attempt to play track 1,
which can be obnoxious or downright harmful to audio equipment. Most
modern CD players are smart enough to ignore data tracks, so this won't
usually be a problem.

The other approach is to create a multisession disc with the audio tracks
in the first session and the data track in the second. This is how CD
Extra (the format formerly known as CD Plus) works. Audio CD players only
look at the first session, and CD-ROM drives are (supposed to) start with
the last session, so it all works out. Sony Music has some pages at
http://www.cdextra.com/.

(NOTE: it appears that in some situations a Macintosh will not handle
multi-session audio/data CD-R discs correctly. For example, a G3 with a
DVD-ROM drive running Mac OS 8.6 works fine, but a G4 or iMac running Mac OS
9 will reject the disc as unreadable. The same system will handle pressed
discs correctly -- only CD-Rs fail. The reason for this is uncertain,
but it may be possible to work around it by disabling the system's audio
CD extension when you want to read the data portion.)

A common question is how to write the audio in the first session without
gaps between tracks, because you can't use disc-at-once recording.
(If you did use DAO recording, the disc would be closed, and you wouldn't
be able to write the data track). With the right hardware and software,
you can do "session-at-once" recording to write the audio without gaps.
For example, if you're recording with Nero and SAO-capable hardware,
you just select disc-at-once mode but don't select "finalize CD".

What happens when you try to play one of these as audio in your CD-ROM
drive? As with most things multisession, it depends on your drive. (The
player that comes with Plextor CD-ROM drives does the right thing. If
you're using a different drive, you're on your own.)


There's actually a third way to do this that involves putting the data
track into the extended pregap of the first audio track. Instead of the
audio starting at minute:second:block 00:02:00, the data starts there, and
the audio is written after. The pregap is adjusted accordingly. This
method never gained popularity because some drives started playing at
00:02:00 regardless. There doesn't seem to be a way to do this on CD-R.

Some CDs perversely put audio in the pregap. You can play it by starting
to play track 1, then holding the "reverse" button until it seeks all
the way to the start of the disc. Some older digital audio extraction
programs would just ignore the "hidden" audio, but most newer ones will
extract the entire track.

For example, _Factory Showroom_ by "They Might Be Giants" looks like this:

TRACK 01 AUDIO
INDEX 00 00:00:00
INDEX 01 01:01:00
TRACK 02 AUDIO
INDEX 00 04:52:10
INDEX 01 04:52:10
TRACK 03 AUDIO
[...]

Index 01 on track 01 is usually 00:02:00. Holding down the reverse button
backs the time up to -1:03. This disc actually causes one of my Windows
machines (Win98SE with a Plextor 12/20 CD-ROM) to read the disc incessantly,
making it impossible to play the disc or extract audio tracks.

See section (3-36) for more information on "hiding" audio tracks.


Subject: [3-15] How do I make a bootable CD-ROM?
(2005/01/11)

On a Mac, this is reasonably straightforward.

For pre-OS X systems, a CD can be bootable if it has a bootable system
folder on it. Tell the recording software that you want to make the CD
bootable; this usually involves clicking in a checkbox before burning
the first session. Then, copy a bootable system folder onto the disc.
An easy way to create an appropriate system folder is to launch the
system installer, tell it you want to do a "Custom" install, choose the
"Universal System" option, and then install it onto the CD source volume.
One caveat: any control panels or extensions that want to write to their
preferences files will fail. You may need to write from a system folder
that has been booted at least once.

Detailed instructions for creating a bootable CD with Toast can be found at
http://www.roxio.com/en/support/toa...stbootable.html.

Holding down the 'c' key while booting will cause the Mac to boot from an
internal CD-ROM drive. Alternatively, the "Startup Disk" control panel
will allow you to select a CD-ROM.

Under Mac OS X, you have to create an image from a running system.
"BootCD", from http://www.charlessoft.com/, will help you do this.

The rest of the section applies only to PCs, which are more challenging.


The BIOS or SCSI card on most newer machines support booting from
CD-ROM, but on many older machines (pre-2000) it's just not possible.
Phoenix (the BIOS developer) and IBM have created the El Torito standard
for booting discs. When the machine boots, if the BIOS detects a
bootable image on the CD-ROM, it maps that image onto the A: floppy drive.
(Depending on implementation, A: will move to B: and B: will go away.)
From that point onward, it works just like booting a floppy.

Not surprisingly, the way you create a bootable CD-ROM is to take an image
of a bootable floppy disk and write it in a specific way onto the CD.
Most current CD writing programs, e.g. Easy CD Creator and CDRWIN, will
do the hard work for you.

A very nice page with lots of technical and how-to information:
http://www.nu2.nu/bootcd/

If you like to do things the hard way, step-by-step procedures with
varying levels of detail can be found here:
http://www.ozemail.com/~rossstew/drs/bootcd.html
http://www.fadden.com/doc/bootcd.txt

When booting the PC, you may need to change the boot order in the BIOS from
the typical "A, C" to "A, SCSI, C", and configure the SCSI interface to
attempt to boot from CD. On some adapters, the boot-up SCSI bus scan may
take an extra second or two while the interface tries to determine if a
bootable CD-ROM is present.

Some programs insist that bootable CD-ROMs be written in plain ISO-9660
format, not Joliet. One way around this is to write the bootable portion
in the first session, and then write the rest of the data in a second
session. However, not all PCs will boot a multisession disc. A better
approach is to use a program like mkisofs (6-1-10) to create the image.

The El Torito standard allows CD-ROMs to have more than one bootable
image, but few applications support creating such images. You can use
mkisofs with the "-eltorito-alt-boot" option to do this.

If you're having trouble finding drivers for your CD-ROM drive, try the
Win98 boot disk, or http://www.drivershq.com/.


Subject: [3-16] How do I convert home movies into video on CD?
(2002/11/22)

This topic is largely outside the scope of this FAQ, so I'm not going to go
into much depth. The Usenet newsgroup news:rec.desktop.video is more
applicable. I'm not aware of an FAQ for that group, but the links found at
http://www.videoguys.com/jump.htm will get you started.

You need a capture device to transfer the video to your hard drive.
Capturing high-quality video can eat up 2MB or more per *second* of video
at full resolution (640x480x24 at 60 fields per second for NTSC) with a
reasonable degree of compression, so this isn't something to be undertaken
lightly. The lower your quality requirements, the lower the bandwidth
requirements. On a fast machine, you can even get away with just a TV
tuner card, using the software from http://www.winvcr.com/.

If MPEG is your only interest, you might be better off with an MPEG-only
card rather than a hobbyist video capture board. http://www.b-way.com/
and http://www.darvision.com/ are good places to look. The Broadway
card has been given high marks for quality.

Once you've captured the video, you'll probably want to edit it, at least
to clip out unwanted portions or add titles. Packages for doing this,
like Adobe Premiere and Ulead MediaStudio, are usually included with the
capture card. These will also let you adjust the resolution, color depth,
and compression quality to output the video so that it's suitable for
playback on double- or quad-speed CD-ROM drives.

You can convert AVI files to MPEG and vice-versa with a program from Ulead
(see http://www.ulead.com/), Xing Technologies, or several other vendors.
You should be able to create QuickTime or AVI movies using the compression
codec of your choice from the video editing software. A good choice is
TMPGEncoder, from http://www.tmpgenc.com/e_main.html.

Once created, you can write the AVI, MPEG, or MOV (QuickTime) file to a
CD-ROM like you would anything else. If you'd like to view the disc in a
DVD player or other VideoCD playback device, read the next section. Note
that not all DVD players are capable of reading CD-R media, so if VideoCD
on CD-R playback is important to you, check the DVD player feature set
before you buy.

Converting directly to DVD format is pretty reasonable now, with relatively
inexpensive DVD-R recorders and authoring software. Some Macintoshes ship
with iMovie/iDVD and a DVD recorder built in.

The MPV (MultiPhoto/Video) specification was announced in November 2002.
It's purpose is to define a standard way of storing pictures, videos,
and audio on digital media. This could eventually be the preferred way
to store movies on a disc. See http://www.osta.org/mpv/.


Subject: [3-16-1] How do I create a VideoCD from AVI or MPEG files?
(2004/09/05)

This section assumes you already have the video captured on the hard drive of
your computer. If you don't know how to do that, read the previous section.

The goal is to create a White Book VideoCD, which can be viewed on any
VideoCD-compatible playback device. Most PCs and Macs have some amount
of support, as do many DVD players, so even if you can't find a dedicated
VideoCD player or CD-i box you should be able to find a way to watch them.

VideoCDs can only be read by CD-ROM drives capable of reading CD-ROM/XA
discs. If your drive doesn't claim to support PhotoCD, you're probably out
of luck, but this is rare except on very old hardware. Microsoft's Windows
Media Player (formerly ActiveMovie) and Apple's Video Player can play
movies off of a VideoCD. Depending on the software you have installed,
you may get a player with a nice UI, or you may need to examine the disc
manually and open the ".dat" files in the "mpegav" directory. Depending on
the drivers you have installed, Linux systems may not be able to read the
files directly because they're actually separate data tracks.

If you were hoping to play your VideoCD on a DVD player, you should read
about VideoCD and CD-R/CD-RW compatibility with DVD players first. See
http://www.dvddemystified.com/dvdfaq.html#2.4.5 and section (2-13).

CD-R software packages like Easy CD Creator and Nero can write MPEG-1 movies
onto a CD in the necessary format. You have to be careful when creating the
MPEGs, because if the encoding parameters (frame rate, number of pixels,
etc) don't match the VideoCD parameters you may have trouble getting the
CD writing software to accept the movie.

You can include still frames from JPEG images as well. Most VideoCD
creation software provides a way to organize "assets"

John Schlichther's "avi2vcd" combines standard tools into an easy-to-use
program for Win95 and NT. You can use it to convert an AVI file into a
VideoCD-compatible stream. http://home.cogeco.ca/~avi2vcd/

Another choice is TMPGEncoder, from http://www.tmpgenc.com/e_main.html.

If you're running Linux you should take a look at Bernhard Schwall's
"avi2yuv" program. It converts M-JPEG movies created with popular video
capture boards into a format accepted by the Berkeley MPEG-1 and MPEG-2
encoders (ftp://bmrc.berkeley.edu/pub/mpeg/). The README for avi2yuv lists
the additional software packages (all of which are free and run under
Linux) needed for creating MPEG movies complete with sound. Most (all?) of
the utilities can also be built to run under DOS.
http://sunsite.unc.edu/pub/Linux/apps/graphics/convert/.

"iFilmEdit", from http://www.cinax.com/Products/ifilmedit.html, will
convert MPEG to VideoCD, and can reportedly convert a VideoCD .DAT file
back into a plain MPEG file.

"VCDGear", from http://www.vcdgear.com/, converts between .dat and .mpg.

http://www.vcdhelp.com/ has software and information.

The "VideoCD Cook Book" at http://www.flexion.org/video/VideoCD/0.html
is worth a look.

Easy CD Creator, as of v3.x, requires that an MPEG MCI driver be installed in
the system (unlike CD Creator, it doesn't come with Xing's MPEG software).
The popular VMPEG 1.7 doesn't quite work: ECDC can't see the audio, and
you're not allowed to select the frame to view when shuffling streams
around. If you have VMPEG installed as the MCI driver -- select "About
ECDC" from the Help menu to check -- you need to *remove* VMPEG and then
install ActiveMovie. (I removed under Win95 it by going into the Advanced
section of the Multimedia control panel, expanding "Media Control Devices",
selecting vmpegdll, and clicking on "Remove", but you may be able to use
Add/Remove Programs instead.) ECDC v3.x was very picky about the video
streams; v4.02 is much better.

Finally, you should be aware that MPEG playback is rather CPU intensive, and
it's possible to create movies that don't play very well on slower machines
(90MHz Pentium, 68K Macs) without hardware support. Machines built in 1997
or later shouldn't have trouble.


Subject: [3-16-2] How do I create an SVCD?
(2000/11/13)

First, read about creating a VCD in section (3-16-1).

Next, read http://www.uwasa.fi/~f76998/video/svcd/overview/.

The links near the end of the document point to some pages with SVCD
authoring instructions. Programs such as Nero Burning ROM (6-1-28) and
Enreach I-Author (6-1-61) are able to create such discs.


Subject: [3-16-3] How do I create an AVCD?
(2002/07/29)

Some discs have been produced that call themselves "AVCD", as in
audio-video CD. For example, Kylie Minogue's "Fever" CD was released
as a two-disc set in Asia. Disc one was the "Fever" audio CD, disc
two had four VideoCD video tracks and five bonus audio tracks.

If you put disc two into a CD player, you would hear nothing for track 1
(which holds the VideoCD filesystem) or tracks 2 through 5 (the video
data). If you fast-forwarded to track 6, you would hear music.

If you put disc two into a VideoCD player or compatible DVD player,
you would be treated to the first video track. By skipping forward
you could get to the later video tracks and eventually play the audio
tracks.

This makes perfect sense until you try to figure out how the same audio
track is being played on a CD player and on a VideoCD player. If you
try to create a VideoCD with extra audio tracks, the VideoCD player
will not find them.

The trick used by the AVCD publishers is to encode the audio tracks twice.
The songs are present both as Red Book CD audio tracks and as VideoCD
compressed audio. A directory called "CDDA" holds files with names like
"AUDIO06.DAT" that contain compressed audio. Unlike the video tracks,
these don't actually correspond to tracks on the disc.

To create such a disc, you would need VideoCD authoring software capable
of incorporating audio tracks. You could then record the VideoCD while
leaving the session open, and append the audio tracks using track-at-once
recording. Better results would be obtained by writing the video and audio
tracks with disc-at-once recording, but that might require a greater level
of VideoCD support than most recording applications currently provide.

See section (3-16-1) for more tips on VideoCD.


Subject: [3-17] How can I burn several copies of the same disc simultaneously?
(2003/07/08)

You can if you have several CD-R drives and the right software. Two
examples are CD Rep from Prassi Software (section (6-1-21)) and DiscJuggler
from Padus (section (6-1-27)). [The Prassi product appears to have been
discontinued.]

Both products are SCSI multiplexors. You use your existing CD writing
application (such as Easy-CD Pro 95) like you normally would, and the
program sends the same commands to each of the CD-R drives. There are a
number of limitations, notably that all devices must use the same command
set and may need to have the same firmware revision. There may also be
limits on the number of drives you can have attached at once.

DiscJuggler bills itself as "the professional CD Duplicator", CD Rep as
"the ultimate professional recording solution". If you're interested in
either of these, you should read the web pages for both, and compare the
features available.

There are several hardware-based solutions to this, including CD-R units
that support daisy-chaining, and control units that vary from the simple (a
handful of units wired together) to the complex (robotic arms to move discs
around). Most cost more than a Hyundai.

See http://www.cd-info.com/CDIC/Technol...uplication.html for an
overview of several different hardware solutions, or visit a vendor web
page like http://www.princetondiskette.com/.


Subject: [3-18] Can I make copies of copies?
(2002/12/09)

The following was part of an e-mail message from Jeff Arnold back in
mid-1997:

"I do not recommend making "copies of copies" with SNAPSHOT. The reason
this does not always work is because many CDROM readers do not perform
error correction of the data when doing raw sectors reads. As a result,
you end up with errors on the copy that may or may not be correctable.
When you make a second-generation copy of the same disc, you will make a
disc that has all of the errors of the first copy, plus all of the new
errors from the second reading of the disc. The cumulative errors from
multiple copies will result in a disc that is no longer readable."

This initially generated some confusion, so further explanation is needed.
The heart of the problem is the way that that the data is read from
the source device. When a program does "raw" sector reads, it gets the
entire 2352-byte block, which includes the CD-ROM error correction data
(ECC) for the sector. Instead of applying the ECC to the sector data,
many drives just hand back the entire block, including any errors that
couldn't be corrected by the first C1/C2 layer of error correction (see
section (2-17)). When the block is written to the CD-R, the uncorrected
errors are written along with it.

The problem can be avoided completely by using "cooked" reads and writes.
Rather than create an exact duplicate of the 2352-byte source sector, cooked
reads pull off the error-corrected 2048-byte sector. The CD recorder
regenerates the appropriate error correction when the data is written.

Some drives and some software will error-correct the 2048 bytes of CD-ROM
data read in "raw" mode. This limits the risk of generation loss to errors
introduced in the ECC bytes. If the software also regenerates the ECC,
it is effectively emulating "cooked" reads and writes in "raw" mode.

This begs the question, why not just use cooked writes all the time?
First of all, some older recorders (e.g. Philips CDD2000 and HP4020i)
didn't support cooked writes. (Some others will do cooked but can't do
raw, e.g. the Pinnacle RCD-5040.) Second, not all discs use 2048-byte
MODE-1 sectors. There is no true "cooked" mode for MODE-2 data tracks;
even a block length of 2336 is considered raw, so using cooked reads won't
prevent generation loss.

It is important to emphasize that the error correction included in the data
sector is a *second* layer of protection. A clean original disc may well
have no uncorrectable errors, and will yield an exact duplicate even when
copying in "raw" mode. After a few generations, though, the duplicates are
likely to suffer some generation loss.


The original version of this quote went on to comment that Plextor and Sony
CD-ROM drives were not recommended for making copies of copies. The reason
they were singled out is because they are the only drives that explicitly
warned about this problem in their programming manuals. It is possible
that *all* CD-ROM drives behave the same way. (In fact, it is arguably the
correct behavior... you want raw data, you get raw data.)

The final answer to this question is, you can safely make copies of copies,
so long as the disc is a MODE-1 CD-ROM and you're using "cooked" writes.
Copies made with "raw" writes may suffer generation loss because of
uncorrected errors.

Audio tracks don't have the second layer of ECC, and will be susceptible to
the same generation loss as data discs duplicated in "raw" mode. Some
drives may turn off some error-correcting features, such as dropped-sample
interpolation, during digital audio extraction, or may only use them when
extracting at 1x. If you want to find out what your drive is capable of,
try extracting the same track from a CD several times at different speeds,
then do a binary comparison on the results. PC owners can use the DOS "FC"
command to do this, as described in section (3-3).

It's worth noting that the C1/C2 error correction present on all types
of CDs is pretty good, so it is entirely possible to make multi-generation
copies with no errors whatsoever. The "cooked" approach for CD-ROMs just
happens to be safer.


Subject: [3-19] How can I compress or encrypt data on a CD-ROM?
(2003/01/13)

The easiest way is to use your favorite compression or encryption utility
and process the files before putting them on the CD. However, this isn't
transparent to the end user.

CRI-X3 enables programs like DoubleSpace to work on a CD. It's intended
for a publisher or for significant internal use, and the licensing is priced
accordingly. See http://www.cdrominc.com/. (Side note: the company filed
patent infringement suits against Traxdata and CeQuadrat in Sep 1998 for
distributing CD compression software. This might account for the dearth
of similar applications.)

A straightforward solution is to write all of the files onto the disc
as .ZIP files, and then use ZipMagic (formerly ZipFolders) to view the
contents. It can be found at http://www.ontrack.com/zipmagic/.

PGP at http://www.nai.com/ (was http://www.pgp.com) has some good
encryption software, but none of it seems directly applicable to software
distribution. PGPdisk, available for the Mac, might be useful but it isn't
clear whether it can be used to distribute CD-ROMs.

ScramDisk, from http://www.scramdisk.clara.net/, writes files into
encrypted "containers" on disk. It can be used with CD-ROMs, runs under
Win95 and Win98, is free, and even includes source code.

http://www.c-dilla.com/ had information on CD-Secure 2, which allowed
publishers to distribute network-licensed or "pay for the parts you
need" products, and CD-Compress 2, which provides a way to compress data
transparently on production CDs. The company is now part of Macrovision.

EnCrypt-CD encrypts the blocks as they are written to CD. It's a shareware
product, available from http://www.shareit.com/programs/102046.htm.

Encrypted Magic Folders from http://www.pc-magic.com/ claims to
transparently encrypt data as it's being used. Whether it would work from
a CD-ROM isn't stated.

http://cd-lock.com/ offers Blowfish encryption and scrambled filenames.
End users don't need to install software to decrypt the disks if they're
running Win2K or WinXP. (Appears to be related to pc-magic.com, above.)

You can install a cryptographic filesystem (called "CFS") under Linux; see
http://www.linuxdoc.org/HOWTO/Secur...O-6.html#ss6.10. Create a
crypto-fs, copy your data onto it, then use mkisofs with Rock Ridge
extensions enabled to create an ISO-9660 disc image of the encrypted data.
Burn the image to CD-ROM.

You may be able to use E4M, from http://www.e4m.net.

BestCrypt, from http://www.jetico.com/, lets you create encrypted virtual
volumes in a file that can be stored on CD-R media.

You can get PC Guardian's CD-ROM encryption from http://www.pcguardian.com/.

WinDefender, available from http://www.RTSecurity.com/products/windefender,
provides transparent CD-ROM encryption from Windows.

Dynamic-CD can encrypt and password-protect CD-ROMs. See
http://www.dynamic-cd.com/.


Subject: [3-20] Can I do backups onto CD-R?
(2001/09/26)

Yes. See section (6-7) for software.

Of course, it's not really necessary to use special software if you're just
backing up your data files. Most CD creation programs will allow you to
copy arbitrary files onto CD-ROM, and by using the Joliet standard or the
UDF filesystem you can preserve long filenames. Unfortunately, if you're
not using packet writing, the individual files may show up as read-only
under DOS and Windows, so write permission must be re-enabled by hand when
the files are restored. With packet writing applications like DirectCD
or PacketCD, the correct file permissions are maintained.

(See section (3-57) for instructions on clearing the read-only flag.)

One thing to be careful of on Windows-based PCs: most programs that put
files on CD don't preserve the *short* file names that are automatically
generated for files with long file names. This presents a problem because
the short form is often stored in the Registry and INI files instead of the
long form (try searching your Registry for "~1"). When your system is
restored, it may not be able to find the files anymore.

A way to work around this is to use a backup program that understands only
the short filenames, and save the long ones with LFNBK. A program called
DOSLFNBK at http://www8.pair.com/dmurdoch/programs/doslfnbk.htm may be more
convenient than LFNBK.


Is CD-R better than, say, DDS-3 tapes? Maybe. Tape formats like DDS and DLT
hold considerably more than a CD-R, but because the drives are streaming
rather than random access, recovery of a specific file can be slower.
For backing up a large system or network, tapes are more convenient.
For making backups of a small system, especially one where access to older
versions of files is frequently desired, CD-R is the better choice.

Some people prefer CD-RW. For daily incrementals, CD-RW makes sense. For
weekly or monthly full backups, you probably want to retain the discs in
case file corruption or deletion goes unnoticed for some time.

The longevity of magnetic tape is well understood (around 15 years for
most formats). The longevity of CD-R is a little harder to quantify.
See section (7-5) for details.


Subject: [3-21] How do I automatically launch something? Change the CD icon?
(2002/10/15)

This can get surprisingly involved on a PC. The next few sub-sections
go into detail. For a Mac, the answers are pretty simple:

You can use the Macintosh equivalent of Autorun (QuickTime 2.0 Autostart)
to automatically launch an application or document on the Mac. The
"-auto" flag of mkhybrid (6-1-32) lets you specify this.

Changing the icon on the Mac can be done by using Toast to record a disc
image (record by "Volume" instead of "Files and Folders"). Change the icon
on the disc image file from the Command-I window in the Finder, then record
it.


Subject: [3-21-1] How does Windows "autorun" work?
(2002/10/15)

The "autorun" feature of Windows 95 and later allows a program to be executed
right after a CD-ROM is inserted. For this to work, the system must have
autorun enabled, and Auto Insert Notification ("AIN") must be turned on
for the CD-ROM drive. See section (4-1-1) for more information on AIN and
the use of "TweakUI" to modify settings. It may also be necessary, in some
configurations, to close the last session on the disc, or AIN will not work.

When preparing a CD-ROM for Windows, put a text file called "autorun.inf"
in the root directory that contains something like this:

[autorun]
open=filename.exe
icon=someicon.ico

When inserted, the CD-ROM will be shown in the "My Computer" window with
the specified icon. If the disc is inserted on a system with AIN and
autorun enabled, the program named on the "open" line will be launched.

Icons must be in Windows icon or bitmap format. You can't use a GIF
or JPEG. Make it square, 32x32 pixels. If you're going to be doing
a lot of these, you may want to try Axialis "IconWorkshop", from
http://www.axialis.com/axicons/.

There doesn't appear to be a way to specify custom icons for individual
folders.

Incidentally, the "root" directory is the top level of the disc, e.g. "D:\".
(If you viewed a directory hierarchy as a tree growing upward, the topmost
directory would be at the root of the tree.)

Here's a more complicated example:

[autorun]
open = setup.exe /i
icon = setup.exe, 1
shell\configure = &Configure...
shell\configure\command = setup.exe /c
shell\install = &Install...
shell\install\command = setup.exe /i
shell\readme = &Read Me
shell\readme\command = notepad help\readme.txt
shell\help = &Help
shell\help\command = winhlp32 help\helpfile.hlp

Taking it line by line, this says:
- The default AutoRun command will be "setup /i"
- The icon for the CD will be icon #1 embedded in setup.exe

- Four commands will be added to the right-click pop-up menu:
'Configure...',
which will run "setup /c"
'Install...',
which will run "setup /i" (same as auto-run in this case)
'Read Me',
which launches notepad.exe to display "help\readme.txt"
'Help',
which displays the file "help\helpfile.hlp" with the Win95 help facility

You can test the autorun features of a disc without recording one. If you
SUBST a folder onto a drive letter, the autorun feature will scan the new
drive. For example, from a DOS prompt, enter "SUBST J: \goodies\NewCD".
This technique is also useful for testing out a CD-ROM you're preparing.

If you'd rather not have to deal with all this, try one of the applications
listed in section (3-21-3).


Subject: [3-21-2] How do I launch a document (like a web page)?
(2002/10/15)

In the past it was recommended to use the "start" command, e.g. "open=start
index.htm". However, "start.exe" doesn't exist in the Windows NT family
(NT4, 2000, XP).

You can launch documents with Windows Explorer on any version of Windows,
like this:

[autorun]
open=explorer.exe index.htm

However, it appears to ignore your browser settings. So, even if you've
chosen to make Netscape or Opera your web browser, it will still open the
HTML file with Internet Explorer.

An alternative to "start", called "shellout", is available from the "files"
section on http://www.mrichter.com/. This is a trivial launcher that
you copy onto a disc and use like this:

[autorun]
open=shellout index.htm

It appears to avoid the above problems, is only 20K, and is free.

For more information on autorun:

http://www.microsoft.com/msj/0499/win32/win320499.aspx

Instructions for making a VideoCD autoplay under Windows can be found at
http://navasgrp.home.att.net/tech/autoplay_vcd.htm.


Subject: [3-21-3] What autorun software is available?
(2006/05/01)

Some simple, configurable autorun applications (launchers and menus) are
available, most as shareware:

http://www.autorunarchitect.com/
http://cloanto.com/menubox/
http://www.indigorose.com/
http://www.pollensoftware.com/autorun/
http://www.phdcc.com/shellrun/
http://www.mediachance.com/
http://www.trah.co.uk/starterfile/
http://www.timeless.co.zw/software.cfm


Subject: [3-22] How can I be sure the data was written correctly?
(2002/12/10)

The easiest way is to compare the original with the copy. Some programs,
such as recent versions of Nero, will automatically compare the disc
contents with the original files. You can also use something like CD-R
Verifier from http://www.cdrom-prod.com/cd-r_verifier.html or CDCchedk
from http://Fusion.zejn.si/ to check the contents of an entire CD-ROM easily.

Another way is to do a recursive file-by-file comparison. Programs that
compute CRCs on files and then compare them (often used for virus-checking)
will work.

One way to do this is with use the UNIX "diff" utility, which is
available for Windows (along with many other similar utilities) from
http://www.reedkotler.com/. If you had copied the contents of C:\MyData
onto a CD-R at E:\, you would use:

diff -q -r C:\MyData E:

The "-q" flag tells it to report if the files differ, but not show what
the differences are, and the "-r" flag says to descend into directories
recursively.

There are many other options. A utility called "treediff", available
from the Simtel archives (http://www.simtel.com/), may be helpful.
http://www.funduc.com/directory_toolkit.htm has a shareware program with
some relevant features. http://www.araxis.com/ has an evaluation copy
of PMdiff, available for Windows and native OS/2. You can get "FileSync"
from http://www.fileware.co.uk/.

You can also use Microsoft's WinDiff, which -- unlike some of the
programs mentioned earlier -- understands long filenames. It can be
found on Microsoft's recent operating system discs, e.g. on Win98 it
lives in \tools\reskit\file\windiff.exe. It used to be available for
download from ftp.microsoft.com, but they rearrange that site frequently,
so there's not much point in including a URL.

An alternative to windiff is xdiff, from http://www.wookie.demon.co.uk/xdiff/.

Rocksoft Pty has a product called Veracity (http://www.veracity.com/) that
can check the integrity of a directory tree.

Visit http://www.fuw.edu.pl/~jt/cdvfy/ for some shell scripts that will
compute MD5 checksums on a tree. Under Windows, try Advanced CheckSum
Verifier from http://www.irnis.net/ for MD5 and CRC32, or md5summer
from http://www.md5summer.org/.

If you *really* want to verify your discs, try http://www.audiodev.com/.


Subject: [3-23] How do I create, copy, or play Audio Karaoke/CD+G discs?
(2006/02/26)

For creating and (in most cases) playing Karaoke and CD+G:

- Power CD+G Player, Power CD+G Burner, PowerKaraoke - section (6-1-74)
- CD+G Creator - section (6-1-52)
- DART Karaoke Studio - http://www.dartpro.com/products/DARTKarStudioCDGV1.asp
- Karaoke Builder - http://www.karaokebuilder.com/
- Some fancy stuff - http://www.mtu.com/

For copying them (some software can do individual tracks):

- CDRWIN - section (6-1-7)
- CloneCD - section (6-1-49)

To copy a disc, your reader and writer should ideally support "RAW DAO-96"
mode. The CD+G data is stored in the R-W subcode channels (section (2-6)),
which not all drives are able to read and/or write.

You can check the support pages for some CD recording software
(e.g. CloneCD) for a list of recorders that support "raw" reads and writes.
Most CD-ROM drives and CD recorders built in 2004 or later will fully
support CD+G.


Subject: [3-24] How do I copy a CD-ROM with 3GB of data on it? A huge VideoCD?
(2004/11/12)

You don't. The CD-ROM doesn't actually have that much data on it.

Some CD publishers use a trick where they reference the same spot on the
disc several times with overlapping files. This is common on software
installation discs with support for multiple languages. A separate
install directory, with a full set of files, is created for each language.
Any common files, such as installation routines or language-independent
code, are written to the disc once and shared by all. If there are ten
directories, and each points to a 50K shared file, it will appear that 500K
is in use. If you try to do a file-by-file copy from the disc onto your
hard drive, you'll end up with several copies of the same file, and more
data than can fit on a CD-ROM. (UNIX users can think of these files as
"hard links".)

Support for creating such a disc is uncommon.

VideoCDs often appear to have individual files that are 700MB or more.
In this case, they really *are* that big. They're written on separate
tracks in a special format (CD-ROM/XA Mode-2 Form-2) that drops error
correction in favor of more space. This works fine for video data, but
is definitely not recommended for ordinary data. Copying the files may
not work on some systems (e.g. you can open the files from Windows but
may not be able to from Linux).

If you want to duplicate a CD-ROM, you should use the "copy CD" feature of
your recording software. Some software is more capable of dealing with
complex CDs than others, so if you have a particular kind of CD in mind
(such as VideoCD) you should check the capabilities of the software before
making a purchase.


Subject: [3-25] How do I get my CD-R pressed into a real CD?
(2000/04/11)

There are a large number of companies that will do modest production
runs of pressed CDs, but listing them is beyond the scope of this FAQ.

Do a web search on "CD duplication" and "CD replication", or check out
http://www.cd-webstore.com/BurningIssues.html (a licensed-access web
site from the www.cd-info.com folks).

Sometimes a disc submitted for duplication will be rejected due to E32
(uncorrectable) errors. If you have a disc rejected, make sure you are using
disc-at-once recording mode -- the gaps left between tracks by track-at-once
mode are sometimes interpreted as errors. If the problems persist, try
changing to a different kind of media, or even a different recorder.


Subject: [3-26] How do I make a CD without that two-second gap between tracks?
(2000/03/10)

Most CD recorders are capable of doing this, given the right software. The
key is to use disc-at-once recording instead of track-at-once.

Some programs give you a great deal of control. Golden Hawk's CDRWIN
(6-1-7) will let you specify the gap size for each track, down to zero, and
set the location of the track and index marks. You can put each track in a
separate file or have the entire recording in a single file. Other
programs, like ECDC (6-1-26), are easier to use but less flexible.

You will almost certainly need to use disc-at-once recording. Most drives
insist on inserting a two-second gap between tracks when track-at-once
recording is used, and those that don't will at best leave an instant of
silence between tracks. You can eliminate the gaps from a TAO recording by
putting the entire CD into one track, but then you lose the ability to seek
immediately to the start of a song.

Most PC and Mac software support both TAO and DAO recording modes. It's
prudent to check the web pages before you buy.

If you want to break up a long recording into several WAV files (one per
track), it's important to split tracks on precise 2352-byte boundaries.
If you don't, you'll get tiny periods of silence or noise, lasting less
than 1/75th of a second, that may be clearly audible depending on the
context. A handy Windows utility called "CD Wave" (section (6-2-16))
is good at splitting large WAV files into smaller ones, and can do so on
block boundaries.

If you want to mix WAV tracks together, take a look at Multiquence,
http://www.goldwave.com/multiquence/index.html. A simpler merge utility
is "wavmerge", from http://www.mrichter.com/cdr/files/files.htm.


Subject: [3-27] How can I record RealAudio (.ra), MIDI, WMA, and MP3 on a CD?
(2001/01/22)

Most CD players can only handle uncompressed audio in "Red Book" format.
Some newer player, such as the AIWA CDC-MP3 and Philips Expanium, can play
MP3 files from a CD-ROM. Such discs should be written in ISO-9660 with
8+3 filenames, and ought to use 128Kbps and "plain" stereo for broadest
compatibility. The documentation for the I-Jam (http://www.ijamworld.com/)
recommends putting no more than 50 MP3 files in a directory.

If you don't have such a player, though, you need to write a standard
"Red Book" audio CD. The first step is to convert from whatever format
the sound is in to WAV or AIFF. In some cases (e.g. MP3), many of the
popular CD recording programs will do the conversion for you. If not, you
will need to convert it to 44.1KHz 16-bit stereo PCM format. Once it's
in WAV or (on the Mac) AIFF format, you can record it as you would audio
taken from other CDs. Be sure to play it back once after you convert it
to make sure that it came out okay.

For a tutorial on converting CD-DA to MP3 and vice-versa, see
http://www.cdpage.com/Compact_Disc_...torial/mp3.html. The
newsgroup FAQ for alt.binaries.sounds.mp3.* at http://www.mp3-faq.org/
is also useful.

WMA is Windows Media Audio, part of Microsoft's attempt to create an
architecture for "Digital Rights Management" protected media. A WMA
player isn't supposed to let you hear any music you don't have the right
to play. If you want to record it to CD, and the player won't let you
do the conversion to WAV, you can still use a general-purpose sound
recorder like Total Recorder to do the job.

There may or may not be a converter for the format you're interested in.
Here are some links to try:

MIDI
- http://www.advicom.net/~diac/mr-home.html (MIDI Renderer)
- http://www.polyhedric.com/software/ (MIDInight Express)
- http://home.att.net/~audiocompositor/ (Audio Compositor)
- http://www.dartpro.com/ (DART CD-Recorder)

MPEG audio (a/k/a MP2 and MP3)
- http://www.mpeg.org/~tristan/MPEG/mp3.html (various)
- http://www.winamp.com/ (Winamp)
- (Feurio, WinOnCD, Nero, and perhaps others will record from MP3 on the fly)

RealAudio
- http://www.realaudio.com/ (Real Jukebox Plus)

General (sound driver that writes to disk -- works for anything you can play)
- http://www.HighCriteria.com/ (Total Recorder)

You can't write MPEG, AC3, or other compressed audio formats to a CD-DA
disc and expect to play it back in your car stereo. CD players only
understand uncompressed PCM audio.

See http://www.howstuffworks.com/mp3.htm for an intro to MP3 technology.
The site at http://privatewww.essex.ac.uk/~djmrob/mp3decoders/ has
comparisons of various MP3 players.

http://www.sonicspot.com/multimediaconverters.html has a collection of
converters for different formats.

If you *really* want to be able to play MP3-compressed songs while driving
down the freeway, check out http://utter.chaos.org.uk/~altman/mp3mobile/
(or the commercial counterpart at http://www.empeg.com/).


Subject: [3-28] How do I add CD-Text information?
(2002/10/15)

CD-Text is a standard that allows disc and track information to be embedded
on an audio CD. The data can be read by some CD players, providing a way
to have disc information available without having to enter it manually or
look it up in a database.

Adding CD-Text to the discs you record requires a compatible recorder and
capable software. Support was scarce in mid-1999, but is more common now.

The currently available software supports writing of album title, artist
names, and track titles, and can copy discs with CD-Text data already on
them. Storing lyrics within the tracks is possible but not widely
supported.

Not all CD players and CD-ROM drives can read CD-Text. If this feature is
important to you, check the specifications before you buy. Some programs,
notably Windows Media Player, claim to read CD-Text but will actually use
an Internet database instead.

Some MD recorders have a feature that lets you copy the CD-Text info
from audio CDs (e.g. "Joint Text"), but it appears that some CDs prohibit
the copying. The result is the message "Text Protected".

The site http://www.ncf.carleton.ca/~aa571/cdtext.htm has some additional
details.


Subject: [3-29] Can I distribute a web site on a CD-ROM?
(2003/07/08)

You need to include the content and a browser on the CD. Some products that
might be helpful are:

PHD Computer Consultants - Dynamic CD (run dynamic ASP sites from CD):
http://www.dynamic-cd.com/

Softword Technology - Browse and View:
http://www.pc-shareware.com/browser.htm

Faico - NavRoad
http://www.offlinebrowser.com/ or http://www.faico.com/

Verity - Publisher
http://www.verity.com/

See http://www.phdcc.com/helpindex/cdroms.html for some suggestions on
putting web pages on CD-ROM. See http://www.spy-cd.com/ for a Java-based
CD search engine.

See http://www.microsoftfrontpage.com/c...p_to_cdrom.html
for an article about creating HTML CDs using FrontPage 2002.

If it doesn't need to be in HTML format, the full Adobe Acrobat writer
can reportedly convert an entire web site into a PDF document.

Incidentally, if you burn the disc with plain ISO-9660, you don't have
to worry about the upper-case filenames conflicting with lower-case names
in URLs. The filesystem code on Windows, Mac, and UNIX converts the names
to upper case before comparing them. This may not hold for other formats,
e.g. Rock Ridge.


Subject: [3-30] How do I clean my CD recorder?
(2003/06/04)

In general, you shouldn't. Generally speaking, the only reason you'd need
to clean a recorder or (for that matter) a CD-ROM drive is if you went and
stuck your finger on the lens. Cleaning kits and well-intentioned Q-tips
are unnecessary and potentially dangerous. If you push too hard on the
lens while cleaning and damage the mounting, it will no longer matter how
clean it is.

Some people report drives coming back to life after a careful cleaning,
so there may be some value in doing so. If your drive has become
increasingly flaky over time, cleaning it may help.

[ Personal note: I've never had to clean a lens in *any* CD player,
including a flip-up top-loading boom box that I've had since mid-1990.
I can *see* the dust inside, and I can see the lens, but it has no problem
playing discs. I can't imagine how a recorder that's only a year or two
old is going to collect enough dust to fail, unless you play a lot of
really crusty discs. ]

If you have an overwhelming desire to clear loose dust out of your recorder,
and can't or don't want to send it to a service center, use gentle(!)
bursts of compressed air (like that used to clean camera lenses). The idea
is to knock any dust loose without knocking the lens free of its mounting.
A more vigorous approach is to use a Q-tip and 99% isopropyl alcohol
(a/k/a isopropanol or IPA), but this should only be used if the previous
approach fails. If you can only find 70% "rubbing alcohol", try to find
99% methyl alcohol (a/k/a methyl-hydrate or methanol), which is widely
recommended for cleaning magnetic tape heads. It can usually be found in
paint or automotive stores as shellac thinner or windshield antifreeze.

The Repair FAQ at http://www.repairfaq.org/ has a section about CD-ROM
drives that seems relevant. Find the "Compact Disc Players and CDROM Drives"
section, and skip down to part 4. One relevant quote, from section 4.3,
regarding "cleaning discs":

"I generally don't consider CD lens cleaning discs to be of much value
for preventive maintenance since they may just move the crud around.
However, for pure non-greasy dust (no tobacco smoke and no cooking
grease), they probably do not hurt and may do a good enough job to put
off a proper cleaning for a while longer. However, since there are
absolutely no sorts of standards for these things, it is possible for a
really poorly designed cleaning disc to damage the lens. In addition,
if it doesn't look like a CD to the optical pickup or disc-in sensor,
the lens cleaning disc may not even spin. So, the drawer closes, the
drawer opens, and NOTHING has been accomplished!"


Subject: [3-31] Is it better to record at slower speeds?
(2003/01/13)

It depends on your recorder, media, and who you talk to. For example,
some informal testing with the venerable Yamaha CDR-100 determined
that it worked best at 4x speed with media certified for 4x writes.
1x worked almost as well, but 2x would occasionally produce discs with
unrecoverable errors.

With audio CDs, the results are more subjective. Some people have asserted
that you should always write at 1x, others have stated that 2x may actually
be better. It depends on the recorder, media, player, and your ears. Try
it both ways and listen. See section (4-18) for some notes on how you can
write the same set of bits to two CDs and still have audible differences.

CD-R media is written by heating up tiny sections of the disc. When the
disc spins faster, the laser has less time to shine on a particular spot,
so the laser has to be controlled differently. Different formulations of
media may require a different "write strategy" at certain speeds, and each
recorder may adjust its write strategy differently to accommodate those
speeds. This can potentially result in combinations of recorder and media
that work perfectly at one speed but fail miserably at another.

Put simply, there's more to writing at high speed than just spinning faster.
It's entirely possible that writing slowly to "high-speed" media will
produce significantly worse results than writing to it quickly.

There is no One True Answer to this question. Do what works best for
what you have. Some experimentation may be required.

See "The Speed of Sound: How Safe is High-Speed CD-Audio Recording?" at
http://www.emedialive.com/EM2000/starrett5.html, for a very thorough
analysis of audio disc quality at several different speeds. With some
recorders and some media, it's actually better to write faster -- but in
none of the tests performed did the error rate get anywhere near danger
levels, regardless of speed.

See the graphs in the article "Glenn Meadows' CDR Tests" at
http://www.digido.com/ for an examination of BLER (BLock Error Rate) with
different recorders, different media, and different recording speeds.
A few of the graphs show the same recorder and same media at different
speeds, and in some cases the BLER increased at higher speeds, while in
others it decreased.

There is some cause to believe that recording at higher speeds can result
in increasing "jitter". This doesn't cause any difference in BLER or in
the extracted audio, but is audible during playback. See section (2-41).

See http://www.cd-info.com/CDIC/History...er/stcroix.html for
commentary about "write strategy" selection and different media types.


Subject: [3-32] Where do I get drivers for my CD recorder?
(1998/04/06)

In general, you don't need them. Software that burns CD-Rs has the
necessary drivers built in.

If you want to use certain older recorders as CD-ROM drives, you may need
drivers for them. See section (5-8).


Subject: [3-33] Can I copy discs without breaking the law?
(2001/01/06)

This varies significantly from country to country. Information for USA
and Canada follows. Most nations have some form of copyright protection
that restricts duplication.


Subject: [3-33-1] ...in the United States of America?
(2006/02/27)

You are allowed to make an archival backup of software, but the same
doesn't necessarily hold true for music. The Home Rights Recording Act
will allow you to duplicate music under certain circumstances.

A discussion of the topic, including details on past and pending
legislation, can be found on the Home Recording Rights Coalition web site
at http://www.hrrc.org/. The text of the Home Rights Recording Act can
also be found here.

The Recording Industry Association of America, which represents the music
industry, has a web site at http://www.riaa.com/.

An article entitled, "Copying Music to CD: The Right, the Wrong, and the
Law" was at http://www.emediapro.com/EM1998/starrett2.html. It can still
be found through the web archive here:
http://web.archive.org/web/20040224.../starrett2.html

http://www.brouhaha.com/~eric/bad_laws/dat_tax.html has some relevant
information and pointers.

http://www.bmi.com/ and http://www.ascap.com/ have yet more perspectives
on legislation.


Subject: [3-33-2] ...in Canada?
(2006/02/27)

Rules for copying software resemble those in the USA.

The rules for music are more lenient. Because of the media tax imposed
by the Canadian government (see section (7-13)), you are allowed to copy
any music for your own personal use. This means that you can go over to
a friend's house and copy any number of discs you like, so long as they
are for your own use. You are not allowed to make copies of music and
then give them to others.

See http://www.cb-cda.gc.ca/decisions/copying%2De.html, notably "Tariff
of levies to be collected by CPCC in 1999 and 2000 for the sale of blank
audio recording media in Canada" (PDF in both English and French).

http://techcentralstation.com/081803C.html points out that downloading MP3
files from P2P networks (e.g. the original Napster) is legal in Canada.
(The article actually claims that sharing is entirely legal, but by the
terms of the law downloading is legal and uploading is not.)

The levy also applies to audio cassettes, removable memory cards, and
hard drives embedded in digital audio products.


Subject: [3-34] Can CD-Rs recorded at 2x be read faster than 2x?
(1999/09/22)

Of course.

The only possible basis in fact for the, "if it was recorded at 2x, you
can't read it faster than 2x" rumors is that some drives have trouble
reading CD-R media. Discs that are hard to read when spinning at 12x may
become easier to read when spinning at 4x. It has also been noted that
some recorders will write more legible discs at certain speeds (e.g. the
Yamaha CDR-100, which works better at 1x or 4x than it does at 2x). None
of this should lead anyone to conclude, however, that the write speed and
read speed are tied directly together. The reader, writer, and media all
have a role in determining how quickly a CD-R can spin and be readable.

It's also the case that discs written at high speed (say 8x) can be read by
drives *slower* than 8x. So if you're distributing discs to people with
old 4x CD-ROM drives, you don't have to worry about them not being able to
read at 8x. Of course, if the CD-ROM is poorly constructed, or the writer
is producing marginal discs at high speeds, you might see evidence to the
contrary, but there is no technical barrier to reading discs recorded at
8x or 12x on a slower drive.


Subject: [3-35] How do I make my CD-ROM work on the Mac, WinNT, and UNIX?
(2006/02/20)

This can be tricky because of issues with long filenames and file
attributes. Mac CD-ROMs are sometimes burned with an HFS or HFS Plus
filesystem, not ISO-9660, and WinNT uses a different scheme for long
filenames (Joliet) than UNIX does (Rock Ridge). Some variants of UNIX will
recognize the Joliet names, but Windows doesn't understand Rock Ridge.
You might be able to use an HFS CD-ROM on a platform other than the Mac,
but if you're distributing software, it's not wise to assume that your
customers will be able to do the same.

The easiest way to create a disc that will work on all platforms is to use
plain level 1 ISO-9660, with 8+3 filenames and no special file attributes.
If you need to include Mac applications as well as data -- or pretty much
anything with a resource fork -- this simple approach won't work. Also,
some older versions of Mac OS and HP/UX might not work as expected unless
you record the disk without the usually-invisible version number (";1").

There is an Apple-defined extension to ISO-9660 that allows the Mac file
and creator types to be present on an ISO-9660 filesystem (see (3-5-3) for
a URL to an Apple tech note with implementation details). This allows most
of the features of the Mac filesystem on an otherwise plain ISO-9660 disc.
It's not clear how many of the software products in section (6-1) take
advantage of this, but "mkisofs" (section (6-1-10), now includes the older
"mkhybrid") can create an ISO-9660 disc with Joliet, Rock Ridge, and HFS
extensions all on the same disc.

A common way to construct a disc for the Mac and PC is as a "hybrid" disc
that has both an ISO-9660 filesystem and an HFS filesystem. To save space,
the data itself is shared by both sections of the disc. This is possible
because the ISO-9660 directory entries use an absolute block offset on the
disc, so they can point at data residing in the HFS filesystem.

There are various applications that will do HFS/ISO-9660 hybrids. The most
easily accessible to Macintosh owners is the Mac OS X Finder. Roxio's Toast
for the Mac and "mkhybrid" for the PC are other examples. Search for
"hybrid" in the list of software in section (6-1) for more examples.

The issue of Joliet vs. Rock Ridge can also be solved, by including both
kinds of extensions on the same disc. Using "mkisofs", you can even have
files appear in only one format and rename files on the fly, allowing you
to have a "readme.txt" with different contents for Mac, UNIX, and Windows.


Subject: [3-36] How do I put "hidden tracks" and negative indices on audio CDs?
(2001/06/26)

With a little searching you can find an audio CD that will cause your CD
player to show a negative track time when one track finishes and the next
begins. The negative sections are usually filled with silence, but some
rare discs will have material in them. If you seek directly to the track,
you don't see (or hear) the negative-time section.

The trick here is also described in section (3-14). You can specify the
start position of an audio track anywhere within the track. The start
position is at time index 00:00 (in minutes and seconds, MM:SS), so the
music before the start point is usually displayed with negative time values.
When you seek directly to a track, the player jumps to time index 00:00, but
when you play through from a previous track you hear the entire track.

When using CDRWIN-style cue sheets, the actual start of the track is at
"index 00", and the place where the player seeks to is "index 01". The
distance between the indices is called the pre-gap. The Red Book standard
requires that index 01 in track 01 be at least two seconds (150 sectors)
from the start of the CD.

You can specify additional index markers, but most CD players will simply
ignore them. Some CD-ROM games have tried to use the index markers as a
form of copy protection, because they won't get copied automatically by
many programs.


If you want to create your own discs with "hidden tracks", you need a program
that gives you full control over where the index markers go (CDRWIN is one
such program). Combine two (or more) tracks with an audio editor into a
single file. Specify the file as a single track in the cue sheet, set
"index 00" to time zero, and set "index 01" to a point right after the
"hidden" song finishes. There are other ways to approach this, but this
is probably the most straightforward.

It should be mentioned that the only truly "hidden" track is in track 1.
Most CD players will play the entire disc, from index 01 on track 1,
straight through to the end, so any tracks you try to "hide" in the
middle of the disc are simply difficult to seek to. The only way to play
audio tucked into the pre-gap in track 1 on most players is to hold down
the rewind button.

For more information about unusual audio CDs, see "CD Oddities" at
http://desolationvalley.com/wj/oddcd/index.shtml.


Subject: [3-37] Do I need to worry about viruses?
(1998/09/11)

Absolutely. Infected CD-ROMs are every bit as nasty as infected floppies,
if not worse: you can't disinfect the source media. It is prudent to
scan your files before creating a CD-ROM for distribution, and it's not
a bad idea to scan the CD-ROM afterward (in case somebody has cleverly
infected your CD writing software).

The dangers of boot sector viruses on bootable CD-ROMs are probably low.
Because the boot sector is created directly by the recording software, and
can't be modified after it has been written, the opportunity for infection
is small.


Subject: [3-38] How do I cover up a bad audio track on a CD-R?
(1998/09/11)

You don't. With a CD-ROM you could use multisession writes to hide
unwanted data, but you can't create multisession audio CDs. (Well, you can
create them, but nothing outside of a CD-ROM drive will be able to play the
tracks outside the first session.)

On CD-RW media, it might be possible to overwrite an individual track. You
would need software that supported this capability. Erasing the disc and
starting over is probably easier.


Subject: [3-39] How do I duplicate this hard-to-copy game?
(2001/12/18)

Requests for information on how to copy recent games occasionally sprout
up on the newsgroups. Generally the publisher has employed some form
of copy protection that prevents the disc from being duplicated easily.
If you try to play the game from the duplicate, the game will usually act
as if the CD-ROM weren't present and tell you to insert it.

Most publishers are well aware that there is no such thing as an
unbreakable copy protection scheme. It is possible though to implement
a method effective enough to slow the tide. If you don't believe that,
start counting posts the next time a popular game with decent protection
is released. See section (2-4) for some technical details, and section
(3-42) for a discussion of why you can't write a general-purpose disc
copier that works for everything.

If you're looking for information, the most appropriate places to search
are "warez" newsgroups and web sites. Searching the net for tips is a good
way to get started. Be forewarned that any "cracks" you download may very
well also be viruses, and that if you give away or accept a copy of the
disc from someone else you are probably breaking the law.

Aiding and abetting the illegal distribution of copyrighted works is
not part of this document's charter. There are plenty of newsgroups
and web sites devoted to the subject, so please don't waste bandwidth
in "legitimate" forums asking for cracks. A search engine such as
http://www.google.com/ will turn up many sites with such information.

Incidentally, the government of the USA and several other countries are
starting to crack down on illegal trading of software and digital video.
See http://www.usdoj.gov/opa/pr/2001/De.../01_crm_643.htm for a press
release on a December 11 2001 crackdown.


Subject: [3-40] Should I erase or format a disc? How?
(2001/03/18)

First and foremost: you do not need to format a disc unless you're using a
packet writing program like DirectCD. If you're running a program to create
a CD, chances are good that you don't need to format it. If you're using
"drive letter access", i.e. treating the CD-R or CD-RW like a big floppy
disk, then you do need to format it.

Simple rule of thumb: don't format it. Most software that needs a formatted
disc will format it for you as needed.

Formatting and erasing are different things. Formatting prepares a disc
for recording. On a CD-R it writes a few basic things, on CD-RW it may
write to most of the disc. The fixed-packet formatting that DirectCD does
for CD-RW discs takes about 50 minutes on a 2x-speed rewritable drive.

Erasing, which can only be done to CD-RW media, restores the disc to a
pristine state. If you want to erase a disc, use the software that came
with your CD-ReWritable drive. Somewhere in the army of applications and
mountain of menus is the command you're looking for.

The difference between "erase" and "quick erase" is that the former erases
the entire disc, while the latter just stomps on the Table of Contents
(TOC). It's like erasing the directory off of a floppy disk. The file
data is still there, but since there's nothing pointing to it, the disc
appears empty. (Some people have asked if it's possible to recover data
from a quick-erased disc. Acodisc can do this; see section (4-35).)

The difference between "format" and "fast format" (such as is offered on
the HP8100/Sony CRX100) is of a different nature. Both format the entire
disc, and both operate at the same speed, but the "fast" format allows you
to use the drive before formatting has completed. After a few minutes, you
are allowed to access the drive while the formatting process continues in
the background.

Incidentally, most conventional (pre-mastering) software will refuse to record
on a disc that has been formatted for packet writing. In some cases the
error message may be a confusing remark that insists the disc isn't writable.


Subject: [3-41] How do I equalize the volume for tracks from different sources?
(2003/08/01)

A common problem when creating an audio CD compiled from many different
sources is that the sound is at different volume levels. This can be
slight or, after you've cranked up the volume to hear the first track, very
much the opposite of slight.

There are actually two issues that determine how loud the music sounds.
The first is the signal amplitude. Put simply, if you open a WAV file,
this is how close to maximum the squiggly line gets. You can adjust the WAV
file so that the highest amplitude is at maximum with the "normalize peak"
function of a sound editor. Some programs, such as Roxio's Spin Doctor,
may even do this for you automatically.

The second major issue is the dynamic range compression. This differs
from data rate compression in that it doesn't make the WAV file smaller.
Instead, it can make the quiet parts louder and the loud parts quieter.

A CD-DA has a dynamic range of about 96dB. If a symphony is recorded with
a range of more than 110dB, it has to be compressed to fit on a CD-DA.
In practice, you don't want whispers to be inaudible and shouts to be
deafening, so the audio is often squeezed into an even narrower range.
Radio stations often compress their broadcasts "up" so that music can be
heard more clearly by listeners in cars or work environments.

(According to Ken Pohlmann's _Principles of Digital Audio_, 4th edition,
page 35, ideal 16-bit quantization of a sinusoidal waveform is 6.02n+1.76
decibels, or 98.08dB. Using "dithering" techniques, it's possible to
extend the effective resolution well beyond this, because of the way
the ear perceives sound. There is an *excellent* introductory article
at http://www.digido.com/ditheressay.html. Compression is more often
employed on pop music recordings, where louder is better, than something
like classical music, where accurate reproduction is desirable.)

To make a CD that sounds like it has equal volume across all tracks, you
need to have the average sound level uniform across all tracks and have the
peak volume be about the same on all tracks. One program that does
essentially this is Audiograbber v1.40 and later, available as shareware
from http://www.audiograbber.com-us.net/. (As of v1.41, you went into
"Normalize Settings" and hit the "Advanced" button.) The tool is a little
clumsy for serious audio mastering, but should do fine for preparing a
"mix" CD that you'll be listening to in your car.

Another tool is "WAV file leveler", at http://www.plompy.co.uk/software/.

Some programs approximate compression by letting you normalize against
average RMS power. In this case, you are using a value that more closely
matches the apparent loudness of the recording.

If you aren't dissuaded yet, http://www.digido.com/compression.html has
an excellent article on compression, intended primarily for the budding
recording artist but a good general reference nonetheless.

http://www.prorec.com/prorec/articl...6256C2E005DAF1C
has an excellent article entitled "Over the Limit" about the Louder is
Better phenomenon in professional recording. The author examines the
progress of the trend by analyzing clipping and power levels in five
different Rush CDs recorded from 1984 to 2002.

Sidebar: "dB" is the abbreviation for "decibel", a signal strength ratio
measured on a logarithmic scale. In a WAV editor like Cool Edit, which
can show the sound level in dB, the signal level doubles every time you
add 6dB, and the "loudness" doubles every 10dB. This is different from
signal power levels, which double every 3dB (what you see in a WAV editor
is analogous to voltage, not power). Detailed information is available
from the Acoustics FAQ at http://www.campanellaacoustics.com/faq.htm.
See also http://www.ews64.com/mcdecibels.html and
http://www.modrec.com/about/excerpt.php. There is a comparison table at
http://www.gcaudio.com/Archives/volatgeloudness.htm that breaks things
down nicely.


Subject: [3-42] How do I make a bit-for-bit copy of a disc?
(2005/07/23)

A commonly posed question from the newsgroups: "what software can do
bit-for-bit copies?" The expectation is software that can make an exact
copy of the original.

There isn't any. If this seems counter-intuitive, bear in mind that discs
hold digital data on an analog medium. While "bits" may be what you read
from the drive, at some point those bits have to be stored as marks or
indentations on a piece of polycarbonate.

The "low-level" modes, such as "raw DAO-96", are actually pretty high
level. By the time you've got 2352-byte sectors and 96-bits of subcode
channel data, the drive has converted optical reflections to an analog
signal, converted the analog signal to digital bits, combined individual
bits into 24-byte frames, applied error correction, and assembled the
frames into the data you see. When you're writing a sector, all that
stuff happens on the way out, too, and there's no way for CD recording
software to control it.

What's more, there are copy protection features, such as *physically* damaged
blocks, that a recorder isn't generally capable of writing. Other tricks,
such as out-of-specification track lengths, can't be duplicated by most
CD recorders because the firmware refuses to write them.

Making an exact copy of a disc would require reading and writing the
basic analog signal. In a sense, this is what CD pressing plants do when
they create CDs from a glass master. It's just not possible with the CD
recorders we have today.

Because of these limitations, you have to read a sector of data as a sector
of data, not as a collection of frames scattered over half the circumference
of the disc. The best you can do currently is "raw DAO-96" (section (3-51)),
which reads the subcode data along with the raw sector data.

Bear in mind that CD-ROM drives and CD recorders were designed for people
who want to read and write data, not decipher arcane standards documents
and perform their own error correction. Creating exact one-off copies was
not a major consideration of the original design.

In general, however, you don't *need* a "bit-perfect" duplicate of the
original. If what you're copying is a simple MODE-1 CD-ROM, you can make
an "identical" copy by reading the sectors off the original and writing
them to a duplicate. For most situations this is good enough: you have
copied the bits that matter.

Most copy-protected discs can be copied with more advanced software.
Because the copy protection has to use the same CD-ROM interface that
the copy software does, it's hard to create copy protection schemes
that can't at least be detected.

See also sections (2-4), (2-43), (3-1-1), (3-18), (3-39), and (6-1-49).


Subject: [3-43] How do I put punctuation or lower case in CD-ROM volume labels?
(1999/06/05)

The name of a CD-ROM is determined by the CD-ROM volume label. This
determines how the disc shows up on the Mac or Windows.

The ISO-9660 standard limits the characters in the volume name to the same
set of characters allowed in a filename, namely A-Z, 0-9, '.', and '_'.
Some programs enforce strict adherence to the standard, while others are
more relaxed.

For example, if you wanted to create a disc with Nero that had a hyphen in
the volume name, you would go into the "file options" and change the
Character Set to "ASCII". Nero will then allow a broader range of
characters. Other programs may or may not have similar features.

Remember that standards are guidelines, not laws enforced by threat of
punishment. You are welcome to create discs that deviate from the standard
in any way you choose. The only price you will pay is that, if you stray
too far from the standard, your disc may not be readable by everyone. For
the specific case of a volume label, deviations are pretty harmless.


Subject: [3-44] How do I extract audio tracks from an "enhanced" CD on the Mac?
(2004/08/31)

Apple's iTunes should do the trick. Free download from www.apple.com.


Subject: [3-45] How do I disable DirectCD for Windows?
(2001/01/06)

There are two basic approaches: (1) run the uninstall program, or (2) make
changes to several entries in the Windows registry.

You CANNOT disable it by killing a task.
You CANNOT disable it by un-checking it in msconfig.
You CANNOT disable it by removing it from the system StartUp list.

All these really do is stop the DirectCD control interface from running.
The icon is gone from the system tray, but DirectCD itself is still active,
which you can verify by inserting an unfinalized packet-written disc. If
DirectCD were actually disabled, the disc would be unreadable.

Writing data to such a disc without the user interface component active
can lead to data corruption, because some of the safeguards are no longer
in place. It's like you've taken the steering wheel off the car while
it's still rolling.

If you do choose to use one of the "easy" methods, you will probably be okay
so long as you don't try to write to a disc with packet writing.

DirectCD puts some drivers in C:\Windows\System\Iosubsys\. The set appears
to be CDUDFRW.VXD, CDUDF.VXD, CDRPWD.VXD, and CDR4VSD.VXD. If you are
having trouble un-installing DirectCD, check for the presence of these
files, and rename the extension to ".VX_" if found.


NOTE: the DirectCD icon in the system tray is different from and independent
of the "Create CD" icon that Easy CD Creator 4 adds to the system tray. You
can get rid of that by right-clicking on it and telling it not to load.


Subject: [3-46] How do I specify the order of files (e.g. sorting) on ISO-9660?
(2004/02/16)

Generally speaking, you don't. The ISO-9660 specification requires that the
files appear in sorted order. Modern operating systems will sort the files
for you anyway, so changing the file order won't usually do much for you.
Packet-written (UDF) discs behave differently.

One situation where sorting does matter is when creating an "MP3 CD", i.e.
a CD-ROM filled with MP3 files that will be played by a CD or DVD player.
Getting the songs in the order you want is usually accomplished by
prepending digits to the front of the name, e.g. "001" for the first song,
"002" for the next, and so on.

It is possible, if you don't mind creating discs that violate the standard,
to specify a sorting order without modifying the file name. MP3BR Imager,
from http://www.mp3br.com/, can do this for you. Just make sure you test the
discs for compatibility with your equipment before you get too carried away.


Subject: [3-47] How do I put a password on a CD-ROM?
(2000/03/14)

Encrypt the data on it. See section (3-19) for options.


Subject: [3-48] Can I record an audio CD a few tracks at a time?
(2000/04/11)

That depends on what you're trying to accomplish. There are two issues
that complicate matters:

(1) Most audio CD players only play tracks from the first session on
the disc. (Most CD-ROM drives will play all sessions.)
(2) Most audio CD players only play tracks from a closed session.
(In general, only a CD recorder can play from an open session.)

Suppose you record three tracks onto an audio CD, using track-at-once
recording. If you don't close the session, you can add more tracks, but
you can't play the disc. If you close the session, you can play the disc,
but you can't add more tracks.

Some people have CD players that will play songs from every session. If
you do, and compatibility with other players isn't important, you can
write each group of tracks into its own session. The down side of this
approach is that there is an appreciable amount of overhead when opening
a new session (23MB for the first and 14MB for each additional one).

If your hard drive has enough space, you can just keep the WAV files on
the drive, and burn the disc all at once. If it doesn't, you can write the
tracks to a CD-R or CD-RW disc as WAV files on CD-ROM, and record from there.
Write a new CD-R or CD-RW every time you get more tracks. (The advantage
to using CD-ROM is that additional error correction is used.)


Subject: [3-49] How do I copy DVDs onto CD-R?
(2002/11/15)

It isn't possible to take the contents of a DVD-Video or DVD-ROM and
record the whole thing onto a CD-R, unless the DVD is nearly empty.
The capacity of DVD discs is considerably greater. Generally speaking,
you can't play DVD content from a CD-R disc anyway, because the DVD drive
needs to read encryption keys from outside the filesystem area.

You could, of course, capture the video from a DVD-Video disc with a video
capture board, re-encode it with MPEG-1, and write that as a VideoCD.
The quality would be VHS-grade though. (You can get better results
with MP3 audio and MPEG-4 video, but the process is a little convoluted.
See http://www.digital-digest.com/dvd/s.../dvd2mpeg4.html.) The
next section talks about some ads you might have seen for products that
do this.

You may have heard of DivX (sometimes "DivX ;-)"). Originally the name
for a limited-playback DVD system, it now usually refers to MPEG-4 encoding
of DVD video. See http://www.divx-digest.com/help.html for more details.

If you're only interested in the audio portion of a DVD-Video, you can
extract the AC3 audio directly from the .VOB file, using some freely
available utilities (notably "ac3dec" and the elusive "DeCSS"). You will
need to convert the audio from 48KHz to 44.1KHz. You can also capture
it under Windows with Total Recorder (6-2-19).

The story is the same with DVD-ROM: you can probably copy it to a CD-R if
it will fit. If the contents only took up about 650MB, though, it probably
wouldn't have been shipped on a DVD-ROM.


Subject: [3-49-1] I heard about software that copies DVDs with a CD recorder!
(2002/12/21)

I'm guessing you've also heard of ways to get rich by sending money
to other people, legal ways to get your bad credit history erased, and
drug-free side-effect-free low-cost super cures made from all natural
ingredients on distant tropical islands.

They're all nonsense. I can't help you if you believe in the above, but I
can speak to copying DVDs with a CD recorder. Here's a piece from a message
that was spammed at me (spelling and grammar errors left uncorrected):

COPY ANY DVD MOVIE

With our revolutionary software you can copy virtually any DVD Movie
using your existing equiptment! Conventional DVD copying
equiptment can cost thousands of $$$

Our revolutionary software cost less than the price of 2 DVD Movies!

If you go to the web site, it goes on to say:

Learn How To Burn DVD's onto Regular CD-R Discs and watch your new
movies on Any DVD Player, not just the computer DVD.
[...]
No DVD Drive Required!!!

Another, possibly unrelated, site says:

With detailed, easy to follow, step-by-step instructions, you can
BURN your own DVD Video using nothing more than our software and
your CD-R.
[...]
o No DVD Burner Required
o Superior Reproduction Quality

It has a link for their "frequently asked questions" document, but you have
to give them your e-mail address to get it. Any company that refuses to
give you information until you submit to their spam list is best avoided.

Let's start with the facts:

(1) You can't read a DVD in a CD-ROM drive. DVD requires a laser at
a different wavelength; the disc has a different physical format;
the disc has a different logical format. A firmware update is
not going to make this work, so don't expect that installing new
software is going to help.
(2) You can't put a full DVD on a CD-R disc. DVD movies are typically
around 8GB, which is roughly 11x as much as you can put on a CD-R.
(3) Many DVD players can't read CD-R discs. This is because of the
different laser wavelength. DVD player manufacturers have found
several ways around this, but many players just can't handle CD-R.
(4) You can't easily duplicate the blocks with the security keys. They
live outside the filesystem area. The only way to get the MPEG
video off in a playable format is to create a copy with the CSS
encryption removed. This requires either stripping the encryption
with software (DeCSS) or hacking the device driver to get the video
after the hardware has decrypted it. Both methods are, as of the
end of 2002, the subject of lawsuits in the USA because of DMCA law,
which makes such things illegal to write, sell, or even use.

Products like "DVD Wizard" and "DVD-Copy 2.1" cannot possibly do all
that they claim. The best they can do is transcode the video into a
lesser format. This requires ripping the MPEG-2 video off the DVD using a
DVD-ROM drive, stripping the encryption, re-encoding the video in MPEG-1,
and writing it to CD-R as a VideoCD. You will be going from 720x480
video recorded at up to 10.08Mbits/sec down to 352x200 video recorded at
1.5Mbits/sec. Instead of Dolby 5.1 you will have low-bit-rate stereo.
On an 80 minute disc, you can store about 80 minutes of MPEG-1 video,
so nearly all movies will require two or more discs.

This software will let you create a movie that could be played back in
computers or *some* DVD players -- not all DVD players support CD-R media,
and not all will play VideoCD -- but at roughly VHS quality, and without
any of the features that make DVDs special. Most notably, you will lose
all of the menus, audio options, and special features. You will not be
burning "DVD Video", and in some parts of the world (most notably the USA)
you will be breaking the law even if the copy is for personal use.

Software that does this sort of thing can be found, for free, on various
sites on the Internet. (Because of the legal issues, it isn't always
available in one place for long.) If you really want low-quality MPEG
editions, save your money and search the web for DVD copiers or converters,
and download the software for free instead of giving money to spammers.
(The previous section has a couple of links that might be useful.)


Subject: [3-50] How do I copy Mac, UNIX, or "hybrid" CD-ROMs from Windows?
(2001/03/03)

A program that copies the entire disc as an image should work. Don't
try to copy it as a collection of files.

You can create a hybrid HFS (Mac), Rock Ridge (UNIX), and Joliet (Windows)
CD-ROM with "mkhybrid" in section (6-1-32). The output of the program is
a simple ISO-9660 image file. It stands to reason that you should be
able to copy such discs as easily as you can create them.

The same applies to copying arbitrary discs from the Mac, or any other
platform -- just copy it as a disc, and you should be fine.

If you're trying to copy a game, and it doesn't work, see (3-39).


Subject: [3-51] How do I copy something in "RAW" mode? What's DAO-96?
(2002/12/09)

A sector on an audio CD holds 2352 bytes, enough for 1/75 of a second
of stereo sound. A sector on a MODE-1 CD-ROM holds 2048 bytes of data.
The 304 "lost" bytes are used for sector addressing, synchronization,
and error correction.

If you read a MODE-1 CD-ROM sector in "cooked" mode, you get 2048 bytes
of data. When you write that to a CD-R or CD-RW, the error correction
bytes are reconstructed. If you read that sector in "raw" mode, you get all
2352 bytes of data. If you simply wrote those bytes to a CD-R, any errors
that slipped past the CIRC encoding while reading would be propagated,
and could result in generation loss (see sections (2-17) and (3-18)).

There are times when you don't *want* to have the error correction
reconstructed. For example, some games deliberately distort the error
correction bytes as a form of copy protection. See section (2-4).

The recording software has the option of error-correcting the 2048 bytes
of CD-ROM data and even regenerating the ECC data. Doing either reduces
the risk of generation loss; doing both eliminates the risk by effectively
doing a "cooked" read and write. (Apparently some drives will error-correct
CD-ROM data for you even in "raw" mode.)

To copy a disc in "raw" mode, you need the right reader, the right writer,
and the right software. Programs like CloneCD specialize in "raw" copies,
but require that the CD-ROM drive used to read discs and the recorder used
to write them support "raw" reads and writes. The web page for CloneCD
(6-1-49) is a good place to look for a list of capable hardware.

"RAW DAO-96" refers to a method for writing "raw" 2352 byte sectors with 96
bytes of associated P-W subcode channel data (section (2-6)). This is useful
for copying discs with CD+G, CD-Text, and certain forms of copy protection.
"DAO" refers to its use in combination with disc-at-once recording.

There's also "RAW DAO-94", which is the same as DAO-96 except that the
two bytes of Q channel CRC data are always generated by the recorder, and
"RAW DAO-16", which includes only the P-Q subcode channels.


Subject: [3-52] How do I do cross-fades between audio tracks?
(2000/12/02)

A "cross-fade" is a smooth transition from one track into another. If done
properly, with compatible music, the tracks appear to blend into one another.

Some of the fancier recording applications, such as Sound Forge
(http://www.sonicfoundry.com/) and Waveburner (6-1-55), will do cross-fades.
An "Advanced CrossFading" plug-in for Winamp can do them; set the output
device to a file on disc (with a "disk writer plug-in"?), and play the
music you want to record.

It's important to use disc-at-once recording when writing the tracks to
avoid having two-second gaps inserted. See section (3-26).


Subject: [3-53] How do I create a CD with my favorite songs on it?
(2000/12/02)

If you want to create a CD that includes songs from several other CDs,
there are two basic approaches:

(1) Use a program, like Easy CD Creator Deluxe (6-1-26), that allows you
to select tracks from multiple CDs on the layout screen. The "wizard"
can walk you through the process.
(2) Extract the tracks you want to your hard drive, perhaps with a
program like Exact Audio Copy (6-2-12), and then write them all at once.

The former is a little easier, and requires less disk space. The latter
allows you to use disc-at-once recording, which prevents the recorder from
inserting a two-second gap between each track.


Subject: [3-54] How do I record directly onto CD from a microphone?
(2001/03/02)

If you have a stand-alone audio CD recorder, this should be straightforward.
Either you have a microphone input or you don't.

On a computer, you probably don't want to do this. The greatest advantage
of using a computer-attached recorder is that you can edit the result
before recording it. CD-R is write-once media, so if you make a mistake,
you can't fix it later.

If you're determined to do this, Roxio's Spin Doctor (part of Easy CD
Creator) can do what you want. Connect the microphone to the input on
the PC sound card, start up the software, and record when ready.

The situation on non-PC platforms is similar: you can do it if your
software supports it.


Subject: [3-55] Is it okay to record a CD from MP3?
(2001/04/19)

Yes, though the quality won't be as good as if you had recorded directly
from the original CD.

MP3 is a "lossy" compression format, meaning that it gets its exceptional
compression ratios by throwing some of the data away. (MP3 can get a
10:1 reduction with hardly any degradation in audible quality; "lossless"
compression is hard-pressed to do better than 2:1 on 16-bit samples.)
The clever part about MP3 is the way it figures out what parts of the
audio to throw away and what to keep, based on a model of human hearing.

Because it's a lossy format, every time you compress something you lose some
of the quality forever. The smaller you compress it, the more you lose.
The loss is more easily audible on some music than others, and if your
equipment (or your ears) aren't very good you may not notice it at all.

If you like to copy CDs by ripping them into MP3 format and then recording
them to MP3, be aware that your copies aren't quite as good as your
originals. At 160Kbps it's going to be hard to notice, but at 64Kbps it
should be easy to tell the difference between the original and the copy.

(Side note: if you want to do a double-blind test, play the original and
the duplicate in random order for somebody else, and ask them if they can
identify the original music. The test isn't to tell that the discs sound
*different*, but rather to figure out which disc sounds *better*.)

For more information about lossy and lossless audio compression, see:

- http://www.faqs.org/faqs/compression-faq/
- http://www.mpeg.org/

For some tutorials on converting between MP3 and other formats, see
section (3-27).


Subject: [3-56] How can I test a disc image before recording?
(2002/02/25)

You have a few options.

You can do a trivial check of an ISO disc image with WinImage. See
section (6-2-2).

Under Linux, you can mount it via the "loopback" filesystem, e.g.:
"mount ./cdimg.iso /mnt/test -t iso9660 -o loop".

Under DOS/Windows, you can "SUBST" a directory to make it look like a
drive, e.g. "SUBST J: \goodies\NewCD" will make the contents of
"\goodies\NewCD" appear to be mounted on the J: drive. This is a useful
way to test autorun.inf files.

A more robust approach under Windows is to use a CD emulator.
These programs usually use their own proprietary disc formats, but
some converters are available (e.g. http://www.bluebitter.de/),
and some can mount ISO images directly. Examples include
Microtest Virtual CD (http://www.virtualcd-online.com/), Paragon
CD Emulator (http://www.cdrom-emulator.com/), and Daemon Tools
(http://www.daemon-tools.com/).


Subject: [3-57] How do I clear the "read-only" flag under Windows?
(2003/03/25)

If you write files to a CD-R with conventional recording and then try
to copy them back, under Windows the files will all have their "read
only" flags set. This can be annoying for documents you want to update.

The files aren't written to the disc as "read only". There isn't any such
permission flag in the filesystem. They're simply presented that way
by Microsoft operating systems. Mac OS deals with this in a nicer way,
showing unlocked files on write-protected media, rather than the dopey
Microsoft approach of showing write-protected files on unlocked media.

You can avoid this situation entirely by using packet writing (where
you just copy files to the disc like a big floppy, e.g. with DirectCD),
which preserves the file attributes, or by using backup software, which
will restore the files to their original state. Stuffing the files into
a ZIP archive works too, but may be less convenient than other approaches.

If you've already got the read-only files, changing them back to read-write
isn't too hard. Some approaches:

If you're using Win2K or WinXP, right-click on the top-most folder(s),
and un-check the read-only box. You will be asked if you want to apply
the change to all files and folders in the folder. Say "yes".

For DOS or older versions of Windows, from a DOS prompt run "ATTRIB -R *.*
/S" on every subdirectory with read-only files in it.

If you prefer a Windows application, try "ReadOnly" from
http://www.sente.co.uk/downloads.htm. They also have a more sophisticated
application called "FlagRASH".

If you can boot into Linux, you can fix non-NTFS partitions easily. Use su
to become root, mount the volume as vfat, cd to the directory in question,
and do "find . -print0 | xargs -0 chmod +w" to enable write permission for
all files in the current directory and in all subdirectories. If you've
got an older version of the file utilities that don't support "-0", you
can use "find . -print | xargs chmod +w" instead, but that isn't as good
because it doesn't correctly handle spaces in filenames. (Of course,
if you're a Linux user, you could just use mkisofs with the appropriate
options and have Rock Ridge file permissions that match the originals,
but this is a Windows question.)


Subject: [3-58] How do I share a CD recorder across a network?
(2002/12/02)

There is no general way to access a CD recorder on a remote machine.
You need to have software running on the machine with the recorder.
This might be something as simple as DirectCD, to provide a filesystem
that Windows can write files directly to, or something fancy that accepts
disc images and queues them for recording.

Ahead's NeroNET (http://www.nero.com/) provides a client/server model
for sharing CD recorders. See also CD Studio+ (section (6-1-6)).


Subject: [3-59] How do I write a large file across multiple discs?
(2006/05/30)

This is usually referred to as "spanning", and is a standard feature of
most backup software (see section (6-7)). With a little extra effort,
you can accomplish the same thing with standard software.

One approach under Windows is to create a ZIP archive with WinZip
(http://www.winzip.com/) or PicoZip (http://www.picozip.com/), and then
use the "Split" item on the Actions menu to break the archive into pieces
small enough to fit onto CD-Rs. The feature was originally created to
split archives across multiple floppy discs, but it works just as well
with 650MB pieces.

On a UNIX system, use the "split" command, e.g. "split -b 650m myfile".
Write each file to a separate disc, and combine them later with "cat".
These commands have been a standard part of UNIX for just about forever,
so you should have no trouble finding them.


Subject: [3-60] What's the safest, most reliable way to write data to CD-R?
(2004/04/15)

The best approach is the one that leaves you with a 100% readable disc
today and a few years down the road. The key ingredients are:

Use quality media
Saving a few pennies today could result in big headaches later on.
Some of the cheap bulk brands are good-quality "unbranded" media
from reliable manufacturers, but many have poor construction and
will not last. Section (7-4-1) has some thoughts on which are good
and which aren't. Stick to 74-minute or 80-minute discs. 90- and
99-minute discs are not as reliable.
Use conventional pre-mastering, not packet writing
Packet writing ("drive letter access") is easy to use but files can
be "deleted" even on CD-R media, making them difficult to recover.
Sometimes open discs will Go Funny and becomes unreadable. (See section
(6-3-2) for a "reality check".) You want to gather the files and
record them all at once, not drag-and-drop them onto the disc as if
it were a floppy.
Use CD-R, not CD-RW
If you don't want your data to be erased, don't put it on erasable
media. If you must use packet writing, you are less likely to have
data loss with CD-R, because nothing is ever really deleted or
overwritten. Also, some concerns have been raised about CD-RW media
longevity.
Use disc-at-once recording
Leaving a session or disc open creates the possibility of some other
device or program screwing up the TOC and making the disc unreadable.
Multi-session discs create opportunities for confusion.
Test
Software like Ahead's Nero (6-1-28) can automatically verify the data
after recording completes. Other suggestions are in section (3-22).

These rules also result in discs with the broadest possible compatibility, so
you should also follow them if you're planning to distribute files on CD-R.

If you're planning to store the data for an extended period, such as for
an archival backup, you should write the same data to two different kinds
of media and store the discs separately.

See also section (7-27) for advice on handling and storing CDs.


------------------------------------------------------------------------------

[ continued in part 3 of the FAQ ]

Reply With Quote
[comp.publish.cdrom] CD-Recordable FAQ, Part 3/4
  #3
Old 06-06-2006, 08:22 PM
Andy McFadden
Junior Member


Andy McFadden is offline
Andy McFadden's Info
Join Date: Jul 2003
Posts: 16
Default [comp.publish.cdrom] CD-Recordable FAQ, Part 3/4

Archive-name: cdrom/cd-recordable/part3
Posting-Frequency: monthly
Last-modified: 2006/05/30
Version: 2.65

------------------------------------------------------------------------------

Subject: [4] Problems
(2000/06/05)

Problems that arise when burning a CD-R.

Some suggestions that fix most common problems:

- RTFM (Read The Fine Manual). Sometimes it's *supposed* to work that
way. If you didn't receive a manual with the product, it may be in
text or Acrobat form on a CD-ROM.
- Check your software version. You may need a newer version of the
software for correct operation with your hardware (yes, even if you
received the software with the recorder). Most, if not all,
CD recorder software publishers have web sites with updates.
- Update the software. Even if the software is new enough to be
compatible, there's some chance that your bug has already been fixed.
- Under Windows, check your ASPI layer. See section (4-44) for URLs
and notes.
- If you've tweaked your PC BIOS to the limit and are overclocking
everything, reset it to defaults and see if your problems clear up.
You can always tweak it back. If you're using a motherboard with
a VIA chipset, make sure you are running the absolute latest version
of the VIA drivers.
- Some problems with PC ATAPI drives go away when DMA is turned off for
the drive (via the Win9x device manager; see section (5-15-1)). You
might also need to uninstall incompatible bus-mastering drivers
(section (5-15)).
- Under Windows, rename \Windows\System\Iosubsys\scsi1hlp.vxd to
something that prevents it from being loaded ("scsi1hlp.vx_"). See
if your problems get better. scsi1hlp.vxd is only required for
compatibility with old SCSI devices.
- If you have an older recorder, and it seems to be getting progressively
worse over time, it may need to be cleaned. See section (3-30).


Subject: [4-1] What does "buffer underrun" mean?
(2002/11/15)

It means you have an attractive new coaster for your table.

Generally speaking, the CD recording process can't be interrupted in
mid-session. Once the laser starts writing, any interruption would create
a physical gap on the disc that could confuse CD readers. The recorder
must always have data to write, from the moment the recording starts until
the session ends. To avoid a situation where a temporary slowdown in the
computer causes the write process to fail, the makers of CD recorders
put a write buffer in the drive, usually between 512K and 4MB in size.
Data read from the hard drive, tape, or another CD is stored in the buffer,
and pulled out as needed by the recorder.

If the recorder requests data from the write buffer, but there's none there,
it's called a buffer underrun. The disc is still spinning, but there's no
data to write, so the recording process aborts.

This was a very common and very annoying problem for many years, so
most recorders released in 2001 or later have optional "buffer underrun
protection" features available. See section (2-31).

You can sometimes use a disc that failed during writing by closing the
session and starting another, assuming there's enough space left on the
CD, and assuming your pre-mastering software didn't choose to finalize the
disc for you. If you were using disc-at-once recording, you're probably
out of luck.

Advice for preventing buffer underruns is scattered throughout this FAQ.
A brief summary:

- If your hardware and software support it, enable buffer underrun
protection. Usually this is just a checkbox.
- Use a fast, AV-friendly hard drive (i.e. one that doesn't do slow
thermal recalibrations). Pretty much all drives sold since the
late 1990s fall into this category.
- Record at a slow speed - it takes longer to empty the buffer when
recording at 1x.
- Don't do anything else with the computer while recording. Don't record
from a file server.
- Defragment your HD, especially if you're doing on-the-fly recording.
(But don't defragment *while* you're recording.)
- Record from a disc image file rather than on-the-fly.
- Depending on your setup, putting the recorder and your hard drive on
separate SCSI or IDE controllers may be helpful.
- Keep your CD-R cool. Sometimes the drives fail when they overheat,
with a buffer underrun or an inability to finalize a session. This
is rarely a problem with drives made in 2000 or beyond.

Also watch out for things like anti-virus programs that wake up, virtual
memory settings that cause swapping, screen savers that activate during the
CD creation process, unusual network activity, and background downloads of
data or faxes. One way to check is to run the HD defragmenter in Win9X.
If it restarts every few seconds, it's because something is hitting the
drive.

Some game discs use a form of copy protection where bad sectors are
deliberately placed on the original CD. Attempting to copy one of these
discs on the fly may fail, because some CD-ROM drives slow down and
repeatedly try to read the "damaged" blocks. The slowdown may result in
a buffer underrun before the CD-ROM drive reports an error.

A utility included with Microsoft Office, called "FindFast", will
occasionally start up and scan your hard drives. Disabling this by
deleting the shortcut in the Windows\Start Menu\Programs\StartUp folder may
be necessary.

If you're using Windows, see the sub-sections on Auto-Insert Notification
and VCACHE settings, below.


http://www.roxio.com/en/support/cdr/bufunder.html has a comprehensive
collection of buffer underrun info.

http://www.adaptec.com/support/configuration/cdrec.html is interesting
reading for users with CD-Rs attached to Adaptec SCSI cards. They're
pretty far on the conservative side, but if you're having trouble this may
help you.

An article by Dana Parker entitled "CD-R on the Safe Side: Seven Rules of
Successful CD Recording" in the April 1997 issue of Emedia Professional
listed the Seven Habits of Successful CD-R Users:

1. Defragment Your Disk
2. Use a Partition for Staging Input
3. Create a Real Image
4. Test before writing
5. Stabilize Your System for CD-R
6. Shut Down Other Applications
7. After the Burn: Label and Test

If you really want to be careful, you can shut down background stuff under
Win95/98 with WinSolo from http://www.procode.com.au/winsolo/ (the web site
was down at last update, but a search for it on http://www.google.com/
turned up a number of shareware sites that have it). Another option is
WinTasks from http://www.liutilities.com/products/wintasksstd/; see
http://www.liutilities.com/products...ials/tutorial1/ for
a tutorial.

(Side note for search engines: some versions of Ahead's Nero refer to
buffer underruns as "loss of streaming".)


Subject: [4-1-1] What's the deal with Windows Auto-Insert Notification (AIN)?
(1999/09/12)

Some of the Windows-based recording software recommend turning off
Auto-Insert Notification. Having this on can interfere with closing
sessions or even just inserting discs into the drive. Most of the recent
software will disable it automatically, but some of the older products
require you to disable it manually. You can do so under Win95/Win98 by
opening the "System" icon in the Control Panel, and selecting "Device
Manager". For each item under CD-ROM, select the device, click on the
"Settings" tab, and make sure the "Auto Insert Notification" checkbox is
unchecked. [With a vanilla Win95 setup I got SCSI errors when AIN was off
for my CD-R but on for my CD-ROM, even if the CD-ROM drive wasn't in use at
the time.]

If you're using WinNT, you can turn it off with the "TweakUI" program
available in PowerToys (available from the Microsoft web site at
http://www.microsoft.com/), or by modifying a registry key with Regedit32
(0=disabled, 1=enabled):

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Cdrom \ Autorun

If your software automatically turns AIN off, and you can't figure out how
to turn it back on, the TweakUI program may be able to help. Check the
"Paranoia" settings. (Incidentally, if installing the Power Toys screws up
your icons, select "Rebuild Icons" from the "Repair" menu.) If you turn it
off and on again, You may have to reboot in some configurations before it
will work again.

Sidebar: the trouble with Auto Insert Notification is that it periodically
attempts to find a valid disc in the CD recorder. A blank disc isn't very
interesting to Windows, so nothing happens. When the table of contents is
written to the disc, it suddenly becomes interesting; and if Autorun or
Autoplay are enabled, enough activity is generated by Windows' attempts to
read the disc that the write fails.

Because it only affects CDs with actual data being written to them, a test
write won't end in failure. It can be very frustrating to have 100%
success with test writes and 100% failures with actual writes! With
disc-at-once recording, the process will abort very near the start of
recording, probably leaving an empty but useless disc. With track-at-once
recording, it will fail at the end, and you may still be able to finalize
the disc. Audio CDs will most likely work fine even if interrupted at the
end of the write process.

IMPORTANT: if you are using DirectCD for Windows, you must have AIN turned
*on*, or some things won't work quite right. The most obvious failure mode
is that long filenames aren't shown, but some reports indicate that data on
the disc can get trashed as well. This can make life interesting if you're
also using a conventional writing application, unless the application is
good about turning AIN off before writing. The other Windows applications
currently sold by Roxio (notably Easy CD Creator) will automatically
disable Auto-Insert Notification when appropriate and re-enable it
afterward, so you don't have to worry about AIN at all.


Subject: [4-1-2] What's all this about Win9x VCACHE settings?
(2001/07/09)

One problem with Win95 is that by default the size of the file cache is
unrestricted. This means that all available memory will eventually get
filled up with file data, which will cause the virtual memory system to
start swapping out pages from executing applications. When something needs
to be executed from a page that has been swapped out, it takes time to pull
it back in off the disk. While this is happening, the CD recorder's buffer
could drain completely.

The procedure is simple:

(1) Open the file SYSTEM.INI with a text editor. This file is usually
C:\WINDOWS\SYSTEM.INI.
(2) Find the section labeled "[vcache]".
(3) Add the following lines *after* the "[vcache]" line:
MinFileCache = 16384
MaxFileCache = 16384
(4) Save the changes to the file, and reboot.

The above values are recommended for a system with at least 64MB of RAM.
A common rule of thumb is to set "maxfilecache" to 25% of your RAM, up
to a maximum setting of 16MB. Because of (actual or perceived) bugs in
Win95, some people recommend setting "minfilecache" and "maxfilecache" to
the same value.

If you have an older system with only about 16MB of RAM, you might want
to use instead:

MinFileCache = 512
MaxFileCache = 4096

The [vcache] change has reportedly cured severe buffer underrun problems
with some versions of CDRWIN and removed popping noises during digital
audio extraction with Easy CD Creator. It's a good thing to do to any PC
running Win95. It's not necessary for WinNT. It's not clear whether this
will help with Win98, but it doesn't seem to hurt.

If you are uncomfortable tweaking your SYSTEM.INI file, try CacheMan at
http://www.outertech.com/. It allows you to modify the above settings,
and a few more besides.


Subject: [4-2] I can't get long Win95 filenames to work right
(1998/04/06)

Typical symptoms can be described like this:

- Works fine in Win95 Explorer
- Under DOS the directories are visible, but instead of "dirname<tilde>1"
you get "dirname<tilde>57". Attempting to read them results in errors.
- Typing 'cd dirname~102' may fail while 'cd "Long File Names without the ~"'
will work.

The problem occurs when certain CD-R writing programs are used to create
the discs. The short and long forms of the filenames are sorted
differently, so some of the files can't be found. Using newer software
(e.g. Easy CD Creator 3 instead of Easy-CD Pro) should produce better
results.


Subject: [4-3] I can't read the multisession CD I just made
(1998/04/06)

The SCSI driver needs to believe that the CD-ROM drive can handle
multisession discs. Most likely you will need to update your SCSI drivers
before this will work.

(This problem was reported with an HP4020i and a Buslogic BT946C controller;
if you have an HP drive you should get the c4324hlp.vxd driver from the HP
web site. See section 6 for the address.)

One possible cause of this problem is writing a multisession disc in MODE-1
format. Some older CD-ROM drives incorrectly assume that a MODE-1 disc
can't be multisession, so they don't look for additional sessions unless
it's written in MODE-2 (CD-ROM/XA) format.

Also, if the final session on the CD isn't closed, standard CD players may
become confused (the NEC 6Xi certainly does under Win95). This doesn't
mean that the *disc* must be closed, just that the *session* must be
closed. (Actually, the NEC 6Xi doesn't like open discs either... sigh.)

A note on one of the Ricoh pages indicates that the Ricoh 1420C is unable
to read sessions smaller than 3 minutes (about 26MB) until firmware 1.6x.


Subject: [4-4] Write process keeps failing N minutes in
(1998/04/06)

There's a couple of possibilities. One is that your data source can't keep
up with the CD-R; try using disc-at-once writing from a disc image with the
speed set to 1x. If it seems to be getting worse over time, you may just
need to defragment your hard drive.

If that fails, a number of people have discovered that the problem is a
faulty CD-R unit (similar behavior has been reported on Sony and HP units,
which have different mechanisms). You should try 1x writing from a fast
source and with different sets of data before contacting the manufacturer,
since they will likely tell you to do exactly that anyway.

Be sure that there aren't environmental factors creating difficulties.
CD-R units are usually built to handle small shocks, but having a set of
speakers playing loud music on the same table as a CD-R may cause it to
skip, resulting in a failed write. Sonic booms, heavy construction
equipment, and nuclear detonations may have similar effects.

It's also possible that you simply have a bad batch of media. Try a
different type and brand of disc. Some distributors (e.g. dataDisc) will
exchange media that's provably defective.

Be careful with Advanced Power Management functions on some PCs. If the
keyboard and IDE devices are completely idle, the system may decide that
nothing is going on and switch to a low-power mode. Ditto for screen
savers that kick in after the system has been idle for a certain period.


Subject: [4-5] Why did my CD-R eject and re-load the disc between operations?
(2005/04/05)

CD recorders (and modern CD-ROM drives) have a chunk of RAM that holds
blocks read from the disc. Some drives provide a way to clear this out,
some don't.

All drives need to have their block cache cleared out after writing
completes and before disc verification begins. If this weren't done,
the files being verified could be read out of the block cache instead
of from the disc itself, defeating the purpose of the verification pass.
Also, some CD recorders need to have their recording buffers explicitly
cleared between the "test" and "write" passes.

The most reliable, 100%-guaranteed-to-work approach is to eject the
disc and re-insert it. Watching your CD tray open and close can be
startling at first, but in general it's harmless.

Back in the early days of CD recording, the situation was a bit more
awkward. Caddy drives were the norm, so an ejected disc had to be
manually re-inserted. Some poorly-written CD recording software would
automatically start the "write" pass a few seconds after the "test" pass,
without waiting for the disc to be re-inserted, so you either had to be
paying close attention or set the "wait until told to continue" option.


Subject: [4-6] My CD-ROM drive doesn't like *any* CD-R discs
(1998/04/06)

A very simple test is to take a CD that DOES work, copy it, and try both
(this ensures that your problems aren't being caused by, for example, a
drive that doesn't support multisession CDs).

Sometimes the firmware can be at issue. In one specific case, a Goldstar
GCD580B CD-ROM drive was able to read CD-Rs under Win95 but not MS-DOS
6.22. Upgrading the firmware from v1.01 to v1.24 solved the problem.

If it fails with different kinds of media, the CD-ROM drive either doesn't
like discs written with your recorder, or doesn't like CD-R media at all.
In one case, returning the CD-ROM for an identical unit resolved the
problems.

While there are stringent specifications for discs, there are no such
specifications for CD players and CD-ROM drives. They just have to play
the discs. If the disc and the drive are both marginal, you lose.


Subject: [4-7] How do I avoid having a ";1" on my ISO-9660 discs?
(1998/04/06)

The ISO-9660 standard says the version number (a semicolon followed by a
number at the end of every filename) has to be there. Most operating
systems simply ignore it, but until recently the Mac didn't, causing some
problems.

(For the Mac, look at "ISO 9660 File Access" in the System:Extensions
folder with Command-I. If the version shown is 5.0 or greater, your system
should handle the version numbers just fine. If not, you should update
your system software.)

If you can't find a way to work around it, "mkisofs" has an option to omit
the version number when constructing an ISO-9660 image.


Subject: [4-8] I keep getting SCSI timeout errors
(1998/04/06)

http://www.adaptec.com/support/configuration/cdrec.html has some advice on
SCSI configuration. Basically, check your cabling and termination (see
section (4-17) for more advice there), turn off features you don't need,
and make sure Auto Insert Notification is off (see section (4-1-1)).


Subject: [4-9] I'm having trouble writing a complete disc
(2002/08/16)

(This is for failures other than buffer underruns. For those, see
section (4-1) and perhaps section (4-4).)

If it's failing right as the disc is being finalized, and you're recording
in track-at-once mode, try recording in disc-at-once mode instead. It has
been suggested that some recorder+media combinations have trouble reading
the PMA (Program Memory Area, where a copy of the TOC is kept until the
disc is finalized) at the end of a write. With disc-at-once mode the
TOC is written early, so it doesn't have to get read out of the PMA.
See section (2-19) for the low-down on disc finalization.

When in doubt, check your ASPI layer. See section (4-44).

One user with an ATAPI recorder found that disabling DMA (from the Win98
peripheral properties) made things better.

Try letting the drive cool down (leave the machine off for a couple of
hours if you have an internal drive). Power up the machine and
immediately record the disc. Sometimes heat buildup can cause problems,
though this is less common with recent drives.


This was happening frequently with the HP4020i running off an AdvanSys SCSI
card under Win311 (i.e. WfWG). The solution here was to remove IFSHLP.SYS
from the CONFIG.SYS. (IFSHLP.SYS is somehow involved with 32-bit file
access and network support, so you may have to disable both of these before
disabling IFSHLP. You may have better luck under Win95.)

Another user with the same setup found that doing power-up diagnostics and
device reset right before burning the CD helped.


Subject: [4-10] What's the CDD2000 Write Append Error / spring problem?
(2000/08/08)

This seems to happen on Philips CDD2000-based units, such as the HP4020i,
usually a short while after the warranty runs out. The most common cause
is a spring that weakens with age, but it might also be due to lubrication
breakdown. After a while, the recorder starts failing when trying to write
beyond a certain point on the disc.

The ways of dealing with this range from minor system changes to the
placement of chicken entrails on selected components. Reducing the DMA
rate on the AdvanSys SCSI card (for the HP4020i) may help, buying better
SCSI cables and checking for proper termination may make a difference, or
even powering off and on again right before the burn. For some users,
however, the problem is mechanical rather than spiritual.

One user was told by Philips tech support that if error 50h (write append)
occurs, it means the drive has to be returned to the repair center. Other
users have been told that the error can occur when attempting to write an
empty directory or zero-length file. Under Easy-CD Pro '95, this is
reported as error 171-00-50-00 (see the Roxio web site for a complete
list of error codes).

If the fault is caused by the worn spring, it may be possible to fix the
problem by replacing the spring. This will definitely void your warranty,
and you shouldn't even think about trying this unless the only alternative
is to throw the drive away. Jonathan Oei posted some details about the
process (search for comp.publish.cdrom.hardware, subject "CDD2000 & Spring
Fix", on http://groups.google.com/), and a detailed description of the
procedure can be found on http://www.fadden.com/doc/fix-hp4020i.txt.

This procedure requires some special tools (mini torx drivers and really
fine jeweller's pliers), and involves disassembling much of the drive. If
you open up the drive and remove the circuit boards, you will see that the
laser writing assembly is moved by a DC stepper motor. The motor has a
plastic drive gear that is meshed with a plastic "rack" on the laser. The
spring in question is a piece of wire that pushes the rack against the
drive gear, so when it weakens the gear slips and the write fails.
Replacing the 0.012" wire with a 0.02" diameter wire solves the problem.

The high temperature in the drive may contribute to the breakdown of the
lubricants that allow the laser head to travel. You may be able to prevent
the situation by installing a fan.

This question is also covered in the HP4020i FAQ, available at
http://www.cd-info.com/CDIC/Technology/CD-R/HP-FAQ.html.


Subject: [4-11] Getting errors reading the first (data) track on mixed-mode CD
(1998/08/16)

There's a 150-sector postgap at the end of the data track. Most programs
deal with this automatically, some older ones don't. If you're getting
errors, try subtracting 150 from the total number of sectors to read for
that track.


Subject: [4-12] My recorder ejects blank discs immediately
(2002/05/02)

There are a few of possibilities, some software and some hardware.

It may be that the system is looking at the disc, not finding a TOC (table
of contents), and ejecting it as useless. One way to tell the difference
between the operating system rejecting the CD and the drive rejecting the
CD is to unplug the SCSI or IDE cable from the back of the CD recorder
before inserting the disc.

If the drive pauses for a little while before ejecting, it may be rejecting
the media. On some units you get a blinking warning light instead. If
this is happening, try a different brand of media.

If the problem is the operating system, you probably need to disable
certain features. Under Win95, disable auto insertion for all CD-ROM
devices (see section (4-1)). One user found that reinstalling Win95
helped. On the Mac, you may just need more recent drivers. On a Solaris
system, remove the recorder (probably the "cdrom" entry) from
/etc/vold.conf.

If that doesn't work, make sure the CD-R drive is perfectly level.
Apparently some older (1996-ish) units were sensitive to being tilted at
an angle. Some users have had trouble when a CD-R has been on for a while
and has overheated, so if you only have trouble when the machine has been
powered on for a while, try putting a small fan above the unit to blow
air over it.

With some drives, improper SCSI termination can cause this behavior.

For the Yamaha CDR-200/CDR-400, this may be a sign that the drive has
broken down and needs to be replaced. See section (5-1-1).

If nothing helps, there's a strong possibility that the drive is mis-
aligned and needs to be serviced. This has been known to happen to drives
during shipping.

One user with a caddy-based drive reported problems when using the wrong
type of caddy. It has to be a Sony-type caddy, which is the kind most
commonly found in stores.


Subject: [4-13] I'm getting complaints about power calibration
(2002/12/29)

The optical power output range of the laser in a low-speed CD-R is between
4 and 8 milliwatts. (By comparison, the read laser runs at about 0.5mW.)
High-speed recorders and CD-RW devices use a greater range, up to about
40mW for 48X CD-R. At the top end of the scale are DVD-R recorders,
which output around 100mW for 4x recording and 200mW for 16X recording.
CD-R and CD-RW discs have a section outside the standard recording area
called the Power Calibration Area (PCA) that is used to adjust the laser
for the brand of media you're using and the speed at which you're recording.

Power calibration errors indicate that the drive is having trouble
calibrating the power setting. The most common cause is incompatibility
with the media you're using -- if you just switched to a new brand or
batch of media, this is a likely culprit -- but it can also be caused by
a dirty lens or a dying recorder.

If you're seeing "power calibration area full", it means the recorder
ran out of space in the PCA area. There are 99 regions in the PCA area.
After 99 attempts to calibrate the power level, there won't be any
places left, and the recorder will report an error.

Try a few different kinds of media to see if the problem is an
incompatibility between your recorder and the discs you're using. If that
doesn't make a difference, there are a couple of things you can do to
mitigate the problem. First, you can try recording at a slower speed.
The recorder will use a different "write strategy", which usually means a
lower power level. Second, if you're storing the discs in a cold place,
you may want to try heating them up to slightly above room temperature
(placing them near a heating vent works). One user found that this helped.

If all else fails, and the drive is still in warranty, you should have
the drive checked by a repair facility. If it's out of warranty, or
there's no easy way to have it checked out, you can try cleaning it.
See section (3-30).

Some versions of the firmware for the Philips CDD2000 (and HP 4020i) will
report a power calibration error if you try to do a 1x write after a 4x
read.

It's also good to verify, if your CD recorder is an internal unit, that
your power supply has enough capacity to run everything. Recent PCs
systems should have a 300W or better power supply.

One user found that his problems went away when he created an image file
with Easy CD Creator, quit out of the program, restarted it, and then
recorded from the image at a moderate speed. (Doesn't make much sense,
but if it works, use it.)


Subject: [4-14] My Adaptec 2940 pauses after finding my recorder
(1998/04/06)

This was observed with a Yamaha CDR-100. The solution is to go into the
Adaptec BIOS (hit Ctrl-A during boot), and disable the "support removable
disks under BIOS as fixed disks" option and the "boot from CD-ROM" option.


Subject: [4-15] I can't see all the files on the CD-R
(1998/04/06)

There's a couple of possibilities: either they aren't there, or they're
there but you can't see them. Looking at the disc from different machines
(e.g. Mac and PC) should give you some idea.

Out-of-date versions of MSCDEX have been known to "forget" certain files
when browsing a disc. If you're using DOS or are using the "real mode"
drivers from within Win95, make sure you're using the most recent version
of MSCDEX.

Old versions of certain CD creation programs would occasionally omit things
when asked to burn a large number of files. These problems haven't been
reported for some time, however.

If you were burning a multi-session CD, read the next section.


Subject: [4-16] My multi-session disc only has data from the last session
(2004/07/22)

A common mistake when burning a multisession CD-ROM is to forget to link
the files from the previous session(s) into the current one. This results
in a CD-ROM where you can see the new files but none of the old, unless
you have a program that lets you choose which session you look at.

Most recording applications these days will ask you if you want to preserve
the data from the earlier sessions, or will default to keeping it. Earlier
versions of the software either defaulted to throwing it away or didn't
support the feature at all.

The files themselves aren't really lost. Some programs are available that
will let you access the "lost" data, including IsoBuster (section (6-2-20))
and CD-R Diagnostic (6-2-6). Some CD recording software will allow you to
extract the data track from a specific session, which you can then access
with IsoBuster or WinImage (6-2-2).

A more transparent solution is to use a "session selector", such as the one
that ships with Roxio software. This lets you choose which session you see
in Windows explorer.

Some older CD-ROM drives had a "feature" that caused them to stop looking
for sessions after a certain point, so if you wrote too many of them you'd
"lose" the data from the last session rather than the next-to-last. This
is also curable with the above solutions, though you may have to use a more
recent drive.


Subject: [4-17] I'm getting SCSI errors
(1998/07/26)

Good SCSI cables and correct termination are absolutely essential. SCSI
bus errors can cause buffer underruns or corrupted data (especially since
some vendors ship drives with parity checking disabled).

Bertel Schmitt wrote an excellent article on the ins and outs of proper
cabling and termination. The article can be found in text form at
http://www.fadden.com/doc/scsi-trm.txt. Granite Digital, a company
that makes high-quality cables and terminators, can be found at
http://www.scsipro.com/.

If you're using an HP 4020i with the AdvanSys SCSI card, reducing the DMA
transfer rate may help.


Subject: [4-18] Why doesn't the copy of an audio CD sound the same?
(1998/04/06)

There are actually two questions here, so I've split them into separate
sections. The most common problem is that the audio extracted to the hard
drive doesn't quite match the original.


Subject: [4-18-1] Why doesn't the audio data on the copy match the original?
(1998/04/06)

Most problems are due to poor digital audio extraction from the source
media. Some CD-ROM drives will return slightly different data every time
an audio track is read. Others, like the Plextor line (e.g. 4Plex, 8Plex,
and 12Plex, but not 6Plex) will return the same data every time so long as
the source media is clean.

The most fundamental problem is that, if the CD is dirty, the error
correction may not be able to correct all of the errors. Some drives will
interpolate the missing samples, some won't.

Another problem some CD-ROM drives face is "jitter". See section (2-15)
for details.

See also section (3-3) on avoiding clicks in extracted audio, and section
(5-5) on which CD-ROM drives are recommended.


Subject: [4-18-2] The audio data matches exactly, why do they sound different?
(2004/12/10)

Suppose you extract the audio track from the copy, and it's an exact binary
match of the track you wrote from your hard drive, but the CDs don't sound
quite the same. What then?

Most people don't notice any difference between originals and duplicates.
Some people notice subtle differences, some people notice huge differences;
on better CD players, the differences are harder to hear. Some say CD-R is
better, some say worse. While it's true that "bits are bits", there *are*
reasons why CD-Rs may sound different even when the data matches exactly.

An excellent paper on the subject is "The Numerically-Identical CD Mystery:
A Study in Perception versus Measurement" by Ian Dennis, Julian Dunn,
and Doug Carson, submitted to the Audio Engineering Society (Preprint
4339, 101st AES convention). It's available for download in PDF form at
http://www.prismsound.com/m_r_downloads/cdinvest.pdf. The paper is primarily
concerned with why pressed CDs created at different plants or with different
methods sound different, but the observations are relevant to CD-R as well.

The conclusions in the paper suggest that low-frequency modulations in the
disc affect the servo and motor electronics, causing distortion noticeable
to a critical listener.


One prominent theory is jitter. This isn't the DAE "jitter" described
in section (2-15), but rather a timebase error. A good overview can be
found in the jitter article on http://www.digido.com/. A brief explanation
follows.

The digital-to-analog ("D/A") conversion at the output of the CD player
is driven by a clock in the CD player. The clock is tied into feedback
mechanisms that keep the disc spinning at the proper speed. If the digital
signal being read from the disc has irregular timing, small errors can
be induced in the output clock. Even if the CD player gets all of the
digital bits accurately, it will produce inferior results if the timing
of the bits on the disc isn't precise. Put another way, something has to
send a sample to the speakers 44100 times per second, and if it's speeding
up and slowing down many times each second your ears are going to notice.

There is some question as to whether the clock driving the output will
actually be affected by the input. If the output clock in the CD player
is isolated and stable, jitter from the CD will not affect it.

If you play a CD digitally (e.g. by ripping it and then playing it through
a sound card), the quality of the CD doesn't matter, because it's the
timing of the clock in the sound card that drives the D/A conversion.

It has been asserted that the clocking of bits on a CD-R isn't as precise
as on a pressed CD. Writing at different speeds on different types of
media requires adjustments to the "write strategy" (section (3-31)) that
can result in individual "marks" being sloppier than at other speeds.
This could account for inferior -- or at least different -- sound.

Yamaha believes they have found a partial solution for jitter problems
with their Audio Master Quality feature. See section (2-41).

There do not appear to be any carefully constructed (double-blind)
tests published on the web that confirm that jitter is the cause of this
phenomenon. The "Numerically-Identical CD Mystery" paper rejects jitter
as a possible cause.


Some people have asserted that *any* two CDs, pressed or otherwise, will
sound slightly different. Some claim to hear differences in identical
CDs from different pressing plants. The former is silly, but the latter
has a lot of anecdotal evidence to support it.

The manual for the CDD2000 reportedly states that the drive uses 4x
oversampling when playing pressed CDs, but switches to 1x for CD-R.
This affects the quality of the D/A conversion, and can make an audible
difference.

http://www.mrichter.com/cdr/primer/losses.htm has some further thoughts,
including a table showing signal level differences.

An extremely technical introduction to CD reading is available at
http://www.tc.umn.edu/~erick205/Papers/paper.html. This may shed some
light on why reading audio CDs is difficult, as well as explain concepts
like aliasing and dither.

If you are finding your CD-Rs to be noticeably inferior, try different media,
different write speeds, a different player, or perhaps a different recorder.
There is some evidence that different brands of media and recorders may
work better for audio, but in the end it's a highly subjective matter.
Some people say CD-Rs sound worse, some people say they sound better (and
some people think vinyl records are still the best).


Subject: [4-19] Digital audio extraction of a track is shifted slightly
(1998/04/06)

Some recorders don't correctly extract digital audio if the pregap of the
first track isn't exactly two seconds. A bug in the firmware causes the
drive to start extracting slightly past the start of the track, and stop
extracting slightly past the end. This can result in an audible glitch if
the music starts at the exact start of the track, and can cause the drive
to fail with an error when extracting the last track on the CD.

CDs that start at 00:02:32 (0 minutes, 2 seconds, and 32 blocks) are
surprisingly common. The problem can be worked around manually, by looking
at the output of Jeff Arnold's freeware TOC program (available from
http://www.goldenhawk.com/) and supplying "/start=" and "/end=" parameters
that adjust backward by the number of blocks in excess of two seconds.

For example, if the first track started at 00:02:32, you would subtract
32 from the starting and ending Logical Block Addresses.

A better solution is to use a CD-ROM drive that doesn't have this problem
(and most likely can extract audio more quickly than the CD-R can).

The Yamaha CDR-100/102 and the Philips CDD2600 are known to have this
problem, though it may get fixed by a firmware update. The Ricoh 6200S
reportedly does not return the disc's table of contents correctly for these
sorts of discs.

Newer recorders, and newer software, should deal with this situation
correctly.


Subject: [4-20] I can't play extracted audio files by double-clicking in Win95
(2001/07/09)

The default audio player in Win95 tries to load the entire file into
memory. When an extracted track is 40 or 50MB, and you don't have that
much RAM, Win95's virtual memory system starts writing pieces out to disk.
The disk thrashes, and you get nowhere.

There are several ways around this. If you right-click on the file
and select "properties", you will see a "preview" tab. This will play
it directly from disk. Another way is to use a different program.
One possibility is the Media Player, which is optionally installed
with Win95. You can make it the default WAV file player by selecting
View/Options from Win95 explorer, clicking on the "File Types" tab, and
choosing "Wave Sound". Double-click on Play and change the program name
from "sndrec32.exe" to "mplayer.exe", leaving the "/play" and "/close"
flags intact.

The WMA player in more recent versions of Windows should work correctly.


Subject: [4-21] I can't read an ISO-finalized packet-written disc
(1998/04/06)

This problem is often experienced by HP7100/7110 users. HP chose to ship
packet-writing software with their drives rather than conventional
premastering software, leaving users with discs that couldn't be read on a
fair number of systems. (The HP7200 is the same drive, shipped with
updated firmware and a more complete set of software.)

The following is an excerpt from an Adaptec readme.txt file. It talks
about DirectCD, but the problem is inherent in all packet writing
solutions:

"When the disc is in the native format used by DirectCD, you will
only be able to read the disc on a CD-R device running DirectCD.
This is a direct result of the technology used when writing to a
CD-R disc. In order to make the disc readable on a standard CD-ROM
DirectCD must write certain data to the disc. This provides
compatibility with many of the current drives on the market today.
Unfortunately, there are still a number of CD-ROM drives that
cannot read the packet written media that DirectCD produces. If
you experience problems in this area, you should go to System in
Control Panel, select Performance, File System, CD-ROM and set the
Access Pattern to "No Read-Ahead". If you still experience
problems after making this adjustment, it is likely that the CD-
ROM drive itself is having problems reading packet written media.

It should also be noted that there is an industry initiative
called MultiRead that addresses these issues and has the support
of all the major vendors of CD-ROM and CD-R/RW devices. This
initiative will eliminate the above problems and should be
available on all new drives."

If you want to share data between systems, and the remote system isn't
guaranteed to have a MultiRead CD-ROM drive, you should write the disc
with conventional software.


Subject: [4-22] I'm finding corrupted files on the CD-ROMs I write
(2000/10/20)

There have been a fair number of people who have burned a CD-ROM only to
discover that, while they can read text files, run applications, and look
at graphics, they can't extract from .ZIP archives or run compressed
applications (e.g. some "Setup.EXE"s under Win95). A common complaint
is a dialog with "the file is not a valid win32 application".

The problem they're seeing isn't just corruption of .ZIP files though.
Most kinds of files have a lot of redundancy in them. If a single bit is
lost out of a long text file, the chances of it being noticed are very
slight. For an application, the chances of it causing a failure depend on
where in the file the error falls. For a compressed file, though, every
bit is significant, and in a .ZIP archive the CRC has a very high
probability of detecting errors. (CRC is cyclic redudancy check. Most
file archivers compute a 32-bit CRC on the uncompressed input and store it
in the archive. When you extract the files, the CRC is checked to ensure
that nothing has been damaged.)

Eliminating these errors could be as simple as replacing a bad SCSI cable.
One way to narrow the possibilities down is to try the disc in different
readers on different machines. If the same error shows up in the same
place, the error was introduced during writing rather than while reading
the data back. Another thing to try is to burn the same disc twice. If
the data written to the CD-Rs doesn't match the original, but they do match
each other, then the errors are happening in the same place every time,
rather than at random, so the trouble might be with a driver or firmware
instead of a flaky cable or bad RAM.

If a file appears to be getting corrupted on the CD-R, try copying it back
to the hard drive and then comparing it to the original. If possible, see
if the file is missing large chunks or just has sporadic damage
throughout. You can use the DOS "fc" command (e.g. "FC /B FILE1 FILE2")
or one of the fancier applications listed in section (3-22).

If you can identify the problem as being with the reader or the writer you
may be able to focus on just one part of your system. If the trouble
appears to be with your writer, and you can't get it to work, try to move
it to somebody else's system and see if it works from there. It's
possible, though unlikely, that the CD recorder is flaky.

Whatever the case, the place to start is to check all cables, connections,
SCSI termination, L2 cache, and RAM. One user with an otherwise properly
functioning system was able to fix the CD-R corruption problems by correcting
the RAM timings in the BIOS setup. Use a memory tester, such as "Memtest86"
from http://www.memtest86.com/, to look for bad RAM. A couple of others
found that their problems went away when they disabled the L2 cache on the
motherboard. Sometimes adding a new device will make cables (especially
longer ones) turn flaky. Sometimes the flakiness only affects one device.
Swapping the cables is inexpensive, easy, and very likely to root out
the cause of your problems. Section (4-17) has some tips on SCSI stuff.
If your problem is media compatibility, and the errors are a result of the
BLER (error rate) exceeding the error correction's ability to fix them,
then changing to a different brand of media might help.

One last thing: make sure the original files are valid before you go on a
wild goose chase!


Subject: [4-23] Having trouble playing an audio CD in a home or car player
(2001/07/09)

There are a few possibilities. First and foremost is media compatibility.
Not all players get along with all brands of CD-R media. You need to find
a combination of recorder, media, and player that get along. Read section
(7-2) to learn more. A CD-R media identifier (like the one listed in
section (6-2-9)) can help you be sure that you're trying discs from
different manufacturers, but they aren't 100% reliable (section (2-33)).

If you're trying to use CD-RW media, your odds of success are worse than
with CD-R. CD-RW discs simply won't play on most CD players.

Another common problem is failing to close the disc at the end of writing.
You can't play an audio CD on a common CD player until the session has been
closed. You may be able to play it back with the CD recorder though.
Also, don't forget that you have to write all of the audio data into the
first session of a multisession CD. CD players don't know how to find the
later sessions, so tracks written there won't get played.

Sometimes the CD player will spin the disc up but won't start playing it.
Sometimes it will have no problem playing the tracks, but will have a great
deal of difficulty seeking between tracks or moving fast-forward. Using a
different brand of media or a different CD player may produce better results.

If you're getting skips and jumps, make sure that you don't have anti-skip
protection enabled. This is usually only available on portable or car
players, and you may not be able to disable it on car players. Car CD
players are notoriously picky about media. See also section (4-40).

One user with a Jensen car CD stereo was unable to use blanks immediately
after recording them. After a couple of days, the discs suddenly started
working. This "delayed finalizing" behavior appears consistently repeatable,
not a one-time event. Recording at 1x instead of 4x resulted in discs
that were immediately usable.

Some media works better at 1x, 2x, or 4x than it does at other speeds. You
may find that slowing down or speeding up the recorder helps.

If the disc plays okay at first and starts sounding bad later, or it
sounds okay on the first few tracks but gets noisy toward the end of
the disc, see section (4-47).

One reader reported that many CD players have a laser power adjustment that
can be tweaked to improve things. Fiddling with the insides of devices
you don't have manuals for is generally unwise, so don't go looking unless
you're desperate.

Finally, remember that you have to write the disc in CD-DA format! If you
just write a bunch of .WAV files to a disc in CD-ROM format, it's not going
to work in your home stereo.


Subject: [4-24] Having trouble using a CD-ROM on a different machine
(2002/09/22)

As with audio CDs, discussed in the previous section, there are several
possibilities. The media compatibility issues mentioned above apply to
CD-ROM as well.

If you're using CD-RW media rather than CD-R media, you have to be sure
that the CD-ROM drive in question is MultiRead compliant. Some older
drives are able to read CD-RW media, but most are not. Newer drives
should work fine.

If the disc was written using a packe