Unity Learn home
View Project Content

Essentials of real-time audio

+60 XP
1 Hour20 Mins
In this learning project, you’ll start in a pre-made 3D project where you can explore and experiment with audio in Unity. In addition to setting background music, you will experience the ways that Unity simulates the ways sound behaves in a 3D space.
Project Objective
By the end of this learning project you will be able to:
  • Define the role of an Audio Source, an Audio Clip, and an Audio Listener in a Scene
  • Implement audio that appears to come from a particular point in 3D space (e.g. localized sound effects) and audio that appears to come from no place in particular (e.g. background music)
  • Configure the rolloff of an Audio Source in order to control how its volume changes with distance (e.g. logarithmic, linear, or custom)
  • Programmatically play, pause, and stop sounds from a script in order to control audio effects based on certain events.
Select your Unity version
Last updated: November 15, 2023