[LAU] Resampling 48000hz samples down to 44100hz?

Gabriel M. Beddingfield gabrbedd at gmail.com
Fri Jan 29 16:26:37 EST 2010



On Fri, 29 Jan 2010, Andrew C wrote:

> Hey all,
>
> Anyone know any quick ways to resample a large amount of .wav files with
> spaces in them from 48000hz to 44100hz while still keeping the same wav
> names?

Using sox and the command line, you could do it like this:

$ cd /path/to/wav/files
$ for N in * ; do \
     sox "$N" -r 44100 "/path/to/resampled/files/$N" ; \
   done
$

hth,
gabriel




More information about the Linux-audio-user mailing list