04-04-2008 07:57 AM - edited 03-15-2019 09:51 AM
I need to convert some WAV files to
CCITT ulaw 8 khz 8 bit mono
I have Audacity installed, does anyone have any suggestions on the best way to do this conversion? Thanks.
04-04-2008 01:31 PM
Looking through Audacity (ver 1.2.6 is what I have installed) I do not see any particular way to change the format from there. The best way that I have found is to use the Windows Sound Recorder (if you're using Microsoft Windows).
Inside the sound recorder, you have the option to convert files to different formats. Just go to save as, and then at the bottom there will be a change button. When you click there you can change the format from PCM to CCITT ulaw and then change the attributes (8kHz, 8 Bit, Mono).
James
04-04-2008 02:20 PM
Wow that was a lot simpler than I expected. I did figure out how to do it in Audasity. Go to Edit>Preferences>File Formats>Uncompressed Format>Other>Encoding>uLaw
Mono can be accomplished by splitting the track, then deleting one of them. Then you get the option to switch the remaining one to mono. At the bottom of the application is a dropdown box where you can choose 8000Hz, it doesn't actually give an option for 8 bit, but I found that after I exported the WAV file the result was 8 bit. Thank you James.
05-13-2008 08:20 AM
So, After trying this. It still doesn't work. I REALLY hate switching to Sound recorder. Especially since I have MANY files to edit for our phone system.
Any other ideas how to get Audacity to work?
05-13-2008 09:31 AM
i believe you can do this with the windows sound-recorder, open the file and the use the save as... to select the proper format.
HTH
javalenc
if this helps, please rate
05-13-2008 10:05 AM
No, windows tools do not convert correctly to the format used by cisco.
05-13-2008 10:29 AM
Paolo,
Is there a specific product from Cisco that you're referring to? In the last few months I have done a lot of WAV file conversions for prompts used by different IPCCX scripts.
I have been using the Windows Sound Recorder, changing PCM files over to CCITT files and I have to agree with Jaime that you can use Sound Recorder to do it because every time they have worked successfully. I have even used the Audacity program to combine multiple WAV files, exported it into a PCM version and then converted it over using Sound Recorder to CCITT and they come in no problem.
I also used the Sound Recorder for Music On Hold streams. I had to convert to wideband (16 bit instead of 8 bit) to get it to work but they came through successfully.
Now I grant you they may not be the best quality in the world but I'm working with a free program from Windows, I accept this fact.
Could you be a little more specific?
James
05-13-2008 09:41 AM
Well I followed your steps you outlined in your April post and it seems like it works (going to Edit>Preferences>File Formats>Uncompressed Export Format>Other...>WAV header & U-Law option). Does the file not take when you upload to your Communications Manager?
When I tested this with a PCM file of mine and exported it to WAV, it converted to it a 8kHz, 8bit Mono CCITT file. Now it was a 8kHz, 8bit Mono PCM file before, not a 22.505kHz file like some of them that I have.
What are the original file properties? We know you're taking it from a PCM, but what kHz and bit?
James
05-13-2008 08:31 PM
These are the ways i normally do this
1. Using Windows sound recorder for G711
2. Using our test CCM 4.X (Drop MOH file) to convert from G711 to G729
We Also record prompts via Unity (This is our most used method) - ( We use the interview handler). normally we do this for G711 but i think that in the unity tools depot you can specify the recording format and change accordingly.
07-09-2008 10:16 AM
Export the file to save it.
File - Export - Options - Format = Other - Header = WAV - Encoding = U-Law.
Then just upload that saved file. Make sure it's save as 8k too. These options should stay saved after you export a file once.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide