Skip to content

Instantly share code, notes, and snippets.

@ricventu
Created September 27, 2017 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ricventu/2d90ac860b7bb604f60f282519271aea to your computer and use it in GitHub Desktop.
Save ricventu/2d90ac860b7bb604f60f282519271aea to your computer and use it in GitHub Desktop.
Bash command to convert .wav files to .gsm format compatible with Asterisk
for a in *.wav; do sox -v 0.3 "$a" -r 8000 -c1 "$a.gsm" resample -ql; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment