-
Triggering movement of an object by a sound in another comp
Hi – I’m a bit stuck on this. What I’m trying to do is set up a situation where when soundkeys hits a particular level/output (e.g. 100) the position of an object in another comp (actually it’ll be many many comps in the end) moves from 0 to 100. I want the object to start moving a second before the sound hits 100. I’ve no problem “looking forward” 1 second (using valueAtTime) and getting the data out of the other comp, and triggering a crude movement, but I want it to be a gradual shift of position.
I’d thought I’d be able to use a persistent variable (x = x + 1 etc.) but I can’t. I’ve looked at the various “x = x + 1” postings on here and I’m sorry, I don’t understand them.
Can anyone help?
Thanks – Patrick