question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Volume control via bypassSinkVolume

See original GitHub issue

First of all I would like to thank you for the great project, as Spotify does not want to implement an integration for the Apple HomePod.

With spocon, I send the “music” to owntone via PIPE. From there I can wonderfully send the music to the HomePods via Airplay. With the latest changes there are almost no more delays in play and stop! 😃

My configuration

[player]
	# Whether to apply the Spotify loudness normalisation
	enableNormalisation = true
	# Initial volume (0-65536)
	initialVolume = 5243
	# Whether librespot-java should ignore volume events, sink volume is set to the max
    bypassSinkVolume = true
	# Release mixer line after set delay (in seconds)
	releaseLineDelay = 20
	# Normalisation pregain in decibels (loud at +6, normal at +3, quiet at -5)
	normalisationPregain = 3.0
	# Output metadata in Shairport Sync format (https://github.com/mikebrady/shairport-sync-metadata-reader)
	metadataPipe = "/srv/music/spotify.metadata"
	# Autoplay similar songs when your music ends
	autoplayEnabled = true
	# Preferred audio quality (NORMAL, HIGH, VERY_HIGH)
	preferredAudioQuality = "VERY_HIGH"
	# Where librespot-java should search for local files
	localFilesPath = ""
	# Audio output device (MIXER, PIPE, STDOUT, CUSTOM)
	output = "PIPE"
	# Crossfade overlap time (in milliseconds)
	crossfadeDuration = 0
	# Whether the player should retry fetching a chuck if it fails
	retryOnChunkError = true
	# Audio output Java class name
	outputClass = ""
	# Mixer/backend search keywords (semicolon separated)
	mixerSearchKeywords = ""
	# Output raw (signed) PCM to this file (`player.output` must be PIPE)
	pipe = "/srv/music/spotify"
	# Log available mixers
	logAvailableMixers = true
	# Number of volume notches
	volumeSteps = 64

With the configuration: bypassSinkVolume = false I can change the volume, but it is very offset in time.

With bypassSinkVolume = true I can change the volume in Spotify, but this has no effect.

What am I doing wrong? Or is that a bug?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
aleszczynskigcommented, Jul 1, 2021

I’m not familiar with this but does indicate that owntone is receiving the volume commands. You might need to speak with the owntone dev to enquire what this means.

Do you use purely airplay devices with owntone?

1reaction
devgianlucommented, Jul 1, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Bypass factor as a function of volume flow rate - ResearchGate
Theoretical analysis was carried out to investigate the effect of top bypass on hydraulic and thermal performance for liquid cooled pin fin heat...
Read more >
How to Eliminate the Air Volume Control (AVC) Can I get rid of ...
this article explains how to get rid of the AVC or air volume control entirely. AVCs are required to maintain the air charge...
Read more >
Flow Control Methods (Meter In, Meter Out, Bypass) - YouTube
This lecture presents flow control methods for fluid power systems. We will learn to recognize meter in, meter out, and bypass /bleed off ......
Read more >
PulseAudio - ArchWiki
If experience volume issues with your DTS device and/or PulseAudio, you may fix it by looking for more setting option at dcaenc's GitLab....
Read more >
Volume management | Android Open Source Project
Volume groups manage the volumes for a collection of devices within an audio zone. For each volume group the volume can be controlled...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found