-
reduce samples
I have expressions controlling the position of layers from an audio file, but I would like some of the layers to only change positions every .3 seconds or so. I am not sure how to incorporate the following into my expression:
holdTime = .3; //time to hold each position (seconds)
seed = Math.floor(time/holdTime);
My original expression is below.
audio = thisComp.layer("Audio Amplitude").effect("Right Channel")("Slider");
y=(linear(audio,15,35,460,580));
[459,y]