Audio Tracks in Timeline — Unity3D

Alberto Garcia
3 min readSep 5, 2023

--

What is an Audio Track?

An audio track is a special type of track in the Unity3D Timeline window that allows you to control the playback of audio clips in your scene. This means that you can play, pause, stop, and loop audio clips, as well as control their volume and pitch, easily synchronizing it with animations and VFXs.

Why Are Audio Tracks Useful?

Audio tracks are useful for a variety of purposes, including:

  • Creating complex audio experiences: You can use audio tracks to create complex audio experiences, such as music scores, sound effects, and environmental audio.
  • Creating cinematics: You can use audio tracks to create cinematics, such as cutscenes or gameplay trailers. This can be useful for creating smooth, seamless transitions between scenes, or for adding atmosphere to your scene.
  • Debugging your game: You can use audio tracks to debug your game. For example, you can use them to play audio clips to see how they affect your game’s performance.

How to Use Audio Tracks

To use an audio track, you first need to create a new audio track in the Timeline window. You can do this by clicking on the “+” button in the track header and selecting “Audio Track” from the menu.

Once you have created an audio track, you need to add an audio clip to the track. You can do this by dragging and dropping an audio clip onto the track.

Make sure an Object in the hierarchy has an audio source, and place it as input for the audio track field in Timeline.

Once the audio clip is added to the track, you can start to control its playback. You can play, pause, stop, and loop the audio clip, as well as control its volume and pitch.

You can also use curves to control the playback of the audio clip over time. To do this, right-click on the audio track and select “Add Curve” from the menu.

For now, I will simply cut the audio recording to the length I need it by placing the time handler at the end of my animation recording and hitting “S” on the keyboard to split.

Typgin S to split selected recording.

Audio tracks are a powerful tool that can be used to create a variety of audio experiences in Unity3D. By understanding how they work, you can use them to create complex, immersive audio experiences for your games.

--

--

Alberto Garcia
Alberto Garcia

No responses yet