[linux-audio-user] wav to mp3 converter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jos,

I use lame. From my script:
elif [ "$extension" =  wav ]; then
            echo "Converting $i to ${i%.*}.mp3 be
patient!"
            lame -h $i ${i%.*}.mp3
      else

If you want the script, I'll send it to you. It's not
that great because it's partially a learning
experiment and builds an array from the contents of a
directory--not necesarry but you can strip the array
code out. It also assumes the directory structure
~/clients/clientname/wav, ~/clients/clientname/mp3,
etc.

At any rate, Lame produces mp3 files. I use it for
that although I've never listened to one. :)

ron

--- Jos Laake <jos@xxxxxxxxxx> wrote:
> Hey y'all,
> 
> I have a script that I run when I close down my
> studio
> that copies all of my random recordings over to the
> 'Dailies' area on my web site.  But all of these
> snippets
> are .wav files (mostly from Timemachine & Audacity).
> I'd like to have the script batch convert all the
> .wav's
> to .mp3's before the copy.  That way, my musical
> partners
> don't have to download a 40MB .wav file to see if
> they
> want to work with a snippet.  So what I really need
> is
> a high quality command line driven wav->mp3
> converter
> that I can set up something like:
> 
> convertorthang -o=mp3 *.wav
> 
> and have it just do it... Oh, and not try to do it
> again if the file already exists.
> 
> Okay, I'll go Google around, but if anybody's got a
> good
> pointer for me, lemme know, eh? ;-)
> 
> toodles!
> ~Jos~



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux