How to interpolate within a wavetable oscillator?

    Mar 12 2010 | 1:25 pm
    Hello Developers,
    I'm currently building a wavetable-based oscillator like [cycle~] with some own functionality I need. I know that [cycle~] uses some kind of interpolation to calculate its output but I don't know how is this done in an efficient way (I suppose there must be some trick that makes things faster than simply choosing the two closest values to the current phase of the oscillator and do the interpolation, which consumes a lot of CPU as I suppose). Can somebody give me some hints to do this?
    Thank you, Adam