-
Expression help, incrementing a variable in an expression ???
Hi all.
I’m trying to make a movie play only when the soundtrack level reaches a certain value and then pause until the audio goes up again. So on the audio side no problem. I’ve got the sound level converted to keyframes. But of course I can’t directly access the speed of the movie in AE expressions (would be easy : if (sound level > thresold) speed = 1 else speed =0 ). So I’ve got to get the same effect with timeRemap. But to do so I need to increment the timeRemap value when the sound is bigger than the treshold. And keep the current timeRemap value to simulate a pause in the movie. But I can’t seem to increment a variable in AE expression to get this effect. Is it possible ? Any other ideas to achieve this effects ? Thx very much