14. Mai 2020 at 18:18 #48783
I have got my DAC – ADC setup on a Pi 4 and have the Analogue output from my TV Amp playing into the 3.5mm Socket on the HiFiBerry Board. I can play music from my Music server running Logitechmediaserver, no problem. The same Output works fine on my Sonos Device (I am trying to move away from Sonos) so I know there is output there.
I have setup Squeezebox from here with the url as
wavin:sysdefaultand confirmed the same URL as in ‘AudioPlayer – Squeezelite – Advanced Options – Soundcard’ setting.
I have the DAC – ADC selected in the ‚Installed HiFiBerry Card‘ so it should work, but it does not.
Should I increase the sensitivity using the J1 on the board or what?15. Mai 2020 at 11:25 #48788
Problem with Audio Out as I see it:
HiFiBerry Tab – Installed Card = DAC+ ADC
AudioPlayer Tab – Audio Output on Raspberry Pi = Default (use HDMI if Plugged)
Raspberry Settings – Choose the DAC/AMP = none This cannot be correct
So change as follows:
Setting the DAC+ ADC is not possible in the Raspberry Settings it is missing, so if you choose the DAC+ Pro
Raspberry Settings – Choose the DAC/AMP = DAC+ Pro
HiFiBerry Tab – Installed Card = DAC+ Pro is chosen automatically which is not correct
Reboot still no sound out to Cottage
I think the problem lies in the DAC+ ADC not showing in the Raspberry Settings – Choose the DAC/AMP
How can I make this show up?15. Mai 2020 at 14:42 #48792
In the Wave Input Plugin of the Squeezebox Server you should be able to set the corresponding ALSA input of the ADC sound card. The input signal should have a separate name. If this is set correctly, it should work. You may only be able to select the ADC driver via the HiFiBerry plugin, not via the Raspberry settings. It shouldn’t be a problem that afterwards no output is shown in the Raspberry Settings.15. Mai 2020 at 15:05 #48795
@mariom thanks for the quick response.
I have selected the
HiFiBerry Tab – Installed Card = DAC+ ADCand rebooted.
AudioPlayer Squeezbox Advanced Options - Soundcard = sysdefault - snd_rpi_hifiberry_dacplusadcso it should work.
The tail end of my /boot/config.txt file is as follows
[pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_framebuffers=2 [all] #dtoverlay=vc4-fkms-v3d gpu_mem=128 dtoverlay=hifiberry-dacplusadc disable_overscan=1
So the Correct card should be loaded.
Now I open the Logitechmediaserver and select the Line In which is configured to use this
wavin:sysdefaultwhich matches the setting above. I have the other HiFiBerry device as the Player and still no sound.
If I play sound from my Music server using the Logitechmediaserver on there, I can get the music synchronised out of both my Pi Devices, so they are working, but not for the Line In.
For my setup it is essential that the Line In works.
Any more ideas?20. Mai 2020 at 16:29 #48823
I was able to successfully test the input of the HiFiBerry ADC with the Wave Input Plugin. Please try to enter „wavin:plughw:1“ as URL in the plugin. Depending on which slot your sound card has been assigned to, „wavin:plughw:0“ may also be possible. It is best to check this with the command „arecord -l“ (small L) in the terminal or in our Remote Control Plugin.
If there are interruptions when synchronizing the players, you can increase the buffer size in the LMS under Settings/Advanced/Network/Radio Station Buffer.21. Mai 2020 at 9:40 #48830
@mariom thank you for taking the time to test this for me. I still cannot get it to work.
I have setup the Server in the LivingRoom and I have the Player in the Cottage.
In the LivingRoom:
From arecord -l
**** List of CAPTURE Hardware Devices **** card 1: sndrpihifiberry [snd_rpi_hifiberry_dacplusadc], device 0: HiFiBerry ADCDAC+ Pro HiFi multicodec-0  Subdevices: 1/1 Subdevice #0: subdevice #0
In AudioPlayer – Advanced Options there ate three entries starting plughw, two refer to the bcm2835 on the Pi one as
Card=ALSA,DEV=0and the other as
Card=ALSA,DEV=0the other refers to the HiFiBerry Cars as
I have also added this
-b 176400:176400to the Command Line Options, without this I get nothing at all.
I have selected the last of these and in the Squeezebox Server I have tried this
wavin:plughw:1but no sound from the other device.
Also Squeezebox will only run for a very brief few seconds and stops.
Then I changed the AudioPlayer – Advanced Options to default – snd_rpi_hifiberry_dacplusadc and in the Squeezebod server
wavin:defaultdid not play, so tried
wavin:default:0the same, then
wavin:default:1did play but just white noise.
I do have it working perfectly in piCorePlayer by the way which I tried when I could not get Max2Play working. I am only pursuing this in case others are in a fix.22. Mai 2020 at 14:21 #48832
In my setup I selected „sysdefault … hifiberrydacplusadc …“ in the advanced settings of Squeezelite. I only entered „wavin:plughw:1“ as URL in the Wave Input Plugin of the Squeezebox Server. Do you have other services running on the Pi that use the sound card? I switched off Shairport for example. Incidentally, this setup only works if the Squeezebox Server is running on the device with the HiFiBerry DAC+ ADC.22. Mai 2020 at 16:37 #48835
@mariom, I have done as you say above. I do not have any other service running, not even SAMBA.
The Squeezbox Server is running on the Raspberry Pi 4 with the DAC+ ADC on it.
All I get is white noise with the hint of speech in the background.
I get nothing if I change to wavin:plughw:0 in the URL of the Plugin.
So looks like a non starter for me for some reason. Very odd.
here is the debug Output:
2020-05-22 15:31:48 squeezeboxserver_safe started. [20-05-22 15:31:52.3935] main::init (387) Starting Logitech Media Server (v7.9.2, 1578996832, Tue Jan 14 12:16:57 CET 2020) perl 5.028001 - arm-linux-gnueabihf-thread-multi-64int [20-05-22 15:31:52.8331] Slim::Utils::IPDetect::_init (138) Warning: Couldn't call connect() - falling back to 127.0.0.1 [20-05-22 15:31:52.9306] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table [20-05-22 15:31:53.0040] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized! [20-05-22 15:31:53.2417] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table [20-05-22 15:31:53.3202] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized! [20-05-22 15:31:54.1787] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table [20-05-22 15:31:54.1975] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized! [20-05-22 15:31:54.4827] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan. [20-05-22 15:31:56.6871] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table [20-05-22 15:31:56.7069] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
Not very helpful, and nothing more in the system logs when I ssh into the server.27. Mai 2020 at 15:36 #48867
Do you have Bluetooth installed on your device? Apparently there was a problem with the Pi 4, LMS 8 and our Bluetooth installer. We have now integrated a fix for the installer in our beta image. If you uninstall and reinstall Bluetooth (and the Wave Input plugin) again, the Wave Input plugin should work properly again.31. Mai 2020 at 11:45 #48886
Thank you, @mariom once again. I am running version m2p_buster_rpi-v250.img of the Max2Play OS. Is there another one I should be using?
I do no have Bluetooth activated at all in the Settings/Reboot Section.
I have removed the Plugin in the Squeezebox Server Interface.
I have restarted the Squeezebox Server, and even Rebooted the device.
I have tried at least 4 times to install the WaveInput Plugin like so:
1. Check the WaveInput item near the bottom of the page, and click ‚Apply‘
2. Wait until the ‚restart Now, restart later‘ Dialog box appears. and click ‚Restart Now‘
3. wait for it to reappear
It stubbornly refuses to install, so I installed version 104_7.6 manually from here to here
/usr/share/squeezeboxserver/Pluginsand restarted the Squeezebox Server and it showed up.
I left the setting as this wavin:plughw:1 from before, and all I get is still white noise over speach or sound.
I would like to use your Wave Input Fix on our Squeezebox Server page in the Max2Play webinterface but I cannot see it. It is not listed in the ‚Install special Plugins for Squeezebox Server‘ so I am stuck once again.
You must be logged in to reply to this topic.