On Sat, 19 Mar 2005 13:15:52 +0100
Bj�rn Lundin disseminated the following:

> > What do people use for making music cds from mp3s?
> 
> if you like the cli, make wavs with this script,
> You do need sox and mpg123.
> 
> from there burn the wavs as usual 
> 
> [EMAIL PROTECTED] mp3_lisa]$ cat /home/bnl/music/tools/mp32wav
> #!/bin/bash
> # mp32wav
>  BASENAME=${1%%.mp3}
>  mpg123 -b 10000 -s $BASENAME.mp3 | sox -t raw -r 44100 -s -w -c2 -
> $BASENAME.wav

LAME has always worked very well in this regard for me, I have these in my
.bashrc

# mp3 functions
function mp3ren() { for i in *.mp3; do mv "$i" `echo $i | tr ' '
'_'`;done; }

function mp3dec() { for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav;
done; }

First one removes spaces in the filenames and converts to LC, second converts to
WAV.

Watch the line-wrap and the back-ticks :-)

-- 
JoeHill / RLU #282046 / www.freeyourmachine.org
19:12:09 up 27 days, 21:17, 8 users, load average: 0.06, 0.07, 0.02
+++++++++++++++++++++++++++
"We cannot expect people to have respect for law and order until we teach
respect to those we have entrusted to enforce those laws." -- Hunter S. Thompson

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to