-
variable statement expression – sometimes rate of spin, sometimes wiggle?
Hello!
I am trying to write an expression that has multiple states – if the audio signal is below 60, it wiggles, if the audio signal is above 60 then the wiggle behavior is overridden by a spin behavior
I have the two separate expressions here- what is the proper syntax to combine them and make them work as described above?
bamm= thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
rates = (bamm> 52) ? 1800 : 150 ;
[time*rates]
//[time*(if(bamm> 60) 500 else 150)]
//(Math.pow(bamm,0))
//if(bamm> 60) 500 else 150
temp= wiggle(7, 50);
wiggle(3,temp)