Help with resampling algorithm implementation

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi everyone,
I hope this is the right forum 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(0)).

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

The prototype of my implementation can be found here: https://gist.github.com/theWatchmen/746 ... d9466608ce

Post Reply

Return to “DSP and Plugin Development”