This earlier post from Dan shows how:
https://forums.creativecow.net/cgi-bin/new_read_post.cgi?forumid=2&postid=881140
In your case, without the sliders:
freq = 20;
amp = 30;
w = wiggle(freq,amp);
[value[0],value[1],w[2]]
and with sliders on a null named “freq” and “amp”:
freq = thisComp.layer(“Null 1”).effect(“freq”)(“Slider”);
amp = thisComp.layer(“Null 1”).effect(“amp”)(“Slider”);
w = wiggle(freq,amp);
[value[0],value[1],w[2]]
or for a different wiggle for x,y and z, this:
xFreq = 7;
xAmp = 50;
yFreq = 3;
yAmp = 100;
zFreq = 20;
zAmp = 30;
wX = wiggle(xFreq,xAmp);
wY = wiggle(yFreq,yAmp);
wZ = wiggle(zFreq,zAmp);
[wX[0],wY[1],wZ[2]]
To connect these for sliders:
Layer>New>Null Object
then on the Null
Effect>Expression Controls>Slider Control
then select the “Slider Control” in the Effect Window, hit “Enter” and rename, “xFreq”,
select the “7” in the position expression (timeline window) then pickwhip (little box in the middle, looks like an “@” below the now red position numbers, drag it) to the Slider (“xFreq”) stopwatch. to get that line of the expression changed to;
xFreq = thisComp.layer(“Null 1”).effect(“xFREQ”)(“Slider”);
now the slider controls the xFrequency, 0 means no wiggle, so you can turn it on or off with keyframes on the slider.
Have fun.