FORUMS: list search recent posts

Hi to all, i don't know anything about the expressions! how to fix this thing?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tommaso Guarniera
Hi to all, i don't know anything about the expressions! how to fix this thing?
on Nov 23, 2015 at 6:13:26 pm

I'd like to make a square rotating with the basses of a song, with the plug-in Trapcode Sound Keys, i copied in a video this expression:
minAudio = 0;
maxAudio = 100;
minStretch = 90;
maxStretch = 130;
audioLev = thisComp.layer("Sound Keys").effect("Sound Keys")("Output 1");
s = linear(audioLev, minAudio, maxAudio, minStretch, maxStretch);
[s,s]

but i think that it works just on the scale, how to fix?
sorry for the bad english i'm italian.
Help me please i'm becoming crazy


Return to posts index

Kalle Kannisto
Re: Hi to all, i don't know anything about the expressions! how to fix this thing?
on Nov 24, 2015 at 7:24:37 am

Changing the last line to "s" instead of "[s,s]" should do it. Scale is a two-dimensional value (x,y) while rotation is one-dimensional (angle).

(Actually, deleting the last line would do it as well, since the next to the last line gives the same value.)


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]