#!/bin/sh
#
# c2007 by Paul Sherman <psherma1@rochester.rr.com> http://www.pcbypaul.com 
# just a teeny wrapper to convert a wav file to an mp3.
#
pth=`dirname "$1"`
cd $pth
mv "$1" `echo $1 | tr ' ' '_' | tr A-Z a-z` 2>/dev/null
newfile=`echo "$1" | sed "s/\.wav/\.mp3/g"`
xterm -title "Converting WAV to MP3" -geom 96x32 -e lame -m s "$1" -o $newfile


