Hi,
I have a slider that is set to -80 to 0 to handle the music mixer level of the game but I have noticed that I can have the slider half way and the music is almost silent.
Many thanks,
Carl
The range is actually correct. However, musical perception works like a logarithmic function. I’m not sure if it’s technically correct, but for me it sounded much better, when the slider range is adjusted with some log function.
float t = Mathf.Log10(…slider range from 0 to 1);
music.volume = Mathf.Lerp(-80f, 0f, t + 1);