Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spotify: Add volume control option #638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timhudson
Copy link

This commit introduces the option to choose the volume control method for Spotify playback by adding a new environment variable SOUND_SPOTIFY_VOLUME_CTRL. Users can now set the volume control method to cubic, fixed, linear, or log. The default value is set to linear to maintain backwards compatibility with the currently set value.

Additionally, the default value for SOUND_SPOTIFY_BITRATE has been updated to be wrapped in backticks for better readability.

Change-type: minor

This commit introduces the option to choose the volume control method for
Spotify playback by adding a new environment variable
`SOUND_SPOTIFY_VOLUME_CTRL`. Users can now set the volume control method to
`cubic`, `fixed`, `linear`, or `log`. The default value is set to `linear`
to maintain backwards compatibility with the currently set value.

Additionally, the default value for `SOUND_SPOTIFY_BITRATE` has been
updated to be wrapped in backticks for better readability.

Change-type: minor
@@ -44,7 +46,7 @@ set -- /usr/bin/librespot \
--name "$SOUND_DEVICE_NAME" \
--bitrate "$SOUND_SPOTIFY_BITRATE" \
--cache /var/cache/raspotify \
--volume-ctrl linear \
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My subjective experience: I've found linear to be quite difficult to accurately control. I've been using cubic which provides a lot more control in lower volumes.

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.

None yet

2 participants