Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › Problem with making script for lyrics video

  • Problem with making script for lyrics video

    Posted by Lâm Nguyễn on January 14, 2020 at 5:13 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?

    Dan Ebberts replied 6 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    January 14, 2020 at 5:53 pm

    Something like this probably:


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

    Dan

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