Created
November 18, 2017 18:27
-
-
Save zilahu/2b0e076a842f658c662094a6c924d7a6 to your computer and use it in GitHub Desktop.
Asterisk ALAW2WAV
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sox -t raw -r 8000 -e a-law -b 8 -c1 file.alaw output.wav | |
# GSM2WAV | |
sox -r 8000 -b 8 -c1 file.gsm output.wav | |
# WAV2GSM | |
sox file.wav -c 1 -r 8000 file.gsm | |
# Egy könyvtár összes wavját konvertálja: | |
for i in `ls *.wav`; do sox $i -c 1 -r 8000 `basename $i .wav`.gsm; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment