How to Line up your Audio and Video in Unity!

Objective: Matching your audio cues with your visual cues!

To add an audio track to your timeline click plus drop box and select audio track.

Using an empty object to hold an audio source component, attach that to your audio track on timeline.

Now you can drag your audio file into the timeline on the audio track.

When you are adding audio to your timeline you will notice that the audio file is seen as a wave form.

Wouldn’t it be super neat if you pressed the play button on the timeline and the audio played… well maybe in the next Unity update, for now, you need to play the unity editor instead. Simple enough, you can still use the timeline controls to rewind, pause, or move the preview slider to where you need it.

If you double-click on your animation tracks and new window will open and you will see what is called a dope sheet.

Dope Sheet

The marks on the timeline are your key frames you made before. Now that we are implementing audio, we need to make sure these animations line up with the audio.

Sometimes, while playing the audio you notice your animations begin only a little to soon or too late so you can simply move the key frame.

If your animations need to be tweaked more specifically then this, you can delete your key frames and rerecord your animations/virtual camera movements.

This is all there is to it. Playing the editor and listening to your audio track and matching your animations/camera directions to it. Don’t be afraid to experiment with your shots, and I’ll see you in the next tutorial!