On Thu, May 16, 2002 at 10:06:39AM -0700, Dominic Mazzoni wrote:
Sam Clegg wrote:
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.
Hmm, I think getting the name right seems to be the hardest part at the moment ;)
There is a new project on sf.net started my myself and a few people working on asd (think better esd). At the moment it's just called 'libsample', but I think we are going to rename it to 'libresample' or 'libpcm' (although it will support alaw and ulaw, hmmm).
What we hope to do is bring together all the existing resampling routines and make them accessible through a simple unified API.
We're starting with these two: http://ccrma-www.stanford.edu/~jos/resample/ http://www.atri.curtin.edu.au/~ajh/resample/
Check out http://libsample.sourceforge.net/. At the moment there is only one simple linear interpolation algorithm implemented. Anyone who wants to help is welcome to CVS access.
samo