- Home /
Is there a way to limit the output volume on an audio mixer group?
Whenever I hit an enemy I want to play a hit sound effect, but the problem is that when multiple audio sources are playing the same clip the volume stacks. So my idea was to create a separate audio mixer group for the hit sound effects and limit the output volume, but i can't figure out how to do that or even how to get the current output volume on an audio mixer group.
Answer by BeefuMan · Apr 30, 2018 at 11:15 AM
I found it! You can use the compressor effect in the audio mixer and set the threshold to maximum volume.
Your answer
![](https://koobas.hobune.stream/wayback/20220612161739im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Increase the volume of sound source past limit? 1 Answer
Play sound from an array, not random, and only once 3 Answers
Audio source playing different soundfiles 0 Answers
Sound effects too quiet 8 Answers
Random, 3d sound. 1 Answer