Youtube Music fix volume ratio

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

Forfatter
Nemo64
Daglige installasjoner
4
Totale installasjoner
3 773
Vurderinger
14 3 1
Versjon
0.4
Lagd
10.03.2020
Oppdatert
04.09.2021
Lisens
I/T
Gjelder

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.