[LAD] Help with resampling algorithm

Marco Castorina <[email protected]>
Newsgroups gmane.linux.audio.devel
Message-ID <[email protected]>
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.

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 -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.