building   audio   linux
From 15.07.2018

Open Source Multi Room Speaker

I don’t like the overall user expiriance with Sonos. But like the way of listening to music. So I tried to get something open instead. I found the awesome snapcast and this is my setup.

server

  • Multi Room GUI: snapcastr
  • snapcast source/server
  • one or more audio sources:
    • (optional) Spotify Connect: librespot πŸ‘
    • (optional) WebPlayer: mopidy
    • (optional) AirPlay audio sink: https://github.com/mikebrady/shairport-sync
    • (optional) DLNA Renderer:
      • https://www.lesbonscomptes.com/upmpdcli/
      • gmediarender
  • (optional) snapcast sink/client

client

Hardware

I choose JustBoom as the HiFiBerry was to expensive in my opinion and I also felt kind of cheated by their β€œ60 W out”. I think Amp and Amp Zero are the same for mono?

In order to put the Amp to work you need:

  • ~15€ Raspberry Pi (Zero WH seems to be the cheapest option)
  • ~4€ SD Card (> 1 GB πŸ˜…)
  • ~18€ powersupply that can give more than the peak of the amplifier (+ a little for the Pi)
  • the actual speaker

I ended up with powersupplies from Mean Well (like this). Using these the standby consumption of a client (connected but not playing) seems to be below 0.1W 🀩

So each client costs at least 67€ plus the speaker.

Bathroom - 100€

Small watherproof WiFi speaker

Kitchen and Diningroom - each from 97€

Not so small WiFi speaker

  • ab 60€/2 Speaker
  • 67€ Base
  • 2€ muff for the Speaker
  • 2€ plug for the Amp

Bedroom - 0€

Utilized some old stuff.

Livingroom - 0€

Existing Home Cinnema as WiFi speaker. The audio receiver must be switched to the correct HDMI port manually (for now).

  • LivaX (any Pi would also work)
  • Onkyo TX-SR252

Garden - 70€

Because why not :)

  • Old ION - Audio Tailgater (50W)
  • 54€ HiFiBerry Amp2 (60W)
  • 15€ Pi Zero W
  • https://github.com/lukasjapan/bt-speaker

Config

All easy.

Clients

Raspbian Lite. Install the snapcast client and edit the following files:

File Why?
/boot/config.txt Enable the amp
/etc/asound.conf Mono Sound
/etc/networks/interfaces WiFi
/etc/wpa_sup WiFi
/etc/defaults/snapclient Hostname, ALSA Device to use
/etc/hostname Hostname

Links