Tuesday, November 14, 2006

converts bitrates for mp3s

#!/bin/bash -
# mp32mp3

FILES=`ls *.mp3`

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


converts the bitrate to 32kbs for all the mp3s in a directory.

0 Comments:

Post a Comment

<< Home