Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesTrainingCreative Cloud DebateFAQ

Re: pulsing effect?

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


yikesmikesRe: pulsing effect?
by on Oct 31, 2006 at 6:14:15 pm

I think the best is to tie the Scale of the layer to a real heartbeat.

Import your heartbeat sound to your comp. Select it, then Animation>Keyframe Assistant>Convert Audio To Keyframes. This adds a new null named Audio Amplitude. Select it, hit "e" to reveal the Channel Sliders, twirl down the left, right or both channels.

Now in the layer to be pulsed, hit "s" to reveal the Scale Stopwatch, Alt Click that stopwatch, then drag the pickwhip (looks like an @) to the Audio Amplitudes Layer's Channel Slider (I like the both slider). You get an expression like this:

temp = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
[temp, temp]

Add "value +" to the beginning of the second line to get:

temp = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
value + [temp, temp]

This just lets the layer start at 100% scale and pulse up from there.

If the pulse isn't big enough, add "*2" to the end of the first line, that means "times 2", *4 means times 4, making ithe increase bigger by that much.

temp = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider")*2;
value + [temp, temp]

OR

You could just make one pulse with keyframes and add the loopOut expression:

loopOut("cycle", 0)

That will just keep repeating the 3 to 4 keyframes you used to set up one Scale Pulse.


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:
  • pulsing effect? by molly on Oct 31, 2006 at 5:20:44 pm
    • Re: pulsing effect? by yikesmikes on Oct 31, 2006 at 6:14:15 pm




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]