Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Synchronizing effects to music

From: After Effects Apprentice 16: Creating a Medical Opening Title

Video: Synchronizing effects to music

In the end, I've decided to go ahead and create five copies of my Vital Signs shape layer animation and I arranged them in 3D space interspersed in and out of my different lab results' text. I also renamed them Vitals Signs, one, two, three, four, and five so I could keep track at them in the Timeline panel. We are just starting to get pretty full and pretty busy now. Let's see what this animation looks like so far. I'll switch back to 1 View temporarily, put my cursor over the Comp panel and type the Tilde key so you can see this as a full resolution. (music playing) That's pretty nice.

Synchronizing effects to music

In the end, I've decided to go ahead and create five copies of my Vital Signs shape layer animation and I arranged them in 3D space interspersed in and out of my different lab results' text. I also renamed them Vitals Signs, one, two, three, four, and five so I could keep track at them in the Timeline panel. We are just starting to get pretty full and pretty busy now. Let's see what this animation looks like so far. I'll switch back to 1 View temporarily, put my cursor over the Comp panel and type the Tilde key so you can see this as a full resolution. (music playing) That's pretty nice.

I'm going to press Tilde to go back to my normal display, and return to 4 Views-Bottom. However, one problem is that those Vital Signs are a bit too obvious right now. I could blur them and reduce their opacity to go ahead and match the Lab Results layers. But you know what would it be even better? What if the amount of the blur for these signs was timed to the music? Well, we could keyframe that based on all of these markers, or we can use some automated functions in After Effects to help do this blurring in response to music for us.

I am going to deselect my layers, and the first thing I'm going to do is ask After Effects to use a Keyframe Assistant and covert the audio levels to a set of keyframes. By doing that, we'll have some values that we could either paste over to blur for our layers or even better use to drive expressions to help us automate that blur. So I Convert Audio To Keyframes, I will get a new layer called Audio Amplitude. It is a null object. You see this red box in the Comp panel. I'll turn off Visibility for now because I don't need that and I'll type "U" to reveal all of its keyframe parameters.

This gives me separate streams of keyframes for the left channel, the right channel and an average on both channels. And I see these values are bumping between close to zero and I think I saw things even in the 40s at one point there. I don't really need all of this detail, I mean you could animate things separately to left and right but just to clean up my display, I'm going to go ahead and delete left and right since I'm running out of real estate here. But one thing I think I would like is maybe some control, a master control over how much I'm going to blur by.

To do that, I'm going add Effect>Expression Controls, these are dummy controls just user interface items, they don't render any pixels that you can then wire into your expressions. I am going to set a slider control and change its name to "Maximum Blur". Okay. Now let's pick one of these Vital Sign layers that's visible. And again, I think I'll go to 1 View so I can see things in more detail, and more resolution and start setting up a blur for it. I'll do Effect>Blur & Sharpen>Box Blur, come to like this because it's so flexible, test its blur look.

That's kind of nice, but one nice thing about blurs i s they tend to have these blur dimensions. If I blur just in one dimension such as vertical up and down. I can see my shape a lot more clearly. It's blurred but it isn't just the cloud of pixels at this point. It's something where I can make up the waveform and it looks more interesting. Okay, that's cool. Now before I create an expression, I need to see everything I want to wire that expression to. I want to wire it to the Audio Amplitude and I want to wire it to this Maximum Blur slider.

Okay, the next thing I want to do is control the blur radius, the depths of blur. So hold down Option on Mac, Alt on Windows, click on the stopwatch and now an expression for it will be revealed down here in the Timeline panel. I want to use something known as a Linear Interpolation Expression. We cover this back in the Expressions Course. You can get at it underneath this expression language menu. I find this is one of those expressions I use so often, it's worth memorizing. It says I will make a linear interoperation, basically convert one series of numbers to another, and I need to enter five values inside a parenthesis.

What my master is, the range of my master, say 0 to 100 and then the range I'd like to end up going to, 0 to whatever my maximum blur is. Well, I'm following that amplitude for both channels. So I'll drag to that slider, type a comma to separate my numbers, and I don't really know what the real maximum of both channels is. I'm going to say it goes from zero at a minimum to let's say 100 as a maximum and comma again. And by the way, you might have trouble typing in your expressions because you're running out of room in the timeline panel.

If you accidentally click off you might getting an expression error. Don't worry, just click back on the expression, move your cursor to where you were and keep typing. Anyway, as both channels amplitude goes from 0 to 100, I want my blur to go from 0, to whatever this maximum blur slider says, that's why I created it in the first place. Now I'll type a closing parenthesis, type Enter and now I have an expression. My blur went away that's because my Maximum Blur slider defaulted to zero.

As I increase it, you'll see the blur on my nice little Vital Sign display changes as well. Let's drag the current time indicator through here to get an idea what these blurs look like. That's not a bad blur early on. Later on in here, where is my guy from Vital Signs two? There he is. That might be too much blur for later on. I can always keyframe the maximum blur amount to have more maximum blur early, when there's just the heartbeat, and less maximum blur later, when the music is louder.

But we'll just try this value for now. Once you've created one combination of an effect and an expression, you can copy the effect, and we'll go ahead and copy any attached expression as well. I'll select Vital Sign 1, and paste, and then pick my other ones and paste those as well. And now, all of my Vital Signs are being blurred in response to the music's amplitude. Great! The last thing I think I want to do though is I still want to knock down their opacity and maybe use an add mode like I did on these other results layers.

That's not a problem. I twirl these guys up so they're easier to read, reveal the opacity for all of them by pressing T, scrub them down to where they blend in nicely with the background, somewhere around there and finally, toggle switches and modes and put them in Add mode. And once I've done, so I might want to tweak my opacity a little bit, but that actually looks pretty good. Now that I've done these changes, let's go ahead and RAM Preview one more time. I put my cursor over to Comp panel to say this is panel I want to see.

Press the Tilde key to zoom up to maximum display and RAM Preview to see how my expression is working. I don't think I'm going to bother to preview the whole thing. I just want to get an idea of whether or not I like it. (music playing) I think we're getting a really close to the point where we can show the client a proof.

But first, let's make a few more tweaks just to go ahead and clean some things up and then we'll render that proof for the client. I'll tap the Tilde key one last time to go back to my normal display, and of course remember to Increment and Save.

Show transcript

This video is part of

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed After Effects Apprentice 16: Creating a Medical Opening Title.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.