On Wed, Nov 20, 2002 at 05:00:22PM -0800, Bill Moseley wrote: > Can someone point me to info about the toc files used by cdrdao. > Specifically I'm trying to understand what I can and cannot do just with > the toc file -- such as how to split a track into multiple tracks, or > shorten a track. And how I can build a toc file from a collection of .wav > files (where I don't know their length in seconds). The .toc format is documented in the cdrdao manpage, at least weel enough for me to write a simple perl script to build a .toc from a collection of .wav files. I've attached it, maybe it'll help? It reads in a list of wav files, then builds a .toc file for that list of tracks in that order. If you've ripped a CD with 'cdparanoia -vBz' then they'll be named track01.wav, track02.wav, etc. so you can do this to burn a CD from a dir full of wav files: find -type f|grep \\.wav|sort|wav2toc.pl Then burn it with: cdrdao write --device <device> --speed <speed> -v2 cd.toc Works very well for quickly doing a very high quality copy of an audio CD. -rob
Attachment:
wav2toc.pl
Description: Perl program
Attachment:
pgps1fgCLZYdQ.pgp
Description: PGP signature