The duck volume effect, which may also be referred to as side chain compression, is an effect which controls the volume of one group using the volume of another. This is a powerful effect and has many applications in several areas where we want to highlight a specific group without it getting washed out from other competing audio. As this is a specialized effect, we will take a look at the following custom configuration to set this effect up:
- Open up Unity to the village project and direct your attention to the
Audio Mixer
window. Select theMusic
group and click on theAdd Effect
button. Select theDuck Volume
effect from the context menu. - Select the
Direct
group and click on theAdd Effect
button to open the effect context menu. Then, select theSend
effect. Drag the newSend
effect above the existingSend
and then set theReceive
to'Music\Duck Volume'
and theSend level
right up to0
as shown in the following screenshot:
Setting up the Send to the Duck Volume effect...