Challenge: Moving sound

Exercise

·

foundational

·

+60XP

·

30 mins

·

Unity Technologies

Challenge: Moving sound

Use your knowledge of scripting from the previous project to make some sound travel outside the window of the kitchen, and observe the effect that moving sound has on your Audio Listener. This challenge is optional.

Languages available:

1. Overview

In this challenge, you will add 3D sound to a moving object. In the process of meeting this challenge, you will:

  • Use scripting to make a GameObject move.
  • Add an Audio Source Component to a GameObject.
  • Add an Audio Clip to an Audio Source Component.
  • Create a Doppler effect using 3D sound

Tip: In the 3D Sound Settings, increase the Doppler Level property to enhance the Doppler effect.

2. Build your scene

A few instructions are provided below, but the creative part is all up to you.

  1. Use your scripting experience to make a GameObject go past the window outside the kitchen.
  2. Add an Audio Source to the moving GameObject.
  3. Find an Audio Clip to add to your Audio Source. It could be a siren, music, a motor, or something unusual.
  4. Follow the process in the previous tutorial to create 3D sound.
  5. Run the Scene to test it, and make adjustments as necessary until you get a realistic audio effect.
  6. Add more sounds behind doors, inside cabinets, or on the table to make the Scene uniquely your own.
Optional Step

3. Publish and submit your project

If you like, we invite you to publish your project and share it with others in this Foundations Audio Project Gallery.

Enter the link to your audio project below. Please also share any "behind-the-scenes" information about how you created it.

Now that you know how to make sound realistic in 3D, we invite you into a new kind of real-time space: a 2D project. Proceed to the next project in this Mission!

Please login to submit

Submission Gallery

Play

Unity Audio

Unity Audio

This is for Ex3 - (Basics 3)

G
gortiz2
1
8
0

Play

TheRock

TheRock

The rock moves

H
HypnosEmblem
3
24
0

Play

Annoying Plant

Annoying Plant

just an annoying plant

E
edogmega
23
107
-1

Play

WebGL Builds

WebGL Builds

3D Model And Some Particle Effect And Shader Added

M
mian79
0
3
0

Play

Moving Sound

Moving Sound

Unity Essentials 3D Project made by Salvador Alberto Zaldívar Andrade

S
salza2022_unity
6
15
0

Play

Bar and hutukaras whiisper

Bar and hutukaras whiisper

Bar and Hutukara's Whisper is a 3D adventure where Bar, a 17-year-old boy, is shrunk to the size of an ant by a sacred tree in the Amazon rainforest.

U
unity_10jonathanmarte
2
13
0

Play

3D Audio testCase

3D Audio testCase

The Doppler effect made it difficult to adjust the sound volume and speed of moving object.

T
tfuji789
10
18
0

Play

WebGL Builds

WebGL Builds

vr

K
keithf40
1
6
0