Sridhar G wrote:
>
> I've a couple of MP3 files. How to write these files to CD as a normal Audio
> CD.
>
> Cheers
> Sridhar
Here is a script of mine. I call it
makecd. Just copy it into a file and make it executable. Then you just
give it a list of mp3's on the command line and it writes it. The
script make some assumptions, but change it to change those assumptions
should be easy.
assumes:
1. You already can write regular data CDs. This means that you have
SCSI cd-writer, or (more likely) you have SCSI emulation going.
2. Your CD-writer is on SCSI device 0. This is almost certainly true if
you have SCSI emulation ('casue you have either an IDE or parallel-port
writer), and almost certain false if you have a true SCSI system.
3. Your CD-writer can write at 4x speed. If it's recent and it's SCSI
and/or parallel, this is probably the case, though if you have a slow
CPU the mp3 decoding might not be able to keep up, and a slower speed
might be called for. If you have a parallel-port writer, you probably
can't go past speed=1.
Here's the script, far smaller than the explanation:
----cut
here------------------------------------------------------------------
#! /bin/csh -f
foreach fn ($*)
mpg123 -s $fn | cdrecord dev=0,0 speed=4 -audio -pad -swab -nofix -
end
cdrecord dev=0,0 -fix -eject
------------------------------------------------------------------------------
--
"Brian, the man from babble-on" [EMAIL PROTECTED]
Brian T. Schellenberger http://www.babbleon.org
Support http://www.eff.org. Support decss defendents.
Support http://www.programming-freedom.org. Boycott amazon.com.