spotify-connect-web
spotify-connect-web copied to clipboard
Volume sounds best when using a logarithmic scale
This commit adds a cubic scale to the correct playback volume, which results in a more linear sounding volume response. You can confirm this by watching the slider on alsamixer, which now moves linearly where it didn’t before, as the alsamixer slider accounts for this logarithmic volume scale.
If I recall correctly this depends on the sound card, for me it's currently a linear volume increase.
Working perfectly for RaspberryPi (1st generation and 3rd generation)