Playing with the additive editor
I have been playing around with the additive editor lately, trying to reorganize the spectral edition features, and add more useful ones. Here is a short example, using the “interpolate” option to generate constant harmonics over the full spectrum…

… resulting in an approximation (because we only use 64 harmonics) of an infinite spike at the origin…

… then apply the “divide by harmonic number” transformation:

… and the resulting waveform is a saw wave ! Just refer to Dr. Fourier if you want to know why !
The only annoying thing is the oscillations around the edges. This is known as the Gibbs phenomenon, and it happens because we abruptly stop the harmonics series after 64. Fortunately, it can be reduced, by smoothing out the harmonics – this is exactly what the “anti-ripple” function does (applying a Hamming window over the spectrum)…

… leaving us with a beautiful, alias-free, pure saw wave to feed into Rhino’s filters !
It is also very easy to get a square wave from here, just use the “remove evens” function to get rid of the even harmonics:

So as they are, these spectral editing functions are already quite useful. One thing that could be added, though, is waveform editing functions for effects like PWM, quantization or rectification. Hmmm…. time to fire up xcode ![]()



