ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Problem with making script for lyrics video

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Lâm Nguyễn
Problem with making script for lyrics video
on Jan 14, 2020 at 5:13:53 pm

Hello guys! I'm just a newbie with expression in AE and I'm doing a lyrics video. My idea is adding a text box with full lyrics and timing the lyrics synchronizely with the audio by using the position of the textbox moving along the Y axis. More detail:
- Value of Y position for the first sentence = 540
- Value of Y position for the 2nd sentence = 540 + 150 (duration)
...3rd sentence = 540 + 150 + 150
...

Is there anyway to make it automatically do the animation each time I set a keyframe at the exactly time I want to?


Return to posts index

Dan Ebberts
Re: Problem with making script for lyrics video
on Jan 14, 2020 at 5:53:22 pm

Something like this probably:


n = 0;
if (numKeys > 0){
n = nearestKey(time).index;
if (time < key(n).time) n--;
}
540 + n*150



Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]