Copy link to clipboard
Copied
Hello I wanted the image of my video to react with the beat of the music,
I've tried numerous expressions such as:
Smooth;
ease (value, 0,0,0,0);
temp = ....;
But none were able to do what I wanted. The expression that came closest to making the effect I wanted was ease but still, the beat was very fast. I've seen a lot of tutorials but found none. I will try to leave in the comments ('if I can') the example of what I want. Thank you for your attention.
1 Correct answer
If you equalize the audio track to eliminate all but the bass frequencies and apply the Convert Audio to Keyframes you can then use the "Both Channels>Slider" values to drive a linear expression that scales the image every time a beat happens. To do this you will probably have to use an outside audio app because AE's equalizer is pretty basic. You use the modified audio track just to generate the Both Channels Keyframes.
Once you have done that you have to open the graph editor and determine w
...Copy link to clipboard
Copied
https://www.youtube.com/watch?v=BOBRZKQXfZI
Basically this
Copy link to clipboard
Copied
If you equalize the audio track to eliminate all but the bass frequencies and apply the Convert Audio to Keyframes you can then use the "Both Channels>Slider" values to drive a linear expression that scales the image every time a beat happens. To do this you will probably have to use an outside audio app because AE's equalizer is pretty basic. You use the modified audio track just to generate the Both Channels Keyframes.
Once you have done that you have to open the graph editor and determine what value you want to use to start scaling and what value you would use to reach the maximum value.
Let's say the value of "Both Channels>Slider went from 0 to 20 but you did not want the scaling to start until the level reached 10, but you wanted it to reach the maximum when the value reached 15 because not all beats went to 20. Did you get all that? If that makes sense then apply this expression to the scale of your layer:
t = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
v = linear(t, 10, 15, 90, 110);
[v, v]
This is what a comp would look like:
This is the second time I have provided the solution to this kind of problem today. Your original expression makes no sense at all.
![](/skins/images/FC087885B0C83B45128AF5065A4AB513/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/FC087885B0C83B45128AF5065A4AB513/responsive_peak/images/icon_anonymous_message.png)