On Fri, Aug 24, 2012 at 11:48 PM, Fons Adriaensen
<fons@linuxaudio.org> wrote:
The easiest way in the case of wavetable synthesis is to upsample
your waves by a factor of say 8, then use linear interpolation.
So the preparation process is:
-record the sounds
-upsample x8
Live playing:
-downsample the wavetable to the size needed for the frequency that is played
Do I understand the steps correctly?
Provided you have a *good* interpolation method, two things follow.
You mentioned linear interpolation, I think that will be sufficient considering its an instrument not an emulator, crunchy aliasing? Thats meant to be there :)
The alternative
is to compute the phase trajectory of the entire waveform, which will
tell you the exact pitch with much more precision than looking at the
waveform.
I don't know how to compute the phase trajectory or that, but it sounds like its not strictly necessary so I'll leave that for the time being.