Brad Keryan <[EMAIL PROTECTED]> writes: > On 4 Jan 2001, Douglas Bates wrote: > > > I would like to convert some mp3 files to the .cdr format for writing > > an audio CD. The CD-Writing-HOWTO recommends using mpg123 as in > > mpg123 --cdr -s track1.mp3 > track1.cdr > > but the version of mpg123 in mpg123_0.59q-2_i386.deb does not accept > > the option --cdr, as far as I can tell. > > However, it accepts the option "-w <filename.wav>" which writes the track > to a WAV file. > > > I would appreciate suggestions for programs, preferably in Debian > > packages, that can do this. If the recommendation is to use mpg123 > > followed by sox I would appreciate getting the exact set of options to > > use with sox on an i386 system. > > cdrecord and cdrdao both support reading audio tracks from WAV files, so > the -w option is your best bet.
Thank you. The -w option isn't given in the man page but it does show up in mpg123 --help. Interestingly enough, mpg123 --longhelp indicates that it *does* accept --cdr. Do you happen to know if it is necessary to swap bytes on the .wav file when writing it to the CD? The CD-Writing-HOWTO says to use for I in *.mp3 do mpg123 --cdr -s "$I" | cdrecord -audio -pad -swab -nofix - done cdrecord -fix and I found that I did have to use -pad.