Activity › Forums › Adobe After Effects › pickwhipping just the Y
-
pickwhipping just the Y
Posted by Iancorey on May 8, 2007 at 4:00 pmUsing Soundkeys. Using pickwhip to apply animation.
temp = thisComp.layer(“Gray Solid 2”).effect(“Sound Keys”)(“Output 1”);
How do I change this so that movement does not occur on the x-axis?
Thanks!
Iancorey replied 19 years ago 4 Members · 5 Replies -
5 Replies
-
Ben The camera guy
May 8, 2007 at 4:11 pmi think you can add, in your second line, an x=x value or something like that…where is dan when you need him?
-
Kevin Camp
May 8, 2007 at 4:27 pmi’m a little new to expressions, but i think something like this will work:
x = thisLayer.position[0];
y = thisComp.layer(“Gray Solid 2”).effect(“Sound Keys”)(“Output 1”);
[x, y]copy and paste this into the expression field for position of the layer you are linking to the sound output from sound keys.
you might also try asking in the ae expressions forum.
Kevin Camp
Designer – KCPQ, KMYQ & KRCW -
Mike Clasby
May 8, 2007 at 4:28 pmAdd this last line (after what you have):
[position[0], position [1] + temp]
-
Mike Clasby
May 8, 2007 at 6:21 pmSoundKeys probably already has a built in interpolation, but if not you can adjust the amount of Y reaction to the audio levels with this expression:
temp = thisComp.layer(“Gray Solid 2”).effect(“Sound Keys”)(“Output 1”);
audioMax = 25;
audioMin = 0;[position[0], position [1] + linear (temp, audioMin, audioMax, 0,100)]
Fill in your own min and max and the range of Y movement you want (the 0,100).
Reply to this Discussion! Login or Sign Up