I have been working on a demo of additive synthesis for a class. I wanted to show the construction of tri, square, and sawtooth waves as mere sums of harmonics of sine waves. So i made a poly with a simple patch that mutes even harmonics for triangle and square, and adjusts the amplitudes (1/harm#^2 for tri, 1/harm# for sq. and saw) as necessary. The thing is, the oscilliscope doesn't show a waveform that looks anything like it is supposed to (though the spectral content looks about right).
So I guess I need to make some sort of phase adjustment so the picture looks right...
How can I show the class that science is TRUE? :)
on a related note, why aren't the anti-aliased oscillators normalized from -1 to 1?