Forum Replies Created

Page 1019 of 1081
  • position[0] is the pre-expression x value (static value + effect of any keyframes). So this expression:

    [position[0],thisComp.layer(“Audio Amplitude”).effect(“Left Channel”)(“Slider”)]

    says – use the pre-expression x value for x and the audio amplitude for y. To keep the original y value and affect x only, you’d do it like this:

    [thisComp.layer(“Audio Amplitude”).effect(“Left Channel”)(“Slider”),position[1]]

    Dan

  • position[0] is the pre-expression x value (static value + effect of any keyframes). So this expression:

    [position[0],thisComp.layer(“Audio Amplitude”).effect(“Left Channel”)(“Slider”)]

    says – use the pre-expression x value for x and the audio amplitude for y. To keep the original y value and affect x only, you’d do it like this:

    [thisComp.layer(“Audio Amplitude”).effect(“Left Channel”)(“Slider”),position[1]]

    Dan

  • That expression should move your layer to the top of the comp (without changing the x position) and bounce it downward in response to the audio (i.e. on the y axis only). Is that not what it does for you?

    Dan

  • That expression should move your layer to the top of the comp (without changing the x position) and bounce it downward in response to the audio (i.e. on the y axis only). Is that not what it does for you?

    Dan

  • Which expression are you talking about? Either of the ones suggested here should only affect y.

    Dan

  • Which expression are you talking about? Either of the ones suggested here should only affect y.

    Dan

  • If you just want to offset your y position with the audio amplitude, you probably want something like this:

    multiplier = -5;
    audio = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    value + [0,audio*multiplier]

    Adjust multiplier to set the direction (minus is up) and amplitude of movement.

    Dan

  • If you just want to offset your y position with the audio amplitude, you probably want something like this:

    multiplier = -5;
    audio = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    value + [0,audio*multiplier]

    Adjust multiplier to set the direction (minus is up) and amplitude of movement.

    Dan

  • I can’t repro the problem here. You have a text layer and you’ve applied the expression to the layer’s Position property, is that correct?

    Dan

  • I can’t repro the problem here. You have a text layer and you’ve applied the expression to the layer’s Position property, is that correct?

    Dan

Page 1019 of 1081

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