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

From: Simon Jenkins <sjenkins@email-addr-hidden>
Date: Sat Apr 01 2006 - 12:49:20 EEST

On Thu, 2006-03-30 at 22:33 +0200, torbenh@email-addr-hidden 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
Received on Sat Apr 1 16:15:04 2006

This archive was generated by hypermail 2.1.8 : Sat Apr 01 2006 - 16:15:04 EEST