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.
- Dominic
Sam Clegg wrote:
I have noticed that there are many projects that reproduce the same sample conversion routines for changing sample rate / frequency / endieness / channels. Of the top of my head: esd/arts/xmms/madplay/ libaudiofile.
Perhaps there is already such a library, but if not I was hoping that this could warrant the creation of a second 'companion' library to mad (libresample or something). It could also contain down mixing routines for combining channels.
just a thought
sam