Revision: 23936
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 16, 2010 17:58 by ernestoongaro
Initial Code
#!/bin/bash if which sox >/dev/null; then echo We have sox..continuing else echo Exiting..please install sox. exit 1 fi if which lame >/dev/null; then echo We have lame..continuing else echo Exiting..please install lame. exit 1 fi for input in *.WAV; do pcmwav=$(basename $input .WAV).wav mp3=$(basename $pcmwav .wav).mp3 sox $input -s $pcmwav lame $pcmwav $mp3 rm $input rm $pcmwav done
Initial URL
http://techpoet.blogspot.com/2010/02/batch-convert-asterisk-wav-files-to-mp3.html
Initial Description
Initial Title
Convert Asterisk GSM encoded WAV files to MP3
Initial Tags
Initial Language
Bash