A Sonos Music Server with Raspberry Pi

We have been users of the Sonos wireless music system in our house for many years. It provides music to almost every room reliably and with excellent fidelity. Music can be sourced from almost any online source, or from a local cache of music files.

Our preference is to use the local source, since that does not use any of our very limited internet bandwidth. We have had these music files spread over several different computers on the network, and in lots of different formats. This created a host of problems that needed a solution to consolidate all of those files in one place. I didn’t want to use the main HTPC computer as it’s function is just to do movies and provide music to the main listening system. I also didn’t want to use an office computer as they get turned off at night.

This server needed to be small, reliable, headless (meaning no keyboard or display) and connect directly to the LAN after the hardware firewall. The Raspberry Pi turned out to be an ideal solution to the problem. In the picture you can see two small black boxes. The one with the blue light is a 500GB hard drive in a generic USB enclosure. That disk contains some 12,000 mp3 and flac music files. The other small black box is a Rasperry Pi model 4 computer. Don’t be taken in by that tiny box. It is a full featured mini pc that can do anything a desktop can do. It can run any program you desire including full office software suites.

In this case all I wanted was to connect the hard drive to the computer and then to the network, where the Sonos controller software could request the desired music from that drive. In short it works perfectly. The little Pi runs 24/7 and unless something causes the power to fail, no intervention with it is needed. Even then, I can remotely log into it to restart it if necessary, however it is setup to just start the music service on its own on boot up.

If anyone is interested in creating an NAS music server using the Pi, I will be glad to send you the instructions for doing this. It will take a bit of tinkering with some settings and editing some configuration files on the Pi, but nothing really heavy duty.

There are lots of other automation tasks I am considering for this gadget, and I will post about those later.

Recording the Viking Theme

I came across this video from Viking cruises about recording a new theme for the Viking Cruise Lines. It happened at Abby Road studios, and so has a link back to the times when so many noteworthy albums were recorded in that space. It is a very interesting look inside the recording and mixing process. The video shows the immense amount of work and talent needed to transform the notes on paper to a finished, polished recording. Remember the musicians have not seen a note of this until the first run-through. Simply amazing. Take a look, I think you will find it fascinating.