Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions having an Audio Spectrum that shows text

  • Mike Clasby

    August 22, 2007 at 7:30 pm

    Do you want each letter to appear on the beat?

    If each letter were it’s own layer you can do what you want with Dan’s page, here:

    https://www.motionscript.com/design-guide/toc.html

  • Mike Clasby

    August 22, 2007 at 7:35 pm

    “Audio Beat Counter” is what you want on that page, direct link here:

    https://www.motionscript.com/design-guide/audio-count.html

  • Sam Rose

    August 22, 2007 at 9:22 pm

    What I need is for the text to look like the spectrum also. The text would be bigger if the beat was louder. The text would be the spectrum so it would need to look kind of fuzzy.

    Sorry, this is a difficult one to explain.

  • Mike Clasby

    August 22, 2007 at 10:27 pm

    “The text would be the spectrum so it would need to look kind of fuzzy.”

    Don’t really know what that means, can you post a link that’s close?

    If you want the different letters in the words to react individually as an audio spectrum, I know Trapcode’s Sound Keys can actually apply different parts of the audio (frequencies I think) to scale and such, so you apply Sound Keys and take use Range1,2 and 3 for the scale for different letters in your word. You could use multiple instances of Soundkeys to actually do say 10 samples, giving each to the scale of a different letter.

    But I don’t own Soundkeys… so I’m no real help there.

    AE’s Convert Audio to Keyframes just works off Amplitude (loudness) so you can scale all the letters at once, but not each letters as part of the spectrum (as you can in Soundkeys). If you want to scale the word as a whole, see this page from Dan:

    https://www.motionscript.com/design-guide/basic-audio.html

    Just move the anchor point to the middle and bottom of the word, with the Pan Behind Tool so it will scale from the base.

    This expression modified from Dan’s will scale only the Y scale so the Text bounces up and down, not growing out to the side. change the last line to this:

    [scale[0],scale[1] * stretch]

    Still not sure of the look your going for.

  • Sam Rose

    August 23, 2007 at 4:00 pm

    Hi
    Look at this
    https://www.youtube.com/watch?v=jyXZws0DeUc

    Where Bart and Homer speak I want that but then where there heads appear on the spectrum I want text there.

    That is how I want it to look like

  • Mike Clasby

    August 24, 2007 at 2:52 am

    It looks to me like the audio wave are on a layer in front of the Simpson heads, so they’re on their own layer.

    I Take the text and Layer>Auto Trace with Threshold and Tolerance at 1. You get a new layer named Auto-Traced Your Text. And M reveals masks to match the letters. Add Stroke, choose your color and check “On Transparency” and check “All Masks”. Then on the layer’s Position put this expression:

    minAudio = 0;
    maxAudio = 15;
    maxStretch = 2.0;

    audioLev = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);

    stretch = linear(audioLev, minAudio, maxAudio, 1.0, maxStretch);

    [scale[0],scale[1] * stretch]

    Be sure and move the anchor point to the bottom of the text so it grows from the bottom.
    This is the expression hat changes on the Y of the text.
    Now just drop a Render>Audio Wave Spectrum on a new solid or do Aharon’s tut named “Creating a Custom Wave Form – Part 1 and Part 2”

    Just click on his head, main AE page and scroll down:
    https://leaders.creativecow.net/leaders/rabinowitz_aharon/

    Homer, say Hi to Marge for me.

  • Sam Rose

    August 24, 2007 at 2:24 pm

    Hi
    Thanks for the reply
    This is what I have typed into my expression for the position (under the transform tab of Auto trace Quake Central)

    transform.position;minAudio = 0;maxAudio = 15;maxStretch = 2.0;audioLev = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);stretch = linear(audioLev, minAudio, maxAudio, 1.0, maxStretch);[scale[0],scale[1] * stretch]

    I get this error
    ‘After Effects warning: Bad argument:couldn’t find layer named ‘Audio Amplitude’
    Expression disabled.

    Error occured at line 1.
    Comp: ‘Comp1’
    Layer:2 (‘Auto-traced Quake Central;)
    Property:’Position’

    What do I do now?

  • Mike Clasby

    August 24, 2007 at 4:58 pm

    Wow, that a lotta line 1.

    My old, but nimble English teacher would have said, “That’s a run-on sentence” three times before she wacked me with a ruler.

    Just curious why you didn’t use the expression recommended in the earlier post?

    And, hmmm.. did you Convert Audio to keyframes? Maybe you don’t have that layer.

    Anyway, line 1 would be:

    minAudio = 0;

    Then line 2 would be:

    maxAudio = 15;

    And the whole expression would have 10 lines (I’m counting the spaces, too) and look like this:

    ————————————–

    minAudio = 0;// line 1 expression starts here
    maxAudio = 15;
    maxStretch = 2.0;

    audioLev = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);

    stretch = linear(audioLev, minAudio, maxAudio, 1.0, maxStretch);

    [scale[0],scale[1] * stretch]// line 10 expression ends here

    ———————————————–

    That works for me.

    Otherwise, maybe I’m being “Homer-ed”…

    “Are you having a laugh? Is he havin’ a laugh.”

    Sorry I’ve been watching to many “EXTRAS”… that Ricky Gervais’s punch-line.

  • Sam Rose

    August 24, 2007 at 5:36 pm

    Oh, I didn’t no you could do seperate lines. I’ll try again

  • Sam Rose

    August 24, 2007 at 5:47 pm

    Hi
    Re-typed it and I still get a problem, here is a screenshot

    [url=https://img406.imageshack.us/my.php?image=errorxk2.jpg][img=https://img406.imageshack.us/img406/1802/errorxk2.th.jpg][/url]

Page 1 of 3

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