You can apply the Sound Listener behavior to your actors,
which enables you to receive and listen to a sound through a predefined actor.
-
Select an actor in the
work area.
-
On the shortcut toolbar, click .
-
In the library, select the Sound Listener behavior and click
Add.
Result: If you apply the Sound Listener
behavior to a 3D actor, the sound is implicitly spatialized (a nonspatialized sound
constitutes an ambience sound.) Sound spatialization has several implications:
- If you apply the Sound Listener behavior to a 3D actor, sound
spatialization takes the position of this actor into account.
Note:
If you apply the
Sound Listener behavior to a non-3D actor, the reference for
sound spatialization becomes the center of the scene.
- The intensity of the volume depends on the distance between the player and the
listener of the sound.
- The Doppler effect applies to your experience and therefore affects the
perception of the sound in the experience.
The Doppler effect is the
kinematic phenomenon that characterizes the variation in frequency of a wave (sound)
picked up by a receiver when the wave emitter and the wave receiver are in relative
motion. Therefore, if an object with a sound player emits a sound while moving
relatively to an object with a sound listener, the sound received by the listener has
a different frequence than the frequence emitted by the player.
Typically, this
translates into a change of the perceived pitch.