drwhut / tabletop-club

An open-source platform for playing tabletop games in a physics-based 3D environment for Windows, macOS, and Linux! Made with the Godot Engine.
MIT License
1.24k stars 49 forks source link

Raise the music volume range #302

Open GrimPixel opened 11 months ago

GrimPixel commented 11 months ago

Is your feature request related to a problem? Please describe. When the audio file is played inside the game it is much quieter than the file played outside the game.

Describe the solution you'd like Set the volume upper limit higher.

drwhut commented 10 months ago

Yeah, this was a deliberate decision I made to set the upper limit of the game's audio to -6 dB (about half the amplitude of what the system considers "maximum volume"), since I realized that someone could potentially import an audio track at max volume, and when it is played in game it could potentially blow out someone's ear drums if their volume settings were set to the maximum.

I'll label this issue as a question though, since it may be worth removing the upper limit as long as there's some form of safety net to replace it.

GrimPixel commented 10 months ago

Maybe an audio analyser? So it guarantees that all tracks are played with similar loudness. Or setting the loudness for individual tracks through the cfg file manually?