Max2Play Home › Forums › Max2Play as Squeezebox (Player / Server) › Popping sound when stopping and starting audio, Shairplay2 on Squeezebox
- This topic has 3 replies, 2 voices, and was last updated 5 years, 9 months ago by Heiner premium.
-
26. Dezember 2018 at 18:30 #42950
Hi, I have three new Raspberry pi 3 b+ units, two or the three have the Hifiberry dac+ pro, and one has the dac+ pro xlr connected to my home 5hz Wifi network. I’m using a Mac Book Pro, OS 10.14.2 with iTunes, Spotify and Google Play Music, but streaming those via Airplay. I also have an iPhone X with iPeng configured and they all seem to work/connect and control fine!
I’m running one Pi (rca version) as a Squeezebox Server and using the other two as connected multiroom players.
I have all the software up to date, nightly Squeezebox version configured and using Shairtunes2.
I have the Shairplay bugfix in the Max2Play drop down installed on all three pi’s. I unchecked the software graphic EQ.Multiroom audio is working fine. I can control from the Mac Book or play from my iPhone X.
The issues are:
- A fairly loud popping „crackle“ sound when I stop/pause audio and then start it back.
- I also hear a very slight „gurgle delay“ soft click in higher quality audio (24-bit especially via iTunes) every 30 seconds or so. It sounds like audio is dropping off in one channel (l) and then catching back up the other (r) within a half a second – but the music is not stopping. It’s very pronounced with softer music like classical or quiet jazz.
- All three Pi’s are affected.
I have both 24 and 16-bit AAC lossless audio in my iTunes Library and use 320kbps with Google Play Music and the High-quality setting on Spotify.
Here’s the debug info, if it helps. Thanks!
#### SQUEEZELITE VERSION ####
Squeezelite Max2Play v1.0.2 based on v1.8.4-726, Copyright 2012-2015 Adrian Smith, 2015-2016 Ralph Irving.#### SQUEEZELITE BUILDOPTIONS ####
Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC#### AUDIOPLAYER CONFIG ####
### Configuration of Audioplayers
SQUEEZELITE_PARAMETER=-o sysdefault:CARD=sndrpihifiberry -a 80:4::
SQUEEZESLAVE_PARAMETER=-n plugequal
SHAIRPORT_PARAMETER=-d sysdefault:CARD=sndrpihifiberry
USE_USB_DAC=0
USE_EQUALIZER=0
SYSTEM_USER=pi
YMPD_PARAMETER=–webport 8081#### SQUEEZELITE -l ####
Output devices:
null – Discard all samples (playback) or generate zero samples (capture)
equal
plugequal – Equalizer for plughw:0,0
default:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
sysdefault:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
dmix:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample mixing device
dmix:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample snooping device
hw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Hardware device with all software conversions
default:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus, – Default Audio Device
sysdefault:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus, – Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct sample mixing device
dsnoop:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct sample snooping device
hw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct hardware device without any conversions
plughw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Hardware device with all software conversions#### SHAIRPORT (SYNC) VERSION ####
3.1.1-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/usr/local/etc#### OUTPUT SOUND DETAILS CARD 0 ####
closed#### OUTPUT SOUND DETAILS CARD 1 ####
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (352800/8)
period_size: 882
buffer_size: 35283. Januar 2019 at 11:52 #43052Hi John,
Happy New Year!
Thank you for the detailed report on your situation, this makes my job much easier.
The crackle might be fixed by adding „-C 5“ to your command line options in Squeezelite.
Please update your Settings/Reboot page with the Health Checker when you have the dropping off issue to make sure this not related to the performance of the Pi hardware.
Also, check the Squeezebox Server debug info when playback commences on high-end audio files to see if there are any error messages.
7. Januar 2019 at 16:50 #43216Hi Heiner:
Done, definitely a big improvement.
I also found a thread that recommended adding 120:4:24:1 to the ALSA parameters. This seemed to help a little. I am not hearing the glitches anymore, but the audio is pausing for much longer when there are dropouts (happening to a much lesser extent now…) Any concern with having that setting as well?I did not see the Health Checker option anywhere. Is this a plugin that needs to be installed?
Thank you!
7. Januar 2019 at 18:07 #43218Hi John,
It’s in the Settings/Reboot menu on the right item bar.
The dropouts are probably either a WiFi or a file processing issue. You might try using a WiFi dongle for a while to rule out the former and try longer playback with low-res mp3 to make sure it’s not connected to the latter.
-
You must be logged in to reply to this topic.