Don't use linear volume in listen along volume slider - #2329
Merged
Taiko2k merged 1 commit intoSep 9, 2026
Conversation
I tried out a few different powers, 2 and 3 seemed to make the low end of the slider become muted while the slider was not at 0. 1.7 seemed like a good compromise. https://www.dr-lex.be/info-stuff/implement-a-volume-control.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The default linear volume makes most of the volume slider be way too loud, making only the bottom 30% really usable.
Using powers is a decent approximation for the exponential curve that would be ideal:
https://www.dr-lex.be/info-stuff/implement-a-volume-control.html
I tried out a few different powers, 2 and 3 seemed to make the low end of the slider become muted while the slider was not at 0.
1.7 seemed like a good compromise.