i had an idea for a anti aliased wavetable oscillator, but i would need some guidance/ideas.
basically i created a pd patch that spits out the 32 first harmonics of an arbitrary waveform. (hand drawn or generated) i thought i would save those values in a table and use them in axolotiland like this:
i would create an object with 32 sine oscillators running in the relation to the overtones. so:
base frequency = oscillator1
base frequency * 2 = oscillator2
base frequency * 3 = oscillator3 etc.
with the info of the table i would then adjust the gain of each oscillator. now the clue for anti aliasing!
i would check in the code if the base frequency * x is above nyquist and if it is, i would simply set the gain of that oscillator (and any above) to 0. brilliant, no?
my main questions are, what is the most efficient way to create a 32-sine oscillator with adjustable gain for each oscillator? (a patch with 32 oscillators and 32 math objects takes 30%)
are there any other simpler ways of band limited wavetable playback?