Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions KeyFrames effect 1 axis

  • KeyFrames effect 1 axis

    Posted by Harrison Willett on July 16, 2008 at 8:05 pm

    I am using Dan’s expression

    minAudio = 0;
    maxAudio = 15;
    maxStretch = .2;

    audioLev = thisComp.layer(“base”).effect(“Both Channels”)(“Slider”);

    stretch = linear(audioLev, minAudio, maxAudio, 1.0, maxStretch);

    value * stretch

    But I want it to effect only the x scale and for the Y to still be at 100%. What do i need to modify to create this effect?

    Dan Ebberts replied 18 years ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    July 16, 2008 at 9:29 pm

    Just change the last line to this:

    [value[0] * stretch, value[1]]

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy