
A logo that pulses with the music makes a video feel alive. And you don’t need to place a keyframe on every beat by hand. After Effects has its own tool for this: Convert Audio to Keyframes. It turns sound into numbers. Then an expression links those numbers to any property you like. In this post, we explain audio to keyframes in 4 steps. We also compare animating to loudness with animating to beats.
Let us make your video
We edit music-driven Reels, product videos and logo videos. Using After Effects? Our free Beat Sync extension marks the beats in one go. If you’d rather leave the video to us, get a quote.
In short
3
sliders created (Left, Right, Both)
1
keyframe on every frame
100–130
Scale range in the example (%)
First, select the audio layer. Then run Animation › Keyframe Assistant › Convert Audio to Keyframes. After Effects creates a null layer named Audio Amplitude. This layer has three effects: Left Channel, Right Channel and Both Channels. Each one has a Slider with a keyframe on every frame.
Note that the command reads all the audio in the composition. So to react to one sound, like the drums, mute the other audio first. This tip comes from a thread in the Adobe community.
On the Audio Amplitude layer, select the Both Channels slider and open the Graph Editor. The values usually don’t move between 0 and 100. In most cases, even the peak stays much lower. So note the highest value. You will use this number in the next step.
Pick the layer you want to move. Alt-click the stopwatch next to Scale (Option on a Mac). Then paste this expression:
a = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
s = linear(a, 0, 20, 100, 130);
[s, s]When the sound is at 0, the layer stays at 100%. When it reaches 20, the layer grows to 130%. Also, `linear()` never goes past the range. The 20 here is only an example. So replace it with the highest value you saw in the Graph Editor.
The same method works on other properties too. For Opacity, for example, you write `linear(a, 0, 20, 40, 100)`. In that case, it returns a single number, not an array.
Since the audio is read on every frame, the motion can look jittery. You can smooth it with `smooth()`:
a = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider").smooth(0.2, 5);
s = linear(a, 0, 20, 100, 130);
[s, s]`smooth(0.2, 5)` takes 5 samples over 0.2 seconds and averages them. On the other hand, for motion only on strong hits, raise the lower limit. For example, with `linear(a, 12, 20, 100, 130)`, sounds below 12 won’t move the layer.

The two methods don’t measure the same thing. Convert Audio to Keyframes reads loudness on every frame. Animating to beats, however, finds the rhythm of the music. So the results differ too.
| Loudness (Audio to Keyframes) | Beats (Beat Sync) | |
|---|---|---|
| What it measures | Loudness on every frame | Beats, strong beats and downbeats |
| Result | Constant, wavy motion | A sharp move or cut on each beat |
| Settings | By expression | In a panel: kick, snare, hi-hat, sensitivity |
| Best for | Audio waves, a pulsing logo | Reels edits, a flash or shake on the beat |
Beat Sync writes the beats as After Effects markers. Then it links the animation you choose to those markers. We cover the details in our post on syncing animation to music.
The top value in the expression is higher than the sound ever reaches. Check the Graph Editor and lower the 20.
The audio changes on every frame. So add `smooth()` or raise the lower limit.
Other audio in the composition was counted too. Mute it and run the command again.
If the layer isn’t named “Audio Amplitude”, the expression can’t find it. Either rename the layer back or change the name in the code.
We are an agency based in Ankara. Ideas, shooting, editing, color and sound are done by the same team. For music-driven videos, the work moves in three steps:
Shooting, editing and 3 rounds of revisions start at 15,000 TL + VAT. For editing-only jobs, we quote after seeing the footage.
The command measures overall loudness, not single beats. So the values often stay low. You map them to the range you want with `linear()`.
Premiere Pro doesn’t have this command. However, the Premiere version of Beat Sync writes the beats to the sequence as markers. It also lines up photos and clips to the beats.
No. Beat Sync is free until 5 January 2027. Sign in with your Google account on the app page and download it.
Yes. Copy the code and paste it into the Scale or Opacity of other layers. They all read the same Audio Amplitude layer.
Let us make your music video
Tell us where the video will run and what it should say. We will agree on the scope and send a written quote. For details, see our Video Production page.





Comments are closed