Skip to content

Introduce subcommand to 'set' an absolute volume#38

Open
LSLeary wants to merge 2 commits intosmasher164:mainfrom
LSLeary:set
Open

Introduce subcommand to 'set' an absolute volume#38
LSLeary wants to merge 2 commits intosmasher164:mainfrom
LSLeary:set

Conversation

@LSLeary
Copy link

@LSLeary LSLeary commented Mar 4, 2025

Orthogonal to #37 in principle, but nonetheless based upon it since the changes aren't quite independent.

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.

LSLeary added 2 commits March 4, 2025 13:49
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.
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