Gain Property for Music Tracks
Posted: Tue Sep 06, 2016 10:37 pm
I use mods that add music to the game soundtrack, and one problem is that most music is mixed for a much higher average volume than the vanilla tracks so come through quite loud. Rather than re-encode from a lossy source file (and suffer a generational quality loss) to reduce the volume it would be very helpful to have a "gain" property for the "ambient-sound" data type that ranges from 0.0 to 1.0. On playback the game can simply mix the track in at the specified gain.
This would also be helpful for mods that distribute music that is licensed such that distribution is allowed but modification is not.
Also, please forgive me if this already exists. I could hardly find any documentation on this data type in the API docs.
Thanks!
This would also be helpful for mods that distribute music that is licensed such that distribution is allowed but modification is not.
Also, please forgive me if this already exists. I could hardly find any documentation on this data type in the API docs.
Thanks!