[linux-audio-user] how to change the bitrate of a wav file?

David dplist at free.fr
Sun May 22 17:18:05 EDT 2005

On Sun, 22 May 2005 15:44:28 -0400
Kenneth Dombrowski <kdombrowski at gmail.com> wrote:

> Hi All,
> I have a wav file which cdrecord is rejecting, I believe because it is
> 24 bit rather than 16; here is the output from 'file':
> taylor_oxley_dixon.wav: RIFF (little-endian) data, WAVE audio,
> Microsoft PCM, 24 bit, stereo 44100 Hz
> Would someone be kind enough to tell me the command to convert this
> file to 16 bit, please?  The sox manpage has only confused me.
> I did try:
> $ sox taylor_oxley_dixon.wav taylor_oxley_dixon.cdr
> sox: Failed reading taylor, oxley and dixon.wav: Sorry, don't
> understand .wav size

You could give a try to sndfile-convert, an example program that comes
with the excellent libsndfile library.

> Thanks in advance,
> Kenneth

Hope this helps.


More information about the Linux-audio-user mailing list