How to Make Audio Amplitude Match Timeline of Video Clip?
Hey everyone,
I am asking for help about how to achieve a certain effect for a school project, and my professor does not know how to make it happen. She showed the class how to use the Keyframe Assistant tool on a music layer to generate an Audio Amplitude "null" layer, which has a "Both Channels" Slider Effect that matches the amplitude, or volume(?) of a song automatically. Then, I can take the Scale pick-whip of a text layer or other Vector object that I create in After Effects, and connect it to the Both Channels Slider on the Audio Amplitude layer. After some adjustments of the peaks and valleys of the graph of the audio amplitude, one can create the effect of having an object or text layer scale up and down, in sync with the tone or beat of the song. So, if the song gets very loud for a second, it would cause the text layer to increase in size, scale up, and then when the song gets quiet again, it would cause the text layer to decrease in size again, back to its original size, and then proceed to scale up and down for the rest of the song.
My question is a bit different, and I think that I might need to write a custome script for my project, and I don't know if I will have time to learn how to do that before the project is due. Here is my question: in the same way that you can have the scale (or opacity or rotation) of a Vector object match the amplitude that is automatically generated with the Keyframe Assistant for a song, is there a way that I can match the timeline of a video clip to the amplitude of a song? I will attach a few pictures of the video clip I am talking about. Basically, my video clip is 2 seconds long, and it is a clip of a few dozen colored blocks and rectangles that extrude towards the audience. I created the animation in Maya (3D animation software). The first picture I will attach is the beginning of the video clip, the second one is somewhere in the middle of the clip, and the last picture is the end of the clip. What I want is to have the final video to appear as if the height of the rectangular cubes match the amplitude of the song, as if they were a 2D object layer whose Scale I would match (using a pick-whip) to the amplitude keyframes of a song. Of course, the trouble is that I want to match a video clip to the song, not a 2D object's scale, and I don't know how to modulate, or create the appearance that the height of the colored, rectangular cubes, match the amplitude of the song.
Am I right in thinking that I need to create a script to do this? Or is there a built-in feature to After Effects that I'm just not aware of? Let's say that the song's amplitude has 1 keyframe at 10 decibels, and then a second keyframe at 50 decibels. The range of the height of the keyframes in the song go from 0 decibels to 100 decibels. So, when the song plays, and hits 10 decibels (10% amplitude), I want the computer to match up the location on the video clip's timeline to 10% of its length. On a 2-second video clip, this would place the timeline slider at .2 seconds. Then, when the song reaches the next keyframe, at 50 decibels (50% volume), I want the computer to seek in the video clip to halfway through the clip, which would be 1 second in. This would make it appear that, when the song is quiet for a second, the rectangular blocks are short, at 10% of their appeared height, and then when the song gets louder to 50 decibels, they appear at half their height. And, of course, I would want the computer to include all the keyframes in-between .2 seconds and 1 second, so that the blocks appear to extrude toward the viewer, from 10% height to 50% height, and then proceed to stay in sync with the rest of the song.
I know my question seems complicated, but I would really appreciate it if anyone could tell me whether there is a built-in feature that I can use to do this, or whether I need to spend some time and learn scripting. I just want the height of the rectangle blocks in the video appear to modulate and change, in sync with the volume of the song, similar to the way many music videos on YouTube have a 2D logo or picture change in size, opacity, or rotation, in sync with the music. If you do not understand my question, I will provide more clarification.
Thank you,
Saxazax



