[LAU] bad header info in wav file (sampling rate). how to fix it?

David dplist at free.fr
Mon Oct 22 18:49:58 UTC 2012


On Mon, 22 Oct 2012 20:41:20 +0200
Paul K <mafeuser at gmail.com> wrote:

> Hallo people.
> 
> is there way to fix sampling rate from 48kHz to 32kHz.
> 
> prompt$ file clip.wav
> clip.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16
> bit, stereo 48000 Hz

You can use sox :

$ sox -r 32000 clip.wav -r 32000 clip-32.wav

HTH

-- David


More information about the Linux-audio-user mailing list