Announcement

Collapse
No announcement yet.

After Effects Expressions Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    After Effects Expressions Help

    Need some help with Expressions in after effects.

    This is what I have but dose not work

    thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider") if (Both Channels < 1) 0 else .value

    What I want to do is have the effect to only take place when "both channels" are greater than 1. Once greater than 1 I want the effect to reference the key frame value by using .value

    I am pretty sure that if and else expression is what I need I just don't know how to use it.
    sigpic

    #2
    I know AE - been a long time singe I've used expressions. What effect are you trying to pull off?
    Originally posted by Matt-B
    hey does anyone know anyone who gets upset and makes electronics?

    Comment


      #3
      Never mind figured it out

      thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider")
      > 2 ? thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider")/4:0

      I am creating a glitch to match some music problem was that the key frames all had some value to them so the whole video was glitchy.

      I was able to use some adjustments to amplify there areas that needed the glitch, then I just needed to create and expression for the effect to only become active over a certain value.
      sigpic

      Comment

      Working...
      X