Hi Marco,

On 13.04.24 16:26, Marco Castorina wrote:
Hi everyone,
  I am hoping this is the right place to post this question.

I am trying to implement the resampling algorithm as described in this
paper: https://ccrma.stanford.edu/~jos/resample/resample.pdf

I managed to construct the h (windowed sinc) table, and I have
implemented the loop. I am having a hard time to compute the eta
interpolation factor and the l index index for the h table. The "fixed
point" implementation of the paper is a bit confusing to me.

Looking at figure 7 in the paper, I think the interpolation factor needs
to be computed between the h entries instead of between the original
samples. However I don't understand how to compute the starting point
(h(l)).

I have just started working with audio code, so I might be
misunderstanding something fundamental about the paper.

if the primary purpose is not learning/education, then I would highly
recommend to use an existing (and typically highly optimized) library,
e.g. libsamplerate or zita-resampler:

http://www.mega-nerd.com/SRC/

http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html

Best,

Giso


I have coded a prototype which is shared here:
https://gist.github.com/theWatchmen/746f35c349748525b412cfd9466608ce

Apologies in advance if this is not the right forum.

Marco
_______________________________________________
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org
_______________________________________________
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org

Reply via email to