Skip to content

Express user-facing volumes in the cube-root domain#37

Open
LSLeary wants to merge 1 commit intosmasher164:mainfrom
LSLeary:cube-root
Open

Express user-facing volumes in the cube-root domain#37
LSLeary wants to merge 1 commit intosmasher164:mainfrom
LSLeary:cube-root

Conversation

@LSLeary
Copy link

@LSLeary LSLeary commented Mar 4, 2025

Incrementing raw volume amplitudes results in oversensitivity at low volumes and undersensitivity at high volumes. To straighten the response curve as perceived by human ears, we express user-facing volumes in the cube-root domain. This produces percentage values in line with e.g. pwvucontrol.

Tested on my system with cargo run; appears to work as intended.

Disclaimer: I don't know Rust, nor am I fluent in any other C-like language—I'm making it up as I go along. These changes require attention from someone who actually knows what they're doing.

Incrementing raw volume amplitudes results in oversensitivity at low
volumes and undersensitivity at high volumes. To straighten the
response curve as perceived by human ears, we express user-facing
volumes in the cube-root domain. This produces percentage values in
line with e.g. pwvucontrol.
@LSLeary
Copy link
Author

LSLeary commented Mar 4, 2025

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