How I setup Subsonic
Multi-room audio with Snapcast and Raspberry Pi
Clients
Justboom DAC hat
add the below to /boot/config.txt
dtparam=audio=off
dtoverlay=i2s-mmap
dtoverlay=justboom-dac
Snapclient
Do the following for each client device.
Use scp (“copy over SSH”) to copy snapclient (note the colon after the IP address).
scp <path to download folder>/<snapclient name> pi@<IP address>:
Note that you can access the C:\ drive from WSL via /mnt/c/.
Now SSH back in and install the package.
sudo apt install ./<snapclient name>
Now we need to configure snapclient a tiny bit. Modify SNAPCLIENT_OPTS in /etc/default/snapclient to add the HifiBerry as the sound device:
SNAPCLIENT_OPTS="-s sndrpihifiberry"
To edit the file in a terminal, do sudo nano
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
If you have some other setup than the HifiBerry, check aplay -l for the name of the sound card. That’s what I did to use my MG10XU as one of the clients.
Restart the client to read the new configuration.
sudo service snapclient restart Now exit SSH.