[linux-audio-dev] linear resampling is crap ? (was: fast linear resampling on ARM - suggestions?)

Simon Jenkins sjenkins at blueyonder.co.uk
Sat Apr 1 09:49:20 UTC 2006


On Thu, 2006-03-30 at 22:33 +0200, torbenh at gmx.de wrote:

> i need all features of libsrc (slowly changing samplerate, and resample
> factors of 1.00001 or so)

Lets assume - unrealistically, but for the convenience of the
maths - a sample rate of 50kHz and a buffer size of 1000. Your
resample factor of 1.00001 or so means you need to "find" or
"lose" a sample about once every 2 seconds, and 99% of your
buffers will be precisely the same size going out as they are
coming in.

Is putting the entire stream through a resampler (especially
a "crap" one) the thing to do here? I'm wondering if there
might be a better way to gain or lose the occasional sample.

erm... Anyone?

Simon Jenkins
Bristol, UK





More information about the Linux-audio-dev mailing list