Sam Clegg wrote:
On Fri, May 03, 2002 at 08:56:29AM -0700, Dominic Mazzoni wrote:
Yes, and Erik de Castro Lopo has just written a very nice resample routing for the newest version of libsndfile.
I would very much like to see a small, portable "libresample".
Maybe resample isn't the best title, because it would make sense for it to encompass changing both sample size (16-bit, float) and sample rate.
Can't changing the sample size be viewed as resampling in some sense?
Sure, why not? I think that when most people use the word "resampling" they're referring to changing the sample rate. Changing the sample size is trivial unless it involves dithering, therefore the library would be a "resampling and dithering" library.
I don't care what we call it - I'd just like to see people collaborate on the library instead of everyone writing their own resampling and dithering routines into their libraries. I've heard discussion of these routines being provided in future versions of libmad, libsndfile, and portaudio already.
- Dominic