Monday, July 24, 2006

wavtomp3 converter

wavtomp3

Converts a wav file to mp3 at a bitrate of 96.

#!/bin/bash -
# wav2mp3

FILES=`ls *.wav`

for i in $FILES; do
OUT=`echo $i | sed -e 's/.wav//'`
lame -h -b 96 $i $OUT.mp3
done

0 Comments:

Post a Comment

<< Home