ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

What has a similar result to time-remapping... but it's not time-remapping?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
chris fitzgerald
What has a similar result to time-remapping... but it's not time-remapping?
on Mar 2, 2017 at 3:51:20 pm

Hi, I'm fairly novice when it comes to AE expressions, so I'd be really grateful if anyone could help me figuring this one out.

I want the value of the key frames in a slider, to effect a Photoshop layer, similar to how time-remapping would work.
(but can't use time-remapping because it's a still image, and I can't pre-compose because I need the spatial coordinates to export to Cinema 4D).

i.e. I have null layer named "midi" with a slider "ch_0_dur" which has key-frames with values between 1 and 0. And when those key-frames occur I need them to freeze the Photoshop layer comparative to the value of the key-frames. For example if the value of the key-frame is .25 the Photoshop layer pauses for 5 frames. And then continues doing it's other animation.
It's worth mentioning that i already have this from slider "ch_0_vel" effecting the position;
slider = thisComp.layer("midi").effect("ch_0_vel")("Slider");

and this effecting the orientation;
slider = thisComp.layer("midi").effect("ch_0_pitch")("Slider");

So a new expression would have to work together, or independently of these.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved