on this evening i’ve done some experiments whith waveshaping in gen. i have found very strange behavior – i think this is a bug?
i think the outputs 2-5 of the following code have to be equal:
shape = 2;
ph1 = phasor(220)-0.5;
out1 = clip((ph1)*shape, -0.5, 0.5);
out2 = cos(clip((ph1)*shape, -0.5, 0.5)*twopi);
out3 = cycle(clip(ph1*shape, -0.5, 0.5), index="phase" );
out4 = cycle(max(min(ph1*shape, 0.5), -0.5), index="phase" );
out5 = cycle(min(max(ph1*shape, -0.5), 0.5), index="phase" );
but out3 and 4 are wrong
the waves of the outputs are in the attachment png-file.
have anywhere a idea.
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74