Best free RPi OS for Hifiberry DAC + ADC besides Volumio, moOde, HifiberryOS....

I need an OS that will easily allow me to use my analog input for free.

Volumio's subscription fee is just a bridge too far for me.
moOde gives me access, but requires too many menu dives (wife won't go for it)
Ironically, HifiberryOS is ridiculously unstable and buggy, at least through the touch screen. The input select rarely works and the screen freezes up after maybe 10-15 minutes of operation.

What other free options are out there with Spotify Connect/BT/a simple and reliable way to access the analog input?

Is it possible to modify the moOde interface/home screen?
 
but requires too many menu dives
Not sure if this would be possible but worth investigating the use of the Triggerhappy setup in MoOde to map the commands needed to an i/r remote ?
easily allow me to use my analog input
That's the gnarly one there. Nothing comes to mind.

Check the RPi forums ??
Have a look at the PCP forums or the discussion here:
https://forums.slimdevices.com/showthread.php?110345-New-HiFiBerry-DAC-ADC-with-analogue-input


There is a 'build it yourself' site for RPi but I've not seen any mention of inputs.
https://linuxaudiofoundation.org/

Most of the distributions follow the tested capabilities of the RPi and unfortunately analogue in is not one that has had a lot of attention.

Moving to a SFF X-86/64 might give you more options. Thin Clients like HP t610 (Dual core/ expandable Ram and PCIe slot)
 
Last edited:
I know this may be difficult with current supply chain issues related to RPIs but have you considered running LMS with the WaveInput plugin on one RPi with your Hifiberry ADC and then using another RPi with a separate DAC running your favored streaming OS for playback?

As long as the OS can run squeezelite you can broadcast what is captured from your ADC via LMS and playback with squeezelite. I implemented this because my turntable is located away from my main stereo and it works well.

I know I mentioned this on another thread you created but as a single RPi solution you should be able to DIY a streamer using CamillaDSP, librespot and bluez from a standard OS like Ubuntu Server or Raspberry Pi OS. This would give you analog input, DSP, spotify connect and bluetooth.

Michael
 
I'm trying to consolidate, not buy more stuff 😀 And I got my RPi in the before times. Current prices are still doable but just seem unnecessary. I have a preamp in the chain that basically does what I need, and I have an integrated amp with the switching I want that's maybe 80% ready. I might just give up on the RPi as a preamp thing and finish that amp build.

With the CamillaDSP + librespot + bluez combo, would the CamillaDSP be the software that controls the input switching? I'm reading your posts over on ASR. This stuff is all free so I guess I will load it all to an SD card, see how it goes and report back.
 
I am not the most knowledge about all aspects of Linux audio but I think you need something like CamillaDSP to implement the analog input as you need some way to route the ADC input to your DAC output.

Fair warning, I have not personally used librespot or bluez-alsa but I think they should work conceptually and at least one person has PM'd about using librespot with CamillaDSP.

You would have two CamillaDSP configurations, one using an ALSA loopback as capture device and one using the Hifiberry DAC+ADC as capture device.

The ALSA loopback capture device configuration would be your streaming mode for use with librespot and bluez-alsa both of which would output to an ALSA loopback. I do this with squeezelite and shairport-sync and it works well, the only modification I needed to make was to have squeezelite stop after 5 seconds of inactivity otherwise I was not able to switch to shairport-sync, you may run in to something similar with librespot and bluez-alsa.

The Hifiberry DAC+ADC capture device configuration would be your analog input mode. I documented it on ASR but I recently implemented remote controlled source switching with a MOTU M4 although the basic thought process would be very similar with your Hifiberry.

I am willing to attempt to get bluez-alsa working but I do not use Spotify so you would be on your own getting librespot up and running.

EDIT: After glancing at the bluez-alsa documentation I think it probably makes the most sense to see if bluez-alsa can be used as a capture device, this would give you three CamillaDSP configurations.

Michael
 
Last edited:
OK, was actually a lot easier to set up than I imagined. I installed bluez-alsa-utils using apt and then more or less followed this guide -> https://scribles.net/streaming-bluetooth-audio-from-phone-to-raspberry-pi-using-alsa/.

To use bluetooth I ran bluealsa-aplay XX:XX:XX:XX:XX:XX -D plughw:Loopback,1 where XX:XX:XX:XX:XX:XX is my phone. I had to use plughw on the Loopback because it seems like it only outputs in S16LE. I was able to stop playing bluetooth and switch to airplay and vice-versa without issue. Plan will be to setup a service to run the above command and see how it goes. I also tried disconnecting my phone and reconnecting and it seems to work fine so I don't think there will be an issue with the service.

Michael
 
OK, was actually a lot easier to set up than I imagined. I installed bluez-alsa-utils using apt and then more or less followed this guide -> https://scribles.net/streaming-bluetooth-audio-from-phone-to-raspberry-pi-using-alsa/.

To use bluetooth I ran bluealsa-aplay XX:XX:XX:XX:XX:XX -D plughw:Loopback,1 where XX:XX:XX:XX:XX:XX is my phone. I had to use plughw on the Loopback because it seems like it only outputs in S16LE. I was able to stop playing bluetooth and switch to airplay and vice-versa without issue. Plan will be to setup a service to run the above command and see how it goes. I also tried disconnecting my phone and reconnecting and it seems to work fine so I don't think there will be an issue with the service.

Michael

OK slight update after setting up the service, you only need to run bluealsa-aplay -D plughw:Loopback,1, no need to specify the MAC address.

Michael