This page will show how to convert your sound file(s) into PCM 16-bit Mono WAV files at 22KHz sample rate, which is usually best for the current crop of microcontrollers which take WAV files and play them on a speaker. Currently, we are recommending two ways to convert the files: via use of the program Audacity or via iTunes.
To get 5200 to 5400 bytes per second, you have to work backwards. Select 8-bit (1-byte) per sample. So you only have 5200 to 5400 sampleRate to work with. PCM data is raw audio samples. The only way to get higher quality audio into less bytes is by audio compression, into mp3 or aac or some other audio compression codec.
So let us stay with uncompressed "wave" format. There are two choices you need to make here: sample rate. bit depth. In video we use 48kHz as sample rate, on CD-s it is 44.1 kHz. Both work equally well as far as normal sound goes. Rarely anything different, and then the receiver of the files probably will tell you.
Mono: Stereo: Mono: Stereo: Mono: Stereo: Mono: wav (105 KB) wav (73 KB) wav (145 KB) wav (145 KB) wav (289 KB) wav (289 KB) wav (577 KB) PCM (uncompressed) 16
5. Enter a name and select “Save as type: WAV (Microsoft) signed 16-bit PCM”. 6. Leave the file there Convert from Stereo to Mono Channel do the following: 7. After opening the file, click on the arrow depicted below. 8. Click the arrow and Split Stereo to Mono and save again as in previous step.
In Audacity with your file open, confirm the project rate is 8000 (shown in lower left corner of progress bar). Then, choose Edit | Preferences | File Formats. In the Uncompressed Export Format, choose Other Then, in Header, choose WAV (Microsoft) and in Encoding, choose U-Law. Then, choose File | Export as WAV and simply name it appropriately.
Pls can someone suggest a software I can use in converting my recorded prompt to the standard IVR 8khz, 8k bit rate mono wav file. The best I could do was 64kbps bit rate instead of 8kbps required by IP IVR. Your responses will be well appreciated. Thanks, Kayode
(This sets the file to 8-bit, and with the 8000 Hz project sample rate, this means you have a 64 kbps bit rate.) Click OK. Name the file and click Save. To save a recording as a WAV file using Audacity 2.1.2: Open Audacity. Find and open the sound file. If the file is stereo, click above Mute/Solo and choose Tracks > Stereo Track to Mono.
.
convert mp3 to pcm 8khz 16 bit mono