Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expression linking vertical scale to Sound Keys output

  • Expression linking vertical scale to Sound Keys output

    Posted by Chad Shack on July 18, 2013 at 4:16 pm

    I have a shape layer that I want to parent it’s vertical scale only (leaving the horizontal unaffected) to a Red Giant Sound Keys output.

    The resulting affect would be the shape layers scaling up and down to the audio, while it’s horizontal wasn’t changed.

    In the attached image you can see I have generated the Sound Key output keyframes. Unchecked the constrain proportions for the scale property and parented that to the Sound Keys output. I just need to know what I need to add to the existing expression to get the result I am after.

    [IMG]https://i40.tinypic.com/293g7xx.png%5B/IMG%5D

    Any and all help is very appreciated.

    Chad Shack replied 12 years, 10 months ago 3 Members · 3 Replies
  • 3 Replies
  • Erik Waluska

    July 18, 2013 at 5:24 pm

    Just replace the first “temp” in second line with “value[0]”, like this:

    [value[0], temp]

    The “value[0]” refers to the first parameter in the array. You would think it would be value[1] but the array parameters are counted starting with 0.

    HTH

    Erik Waluska
    EAWmedia

  • John Cuevas

    July 18, 2013 at 5:31 pm

    change the array to be [transform.scale[0],temp]

    ETA: or do what Erik says…

    Johnny Cuevas, Editor
    Thinkck.com

    “I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work.”
    —THOMAS EDISON on inventing the light bulb.

  • Chad Shack

    July 18, 2013 at 6:18 pm

    Thank you both very much.

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