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
C74 IN YOUR INBOX
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.