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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx (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

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux