Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Making audio react to opacity

Cow Forums : Adobe After Effects Expressions

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
cow
Making audio react to opacity
by Dumeyni Arnaud on Jul 24, 2008 at 1:14:27 pm

Hi all, thank you for reading this.

I'm a little noob with expressions and now I just realized i REALLY a noob.

I'm trying to make the audio level of a sfx go up and down along with one layer's opacity : when the opacity go down, the audio goes up, and vice versa.

I linked the audio level to the opacity, plus a linear expression :

temp = thisComp.layer("fond anime.avi").transform.opacity;
[temp, temp];
S=linear(temp,0,100,-48,0);
[S,S]

But the audio levels aren't changing.
Any ideas ? Please.. I can do your laundry :)



Respond to this post   •   Return to posts index

cow
Re: Making audio react to opacity
by Lloyd Alvarez on Jul 24, 2008 at 9:09:10 pm

you don't need the temp array, but it should work regardless. try this:

temp = thisComp.layer("fond anime.avi").transform.opacity;
S=linear(temp,0,100,-48,0);
[S,S]

-Lloyd

http://aescripts.com

Respond to this post   •   Return to posts index

cow
Re: Making audio react to opacity
by Dumeyni Arnaud on Jul 25, 2008 at 1:57:17 pm

Thanks Lloyd, I've tried but its not working.
I tried it again in a freshly created comp ( the solid and the audio ) its still didn't worked.

Its ok I just keyframed the audio level manually but i'm still curious why a simple expression like this didn't worked out.



Respond to this post   •   Return to posts index


cow
Re: Making audio react to opacity
by Lloyd Alvarez on Jul 25, 2008 at 1:59:19 pm

where are you applying the expression? it works for me here

http://aescripts.com

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]