Pages

Wednesday 15 June 2011

How to Convert .wav Files to .gsm Files

This is how you convert wav files to gsm files used by Asterisk
 
for i in *.wav
do
sox $i -r 8000 -c 1 $(basename $i .wav).gsm resample -ql
done

2 comments:

  1. Will this command work on any Linux install as we have a cut down version running on a atcom device?

    So was wondering if i can do it on a different computer and upload the files?

    ReplyDelete
  2. I'm afraid Matthew I simply dont know.

    ReplyDelete