1 Sound
ABelliqueux edited this page 2021-08-26 19:41:56 +02:00

You can use blender's speaker object to add sound to your scenes. The speaker object's world space location is used. This allow for basic sound spatilisation, i.e: if object is far from camera, sound is weaker.

Adding sound to a specific object

Setting a speaker as a child of a mesh will make the sound and mesh's locations match, resulting in the illusion that the sound is following the mesh. To set a speaker object as a child of a mesh, firs select the speaker, then the mesh, and hit Ctrl+P, then select "Set parent to object" :

Set speaker as child

Adding a static sound to the scene

If a speaker object has no parent, it's location will not change and will remain the same in the scene.

Speaker properties

You can use the speaker's data tab to set the audio file, volume, volume_min and volume_max settings.

Speaker properties

For now, volume_min and volume_max are not used, but are planned to be.