Hello,
When I convert recordings in my vxml from the sox raw format to wav pcm. It adds an anoying clicking sound to the start of the file. Any way to eliminate this?
here is the format string i'm using:
sox -r 8000 -U -b -t raw recording.raw recording.wav
Thanks for any input.
Rob
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
SOX conversion to pcm wav adding "Clicking"
-
- Posts: 42
- Joined: Mon Oct 10, 2005 3:40 pm
IVR issue with raw and wav files
Please send a copy of both your raw and wav files to support@plumvoice.com (with your customer support ID in the subject line) and we will take a look at the files. If you are a hosted IVR customer, please include in your email your IVR hosting account name. If you are an onsite IVR server customer, please include the version number of the IVR platform you are using (you should be able to see the version number right after you log in to the web interface).
Last edited by support on Mon Feb 22, 2010 2:25 pm, edited 3 times in total.
IVR issue with re-encoding a file
The IVR problem you are likely experiencing is that the file you are trying to re-encode is not a raw file to begin with. The IVR tag, <record>, has a type attribute that is used to determine the format for the file. If you are specifying type="audio/x-wav" then the audio file is already being sent to your IVR application server as a wav file. At that point you should be able to rename the upload file to "filename.wav" or you can re-encode it using sox to a more common format (below as 16-bit linear):
sox tmpname.wav -w -l filename.wav
If you attempt to convert a wav file as if it were raw data sox will attempt to convert the wav header information as if it were audio data. That data will generate the "pop" you are hearing.
Regards,
Plum Support
sox tmpname.wav -w -l filename.wav
If you attempt to convert a wav file as if it were raw data sox will attempt to convert the wav header information as if it were audio data. That data will generate the "pop" you are hearing.
Regards,
Plum Support