Simulating acoustic environments with Reverb Zones
Once you have created your level's geometry and the scene is looking just the way you want it to, you might want your sound effects to correspond to that look. Sound behaves differently depending upon the environment in which it is projected, so it can be a good idea to make it reverberate accordingly. In this recipe, we will address this acoustic effect by using Reverb Zones.
Getting ready
For this recipe, we have prepared the ReverbZone.unitypackage
file, containing a basic level named reverbScene
and the Signal
prefab. The package is in the 1362_09_02
folder in the code bundle.
How to do it...
Follow these steps to simulate the sonic landscape of a tunnel:
Import the
ReverbZone
package into your Unity Project.In the Project view, open the reverbScene level, inside the
ReverbZones
folder. This is a basic scene, featuring a controllable character and a tunnel.Now, drag the Signal prefab from the Project view into Hierarchy, as shown in the following...