Skip to content

Audio Zones

Compare
Choose a tag to compare
@keianhzo keianhzo released this 30 Jul 09:20
· 1136 commits to master since this release
4c9149f

Audio Zones are 3D volumes that modify the audio properties of audio sources (avatars, videos, audios, audio targets, etc) based on the source's and listener's positions with respect to the audio zone. One obvious application would be to dim audio sources' volumes based on 3D areas like rooms to mimic the real world behavior.

How to add it to a Blender scene

To create an Audio Zone in Blender:

  • Add an empty box component
  • Change the empty's size to 0.5 (so it has a 1m width)
  • Add an audio zone component and set it's parameters
  • Resize and place it in your scene

Screen Shot 2021-07-21 at 11 55 14

Important note: By default the empty box in Bender has a width of 2m, to align it with the size that we use it in Hubs you'll need to change the empty size to 0.5 so it has a width of 1m.

Audio zones parameters

Audio Zones work based on the audio source and the audio listener's positions and they can be of inOut and/or outIn types.

  • inOut: The audio zone's parameters will be applied to audio sources inside the audio zone volume when the listener is outside the zone.

Example: InOut zone that blocks all the audio sources coming from the inside.

  • outIn: The audio zone's parameters will be applied to audio sources outside the audio zone volume when the listener is inside.

Example: outIn zone that blocks all the audio sources coming from the outside.

Audio zones can be inside other audio zones, in that case the applied parameters will be a reduction of the most restrictive parameters.

Example: If there are two audio-zones in between the listener and the source and the first one has gain == 0.1 and the other has gain == 0.5, gain == 0.1 is applied to the source.