Hi Filip,
thanks a lot for your reply. Not sure if I am applying your suggestion correctly. Does it mean I paste your suggestion after I’ve defined y? Like this:
x=value[0];
a=thisComp.layer(“SLIDER controls”).effect(“Amplitude 1”)(“Slider”);
f=1.8461538462;
t=time-inPoint;
y=Math.sin(t*2*Math.PI*f/thisComp.layer(“SLIDER controls”).effect(“Speed”)(“Slider”))*a;
Math.pow(y, 0.5) * Math.sign(y);
[x,y]
Because that unfortunately doesn’t change the pulse of the math.sin. But maybe I am doing something wrong here..?