Youtube Music fix volume ratio

Makes the YouTube music volume slider exponential so it's easier to select lower volumes.

Author
Nemo64
Daily installs
6
Total installs
1,633
Ratings
9 1 1
Version
0.4
Created
2020-03-10
Updated
2021-09-04
License
N/A
Applies to

Changes the Volume behavior of YouTube Music

The volume slider of YouTube Music is linear by default which causes it to feel very ineffective until the very end where it mutes the music. The volume slider of YouTube (Video) is exponential to address that issue but YouTube music didn't get so much love.

This script addresses this issue by applying an exponent of 3 to the volume setting, which results in these settings:

  • 100% = 100%
  • 50% = ~12.5%
  • 20% = ~0.8%
  • 10% = ~0.1%
  • 5% = ~0.0125% (5% is the lowest selectable value by the UX)

Usage with other services

This script monkey patches the browsers volume setting, not YouTube Music directly. If you want, you can use it on other sites as well. Just add further @match lines to the scripts metadata.