After Effects Expressions Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Massimo
    No R3VLimiter
    • Jan 2008
    • 3207

    #1

    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
  • george graves
    I waste 90% of my day here and all I got was this stupid title
    • Oct 2003
    • 19986

    #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

    • Massimo
      No R3VLimiter
      • Jan 2008
      • 3207

      #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...