Create an immersive soundscape

Review

Explain the purpose of an Audio Source. Explain the purpose of an Audio Listener. Add a source of sound in the scene with an Audio Source component. Explain the difference between 2D and 3D (spatialized) audio. Change 2D audio into 3D sound for realistic spatial effects. Add background music to a 3D scene. Layer different types of audio to create a rich soundscape.

Audio Essentials: More things to try

Review

Note: If you want, experiment with different Min Distance and Max Distance values in the 3D sound settings to see what feels most natural for the refrigerator humming sound. You’ll need to be signed in and then select Add to My Assets for any assets you’re interested in. Then, use these instructions to learn how to import assets into your project. In the Hierarchy window, right-click and select Audio > Audio Reverb Zone to create a new Audio Reverb Zone. This will add an Audio Reverb Zone component to a new GameObject in your scene.

Quizz

Question 1

Which of the following statements are true about Audio Listener components? Select the two correct answers.

AnswersCorrect
The Audio Listener component acts as a microphone-like device. It receives input from any given Audio Source in the scene and plays the sounds through the computer speakers.True
The more Audio Listener components you have in a scene, the louder the volume will be.False
For most applications, it makes sense to attach the Audio Listener component to the Main Camera.True
You need two Audio Listener components in the scene to act as the left and right audio channels.False

Question 2

How can you preview an audio clip in Unity before applying it to an Audio Source?

Select the one correct answer.

AnswersCorrect
By exporting the audio clip to an external audio editing software.False
Previewing is not available in Unity; audio clips must be applied to an Audio Source to be heard.False
Using the Preview panel at the bottom of the Inspector window when an audio clip is selected in the Project window.True
Through the Console window after writing a custom script to play audio clips.False

Question 3

What effect does setting the Spatial Blend of an Audio Source to 2D have on the sound? Select the one correct answer.

AnswersCorrect
It causes the sound to be affected by the game world’s physics, such as echoes and reverberation.False
It ensures the sound’s volume and presence are consistent throughout the scene, without positional changes.True
It restricts the sound to play only when the player is in specific, predetermined locations in the scene.False
It enables the sound to change direction based on the player’s movements and actions within the game.False

Images