News How to Build a Raspberry Pi-Powered Multi-Room Audio System

deesider

Honorable
Jun 15, 2017
298
135
10,890
Is it possible to connect the phone/tablet/pc to the RPi trough network instead of BT?
If you use Spotify it's relatively easy to setup the Pi as a Spotify Connect player. This allows you to select it as a playback device from the Spotify App when both devices are on the same network. That way the music is streamed directly from Spotify to the Pi and it doesn't drain your phone battery like Bluetooth does. Also, no issue with range since it will keep playing your selected playlist even when your phone leaves the network.
 
  • Like
Reactions: Glock24
Feb 22, 2021
2
0
10
Hi, I ask myself if the person, who wrote this article ever tried this setup. Comparing the audio jack from a pi with a sonos is just a joke. Of course there is a possibility to use the pi for this, but not with its audio jack.
the raspberry pi audio jack is a pwm driven output, no real DAC behind it. It sounds simply AWFUL. There is nothing else to say, look at measurements. If someone does not hear this, go to a doctor. The sound is smeared and sounds very harsh and digital.
Buying an inexpensive DAC board for the pi is the way to go if you want to compare it to the sonos for example. There are PCM5122 based sound boards for about 20$ and this increases the pi sound quality VERY much.
Using the 3,5 jack and talking about sound is like driving a 40 years old fiat panda and comparing it to a new ferrari. At least both have 4 wheels, i know.
Please investigate first, before writing such nonsense. There are people who read this here and get very disappointed by the sound if they try this setup.
Sound quality is often determined by total harmonic distortion. A sonos you want to compare with has a THD of about 0,03% at 10kHz. A raspberry Pi DAC board about 0,08% at 10kHz. The audio jack has a THD of 10% at 10kHz. This is garbage, not sound. Also the high frequencies are not reproduced at all. The normal hearable audio range depending on your age is between 20hz and 20.000hz. All DAC boards and the sonos reproduce this range. The pi audio jack stops at 15.000hz, because of the high pass filter and PWM limitations.
Even with a DAC board the raspberry pi4 is a bad choice for audio reproduction. Its high frequency CPU induces so much electro magnetical interference, that you either need to underclock it a bit or at best take the raspberry pi3b. Its EMI numbers are much better and do not disturb the amplifiers speakers so much. Faster is not always better. The Pi3b has all the features needed here too, like Wifi and BT.
Please write articles about somethink you know about, this is just waste of webspace, sorry. Its also misleading people by comparing it to entry level hifi systems like the sonos. People reading this here, who buy a pi4 for this purpose are just wasting money and should know, that at least a DAC board is needed to make this here work. Even then you are not at sonos level of quality and by far not in hifi territory, but this wasnt intended, i know.
Please write this into your article or delete it, dont mislead people with bad investigated knowledge.
 
Last edited:

deesider

Honorable
Jun 15, 2017
298
135
10,890
Buying an inexpensive DAC board for the pi is the way to go if you want to compare it to the sonos for example. There are PCM5122 based sound boards for about 20$ and this increases the pi sound quality VERY much.
This is true, the default audio out of the Pi is fairly low quality. I use a HifiBerry Dac on a Pi Zero W and it works great. Although the Zero of course doesn't have an audio out, so a hat is compulsory anyway.

Even with a DAC board the raspberry pi4 is a bad choice for audio reproduction. Its high frequency CPU induces so much electro magnetical interference, that you either need to underclock it a bit or at best take the raspberry pi3b. Its EMI numbers are much better and do not disturb the amplifiers speakers so much. Faster is not always better. The Pi3b has all the features needed here too, like Wifi and BT.
Yeah, not sure what you're talking about here. The pi4 does have a higher clock than the pi3, but they are both in the GHz. It's not clear how that change in frequency could induce audio interference?
 
Feb 22, 2021
2
0
10
The EMI differences are just my own and some friends observations. Same setups, same PSUs and DACs and the pi4 induces a high frequency interference, the pi3b did not. We found two methods to fight this. Either you under clock the pi4 by 200mhz, then the hiss goes away or just put it in a metal enclosure, preferably tied to ground.
 
Feb 26, 2021
1
1
15
Hi!

First of all sorry for my poor english. In few words I can write my experience how I realised a multiroom audio system with a few RPi-s.

I used piCorePlayer as operating system. It starts (boot) in less then 1 minute. Very small program I used 4GB sd cards but
My music configuration consists of the following:
  • 1 piece of RPi1 modell B as an LMS server
  • 5 pieces of RPi1 modell A as music player in different rooms, terrace, garage, etc. (RP1A was cheaper then other RPi-s that's why I choose it, you can choose other RPi-s if you like)
  • 5pieces of wifi dongle (type TP-Link) because RPi1A do not have nor wired, nor wifi network possibility.
  • different audio systems like HDMI capable sound bar, mini hifi stereo with 3,5 jack, etc )
  • mobile phones, tablet or PC for remote control the music

Where the audio system is better I used Cirrus Logic HD Audio Card connected to RPi for better sound, or HDMI output, other places simple 3,5 jack. But everyone can decide what quality is enough for him. In piCorePlayer there are a lot of output option. The best part is that you can expand and upgrade your system on the fly.
You can install different plugins like Spotify, YouTube, TuneIn Radio etc for music source or you can connect a local USB HDD or NAS, it depends on where are your music stored. And of course you can mix them.
I use "Squeezer" on my android mobile phone for remote control the music (my 8 years old child can use as well). It is free and you can switch between the players (rooms), you can make groups to play same music or different as well.

If you are interested in you can read more (and with good english, not like me :) ) on this page: https://docs.picoreplayer.org/getting-started/

I hope you find this useful. It proven to me, I've been using it for years.
 
  • Like
Reactions: deesider