Difference between revisions of "Convert WAV file to Asterisk playable format"

From Kolmisoft Wiki
Jump to navigationJump to search
(New page: If '''file1.wav''' is any WAV file, then executing this command: /usr/bin/sox file1.wav -r 8000 -c 1 -s -w file2.wav resample -ql you will get Asterisk playable WAV file: '''file2.wav''...)
 
Line 1: Line 1:
Install SOX:
'''yum install sox''' or '''apt-get install sox'''
If '''file1.wav''' is any WAV file, then executing this command:
If '''file1.wav''' is any WAV file, then executing this command:



Revision as of 08:51, 3 October 2008

Install SOX:

yum install sox or apt-get install sox

If file1.wav is any WAV file, then executing this command:

/usr/bin/sox file1.wav -r 8000 -c 1 -s -w file2.wav resample -ql

you will get Asterisk playable WAV file: file2.wav