Hi to all,
Hope you all will be fine. I send a wav file to asterisk but it is not palying by asterisk. It says that asterisk can understand only 16 bits/sample or something like this and my wav file is of course is not up to asterisk expectation. So i want to know how can i convert my wav file to asterisk format. Is there any software that i needed or just a command will be enough for this or both. My wav file name is msg0000.wav. Please help me how can i do it. Please explain in detail.
If you open it in a sound editor, you should get the information. You can use Audacity, for example.
You can convert a file from one sampling rate to another (the process called “resampling”, or “downsampling” if you are converting from higher sampling frequency to lower). You can even use SoX to resample the file, but you will usually get better results if the file is recorded at the correct sampling rate.
If you want to playback your own voice, for example, I suggest you download Audacity and record/save the file at 8kHz. If you need to resample an already existing use the following command
sox input.wav output.wav rate -v -I -s 8k