Imported Upstream version 1.1.11
[platform/upstream/cdrkit.git] / doc / READMEs / README.audio
1 Why do I hear only noise from my first audio CD?
2
3 You may have a byte swapping problem, try wodim -swab
4 but note that is is most unlikely that you need to use the -swab
5 option from wodim unless your input files are broken.
6 It makes more sense to find out why the inout files are not OK.
7
8 wodim assumes Motorola/Network byte order (big-endian) on input
9 regardless of the byte order of the CD-Recorder. If wodim
10 encounters a .wav file, byte order is corrected to match the byte order
11 of the .wav file.
12
13 wodim by default uses Track at once. This always gives 2 seconds
14 pause between two audio tracks and loweres the audio quality.
15
16 For best audio CD quality, use wodim -dao (to write in Session At Once)
17 ot wodim -raw (to write in RAW mode). Note that there are a lot of drives
18 notably from Lite-ON that have defective firmware and will write defective
19 CDs if you use either TAO or SAO mode. In RAW mode, wodim has the
20 full control over the complete CD and the chance that the CD is OK
21 is much higher.
22
23 The 2 seconds pause between two audio tracks is the CD ***standard***
24
25 The standard says:
26         Each track starts with 2 seconds of silence
27         followed by at least 4 seconds of audio data.
28
29 For that reason the 2 second pause is generated by the CD-R drive in 
30 Track at once (TAO) mode.
31
32 CD's that have no pause between two tracks are illegal (compared to RED BOOK).
33 These illegal disks may be made with Disk At Once (DAO) only.
34 In DAO mode the writing software needs to send the 2 seconds pause as 
35 binary zeroes and therefore is able to create illegal disks by 
36 sending audio data instead. 
37
38 Some drives don't accept to write illegal disks even in SAO mode.
39 In this case, use the RAW mode. In RAW mode, the drive does not even
40 "know" what is going on and thus cannot prevent you from writing such
41 a disk.
42
43 This audio data (the last two seconds of a track in this case)
44 however are part of the next track from viewing the TOC of the disk.
45 Digital Audio Extraction programs that work correctly (as intended by the
46 CD standard) split the content of a CD into files by including the
47 pre-gap (usually holding 2 seconds of pause) at the end of the previous
48 track.
49
50 Eduard Bloch, based on documentation from Joerg Schilling