Integrate analogue audio devices into your multi-room system


Integrate analogue audio devices into your multi-room system

You have created a nice multi-room solution for your whole house and you’re 99% happy with it. However, you still have this old radio and the record player in a room. Both where manufactured a long time before anybody had the idea to stream audio over a network. But you would really like to integrate these into your cool multi-room setup. With our DAC+ ADC and the a bit of software, you can do this quite easily. We’ll show you how.

What do you need?

  • A multiroom setup based on Logitech media server (LMS)
  • A Raspberry Pi with a DAC+ ADC

Our guide assumes that you do not have already a Logitec media server running on a Raspberry Pi. If you do, you can skip the first steps.

Note: This guide comes “as is”. Software versions, configurations, and file locations might change in the future. While we try to update the guide, we can’t guarantee that it will work at any time on every system. There is no individual support for this, but feel free to post questions or tips for improvements in our community area.

Basic system setup

Start with a clean Raspbian installation. If the kernel is still version 4.14, you still need to upgrade it to use the DAC+ ADC as an input device. Have a look at this guide.

Reboot the system and check that the DAC+ ADC is configured correctly:

pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplusadc], 
 device 0: HiFiBerry DAC+ADC HiFi multicodec-0 []
 Subdevices: 1/1
  Subdevice #0: subdevice #0

Settings up Logitech media server

Now download and install the latest version of Logitech Media Server. The following command will install version 7.9.2. You might check, if there are newer version available.

sudo apt-get install -y ./$DEB
sudo apt-get -f install

The easiest way to check if everything is installed correctly it to reboot the system. After the system has been rebooted, it should automatically start Logitech Media Server.

As LMS will need to access the sound card, you need to add the squeezebox user to the audio group:

sudo usermod -G audio squeezeboxserver

Install LAME

To be able to stream in MP3 format, you should also install LAME:

sudo apt-get install -y lame

LMS basic setup

Now, point your web browser to http://ip-address-of-your-rasperrypi:9000
The initial installation asks you about a Squeezebox account and the locations or your music library. You can simply skip all these steps. If you want to use the Raspberry Pi also as the server for your music library, you can still configure this later using the settings menu.

After skipping some screens you should see the LMS main screen with the “Settings” button:

Integrating the analogue input of the DAC+ ADC into LMS

With the standard setup, LMS will just service local files. To allow to streaming music from the DAC+ ADC input, you need to enable the “WaveInput” module. You find this under “Settings/Plugins”:

Just enable the module here and restart LMS (it will automatically ask for this).

Create a favourite

LMS is now configured, but to really use the input, you should create a favourite:

You can choose whatever name you like, but make sure the URL is “wavin:default”:

That’s it. If there is already a client connected (you see these in the upper right corner), you can now simply press the “Play” button to stream music from this source.

Additional information

Last updated: August 23, 2023