Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Typing (Typewriter) Effect – same speed on sevreal text layers

  • Typing (Typewriter) Effect – same speed on sevreal text layers

    Posted by Dave Mad on June 6, 2013 at 10:34 am

    Hi, I was kindly sent over here from the After Effects Forum. Original Post: https://forums.creativecow.net/thread/2/1037912#1037983

    So here’s my question which is about the Typewriter Effect, but supposedly my problem can be solved with expressions. I hope anyone has an idea how to do this:

    I am using After Effects CS6 on Win7. I found an issue with the Animate In Effect “Typewriter” that I am sure is easy to solve and I am probably overlooking something obvious.

    So the speed of the typing is defined by how far the two keyframes (Start 0% –> 100%) are apart. In my specific case I want one letter to appear every two frames. With some patience I can move the 100% keyframe back and forth until the timing is right. However, I want to apply the same effect on let’s say 50 text layers (my project has a lot of text blocks) with different lenghts. If I just copy/paste the effect onto the other layers, the timing will never be the same unless the text layers have the same amount of characters (which is not the case).

    Is there a way to define the typing speed by “letters per frame” or something? Is there a way to do this with Expressions? Or any workaround for this? It would help me big time and spare me some gray hair…

    Any help is appreciated.

    Thanks,

    David

    Daniel Santos replied 5 years, 8 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    June 6, 2013 at 5:00 pm

    An expression like this for the Range Selector Start value should work (not tested but should be close):

    txt = text.SourceText;
    cps = 10; // characters per second
    100*(time-inPoint)*cps/txt.length

    Dan

  • Dave Mad

    June 6, 2013 at 5:47 pm

    thanks, I will try and let you know!

  • Daniel Santos

    December 23, 2020 at 10:14 am

    It works but the first line should be:

    txt = text.sourceText;

    Only the “S” should be lowercase.

    Thank you!

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