I read that a common mistake in game development regards the volume option. It showed how a derease from 100% to 50% volume is decreasing by half, but then 10% to 0% is a decrease by 100%. In essence, the volume decreases more quickly at lower volumes, and faster at higher volumes. I'm not aware of the math, but the solution was to raise the volume decimal to the power of euler's number. In pygame, you input a value from 0-1 as the volume for pygame.mixer.set_volume(), I am wondering if it would be best to ignore the exponentiation, or to calculate it?
Pygame volume is very linear so it creates a strange effect when changing volume at various ranges. Raise the volume in the range of 0-1 to the power of your choosing, e seems to work well.
Is pygame volume linear or exponential?