Audio in After Effects

Recently I ran into a problem, where I discovered that Audio Levels in After Effects can’t work with expressions. I had never tried it in all the years I’ve been using AE. But for a tutorial I have planned, in which the video effects the audio, I needed to use expressions to effect my audio levels. While the values seem to be effected, the audio doesn’t actually respond to those changes in values.

So the secret is to use an Audio Effect, and then use the volume controls in that effect with expressions. I posted about it in twitter, and my friend Maltaannon suggested I use the Stereo Mixer effect, and that did the trick. There are other audio effects with which you can do this, but that one is probably best suited for simple volume controls. And if you put an expression on these effects, they respond properly, controlling the audio volume.

And if you want to be really good and proper about it, you should never animate the levels on their own to control volume. They work on decibels and not percentages, which makes it very hard to control in a way that makes sense. Think of it more as a setup tool that should never be animated, even though it can be.

Nick Campbell recently did a tutorial on using Audio in AE that covers all sorts of stuff: How convert your MP3s into AIFF files using QuickTime, the proper way to do fades and cross dissolves using Plugins, and more. You can watch that here.

I also have some tutorials on working with Audio in AE. Check those out here.

5 thoughts on “Audio in After Effects”

  1. Hi,
    I’ve had this problem a few months ago with a project in which I wanted to change the language for autio and subtitles by using a checkbox. I got the tip with the stereo mixer from Maltaannon, too. But with both possibilities (expression on Audio Levels and/or on stereo mixer) all audio was always on when previewing in AE, even if the values had been correct.
    Recently I found out that both possibilities are working fine when I render the Movie.
    Is there a possibility to get a correct audio or RAM-preview?

  2. I don’t see why an expression that can’t be worked out to convert a standard linear percentage to a logarithmic one to control volume. I’m no mathematician, but the log function is there, so I’m sure some geek can run up a lin-log expression.

  3. Rob – It isn’t the same thing. DB and % don’t work quite the same. Falloff is much more drastic when working in DB. But even if they did, Audio layers can’t accept expressions on their levels. It’s a bug in AE.

Leave a Reply

Your email address will not be published. Required fields are marked *