Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Lyric Video: replace single text letter with comp of animated letter

  • Lyric Video: replace single text letter with comp of animated letter

    Posted by Linus Kraemer on May 31, 2017 at 11:29 pm

    I’m making a lyric video much like this one but I want to do it without having to manually position each animated character:
    https://www.dropbox.com/s/kbg1202jxqz2kw5/omen%20lyric%20video.mp4?dl=0
    (skip to 19s)

    Full description of my problem is below, but this is my question:
    I want to find the position of a character from a text box so that I can place a composition in that character’s place. Is this possible??

    —-

    I’ll design the static layout of the type using a standard font in a normal text box. Call that “LYRICS”.
    Then I will make 26 unique character animations, one for each letter of the alphabet.
    Each letter animation lasts 2 seconds (to be looped). A single master letter comp has every letter in sequence so it is 52 seconds long. Call that comp MASTER_LETTER.


    To get the right letter animating on each copy of MASTER_LETTER.
    On the time remapping property of MASTER_LETTER:

    if (thisComp.layer(“LYRICS”).text.sourceText[index] == “A”)
    then //loop the 1st two seconds

    if (thisComp.layer(“LYRICS”).text.sourceText[index] == “B”)
    then //loop the 2nd two seconds

    if (thisComp.layer(“LYRICS”).text.sourceText[index] == “C”)
    then //loop the 3rd two seconds

    etc for every letter.
    —-

    But the position I cannot work out!

    On the position property of MASTER_LETTER:
    thisComp.layer(“LYRICS”).text.sourceText[index].position

    but there’s no such thing as a position property for sourceText!

    I want to find the position of a character from a text box so that I can place a composition in that character’s place. Is this possible??

    Thanks for any help! Hopefully there’s a solution out there!

    Linus Kraemer replied 8 years, 11 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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