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

From: Erik de Castro Lopo <erikd-lad@email-addr-hidden-nerd.com>
Date: Mon May 23 2005 - 00:15:02 EEST

Kenneth Dombrowski 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?

Use sndfile-convert:

    sndfile-convert -pcm16 taylor_oxley_dixon.wav taylor_oxley_dixon16.wav

In Debian, sndfile-convert is part of the sndfile-programs package.

Erik

-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@email-addr-hidden-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"Having a firewall that allows NFS to the Internet is like having a
seat belt that lets your head touch the dashboard." -- Marcus Ranum
Received on Mon May 23 04:15:04 2005

This archive was generated by hypermail 2.1.8 : Mon May 23 2005 - 04:15:05 EEST