Linux fashion, yes. Burn one audio track (or several) using whatever script you decide on, then time how long they play and correlate with the size of the wav file. It may be you can just play a wave file with the play script, and time how much playing time a wav file has based on its size that way.
Once you establish a proportion, you could use du -sb to get the total number of minutes of the wav files you are planning to burn, or du -ab to get the time for each track. You can use cut to get the leading bytes off the output of du and feed it into bc to do the calculations. This has the advantage of teaching your child about proportions. And, she'll learn that GUI's are for the weak minded. She'll think her Dad is cool. She'll likely want to know how to use the command line herself. Joel On Mon, Dec 09, 2002 at 07:57:28PM +0000, Collins wrote: > I'm converting some of my daughter's mp3 music collection to wav > format and burning cd's for her. I'm using the old mp32wav script > (mpg123 and sox) to do the conversions and cdrecord to burn the cd's. > > One of the advantages of the accursed Windows programs (CD Creator, > etc.) is that they calculate the number of minutes for a track, > whereas I have to guess at how many trakcs will fit of a cd. > > Does anyone know how to do this in Linux fashion? _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
