On Saturday, May 08, 2010 14:01:24 Julien Claassen wrote:
Hi Andrew!
I'd still go for either the zita-resampler by Fons from
kokkinizita.net
or for sndfile-resample, which should be in any distro, with Debianlike
distros search for it like this:
apt-cache search sndfile
Install the progs pakage.
Both have a nice help. Yet I don't think triangular dithering is the
best you can do. I think some kind of shaped noise.
resample --help
or:
sndfile-resample --help
should give you enough output.
With sndfile you'd also need sndfile-convert to change the bitrate:
sndfile-convert -pcm16 in.wav out.wav
sndfile-convert -c 0 -to 44100 out.wav final.wav
Or:
resample --rate 44100 --16bit --lips in.wav final.wav
Instead of --lips you can also use --tri for triangular dithering. I
don't know of any such option for sndfile-convert.
I hope that helps.
Kindest regards
Julien
So,
- for normalizing:
http://normalize.nongnu.org/ with --peak option
- for sample rate changing: sndfile-resample from SRC
- for bit depth changing and dithering: resample from Fons
Is it the best?
Andrew