Reply To: Hard Sync with Gen Saw Example

Forums > Gen > Hard Sync with Gen Saw Example
May 31 2013 | 8:41 am

Hi Peter,
unfortunately I don’t read very well genexpr and I find difficult to help you with the code, but I’m studying blit and hardsync.
My solution starts from the consideration that in hardsync we have a series of complete and sliced waves: my idea is that the sliced one can be interpreted like a wave with higher frequency and lower amplitude.
To create a smooth transition between harmonics I use a linear interpolation between two blits with differents harmonic contents, as found on the bottom of this useful tutorial:

Mine isn’t a real solution, it is more a fake simulation of hardsync, but gives decent results even with bleps and sinusoids.
I hope it can be helpful

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required