AE Expressions Questine

Out of context: Reply #3

  • Started
  • Last post
  • 3 Responses
  • Hombre_Lobo0

    Found it!
    I had some code that changed the scale of a layer from 100% to 200% to match the amplitude of the music.

    Part of the expression -
    lin=linear(temp,0,30,100,200);

    when the amplitude was 0 the scale was 100%
    when the amplitude was 30 the scale was 200%

    (This was linked to a layer which had left channel, right channel, both channels and Parametric EQ effects.)

    Full expression on the layer changing scale -
    temp = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
    [temp*5,temp*5];

    lin=linear(temp,0,30,100,200);
    [lin,lin];

    Been a while since I've played with linking audio amplitude in expressions so i cant explain it too well.

    But i hope that helps dude!

View thread