Skip to content

Volume quadratic and volume steps of 10.#294

Open
iHD992 wants to merge 1 commit into
ducalex:devfrom
iHD992:feature/quadratic-audio
Open

Volume quadratic and volume steps of 10.#294
iHD992 wants to merge 1 commit into
ducalex:devfrom
iHD992:feature/quadratic-audio

Conversation

@iHD992

@iHD992 iHD992 commented Mar 3, 2026

Copy link
Copy Markdown

Similar to "Simple gamma correction for display#293" but for sound.

Description

This PR improves the sound experience by addressing the non-linear nature of human volume perception.

Changes:

  • Volume is still giving in percent, but the value is squared and divided by 100. Thus the user can do fines changes at low volumes and at high volumes changes still have an impact.
  • The intervals are steps of 10 %. Seems sufficient and 5 % would complicate things as audio.volume is an int, not a float.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant