- Home /
How to play sounds with a volume scale greater than 1?
I want to play sounds with a volume scale greater than 1. PlayOneShot does take in a volume scale but it's only from 0 to 1. The AudioSource.volume also runs from 0 to 1. Is there any way for me to play a sound with double its volume?
Answer by Captain_Pineapple · Mar 02 at 09:37 AM
Not with just an audio source.
you have two options:
modify your audio file to be twice as "loud" and make a volume of 0.5 your new normal. Then you can always double the volume by playing it on scale 1.0.
As another way to handle things you can use Unitys audio mixer to amplify any sounds. More on this in the Audio Mixer Manual here.
Right, this is called headroom and it seems like a forgotten property of audio as a result of the loudness war.and dynamic range compression. When you max out the signal, there is no room to make something louder, especially in the digital world.
Your answer
Follow this Question
Related Questions
Increase the volume of sound source past limit? 1 Answer
How do I get the current overall System's volume? 0 Answers
Why is my backtrack's volume getting lower? 0 Answers
3D sound too low 1 Answer