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
C74 RSS Feed | © Copyright Cycling '74