> On Tue, 1 May 2007 16:11:40 -0700, Speech Lover wrote:
>
>> My IVR application records WAV files in a SALT-format of mu-law 8KHz
>> 8kbps
>> mono, and I need to programmatically convert them to MP3 format for
>> another
>> application. I searched the Internet for a SDK and found a couple of them
>> that might do the work. One is Audio Developer SDK and the other one is
>> Audio Format SDK.
>>
>> Here's the problem:
>> When I convert a general WAV file (WAV PCM signed 16bit 16KHz 256kbps
>> mono)
>> to MP3, no problem! When I convert a WAV file generated from Microsoft
>> SASDK, it fails. It appears they complain the same thing - 8KHz sample
>> rate
>> is NOT supported.
>>
>> My stupid question is: what makes the difference between Microsoft WAV
>> format and a generic WAV format? Is Microsoft WAV format called ACM WAV?
>> Could you recommend any MP3 encoder?
>
> There only is one WAV format, that is the RIFF/WAVE type. However there
> are many different types of data that can be placed inside the container,
> such as your mu-law data.
>
> There are various conversion techniques such as ACM, but they only allow
> one step conversion. E.g. to convert from mu-law to mp3 you first have to
> convert the mu-law to PCM and then to mp3. Depending on what mp3 encoder
> you have installed it might not work at 8kHz either.
>
> In general mp3 is a very poor choice for this type of data, it does not do
> well at low bitrates. If your target bitrate is 32kbit ADPCM is a good
> choice, below that the speech codecs do best, e.g. Speex, G.729.
>
> --
>
http://www.chrisnet.net/code.htm> [MS MVP for DirectShow / MediaFoundation]