Raspberry PI Music Server From Start to Finish

Disclosure of Material Connection: Some legal info before we get into the good stuff 😉 Some of the links in this post are “affiliate links.” This means if you click on the link and purchase the item, MusicServerTips.com will receive an affiliate commission. Regardless, I only recommend products or services I own and/or use personally and believe will add value to my readers. Any external link pointing to a commercial offering is clearly marked as “advertisement”. I am disclosing this in accordance with the Federal Trade Commission’s 16 CFR, Part 255: “Guides Concerning the Use of Endorsements and Testimonials in Advertising.” and international laws. Click here to learn more.

As many of you may know, the Raspberry PI is a credit card sized miniature computer that can be used for tons of things. I actually started playing around with the first gen of the PI back in 2012 and it certainly looked promising for music server projects. Unfortunately, I felt that the 700 Mhz ARM CPU of the 1st generation was simply too slow for my taste. The LINUX derivatives of the time weren’t really up to the task, too. So I initially ditched the project and moved on.

Fast forward to 2015, I decided to re-visit the whole thing and bought the lasted Raspberry PI Revision 2. It is not only much faster thanks to a quad core ARM processor but the software has matured dramatically. For less than $100 I personally built a high-end music streaming server that I can remote control from my iPad. I now no longer need my Mac for music playback duties. It also does AirPlay without a hitch. Better yet it consumes little energy making this a downright steal for the price!

Here’s a picture of my own Raspberry PI Rev. 2 setup:

I decided to share with you the actual steps to get a working Raspberry PI with Runeaudio (a specialized Linux distro for audiophiles).

Go to http://www.runeaudio.com/download/ and pick the appropriate version of Runeaudio for your Raspberry PI. You are also going to need a software to flash the SD card. If you’re on Windows, use Win32DiskImager. On the Mac it’s a bit more complex but I discovered a fantastic tool that is just as easy. It’s called PI Baker and works just like you’d expect it. Download it here. Both tools are free of charge.

Step 2: Flash the SD card

Using the downloaded operating system image, use Win32DiskImager or PI Baker to write that image to your SD card.

Figure 1: Pi Baker Screenshot

Step 3: Get it up and running

Insert the SD card. Connect your PI to mains power and wait for about 20 seconds for everything to boot up. If you notice that both red and green LEDs remain solid. there’s something wrong with the SD card image and your PI won’t boot. Make sure, you have your Raspberry PI intially connected to your router using Ethernet. This is because you need to configure WIFI manually.

Open your webbrowser and go to runeaudio.local. If you’ve been successful so far, you should see something like this:

Next configure WIFI:

Choose a location where your music files are stored on a NAS. If you want to attach a powered harddisk via USB, this even gets much easier.

You actually won’t need a USB DAC if you purchase the Hifiberry Digi+ add-on board for your Raspberry PI. This produces a nice optical Toslink or Coaxial SP/DIF output signal. To make it even simpler, an add-on DAC board is available based on the ESS 9023 DAC chip which I believe is the same as the one used on the mightily popular ODAC. Check out my other DAC reviews if you are in the market for a new DAC.

How To Remote Control Your New Music Server

You can either use the default web interface or install a third-party app like MPad or MPod (for iOS devices). You can find similar apps for Android, too. A dedicated app makes a lot of sense because its more responsive than the web interface and it does support album covers.

Here’s another quick tip if you cannot get album art to display on MPad or MPod:

I was absolutely thrilled when I hooked up the PI to my SMSL M8 DAC. It sounds even clearer and more dynamic than music played from my Mac using Audirvana. I definitely won’t be going back anymore. From now on, the computer will just manage my iTunes library. Unfortunately, I had huge problems with Airplay initially. Music came out with unpleasant distortions and Tracy Chapman sounded like Mickey Mouse 😉 I suspect this is a bug in the underlying Airplay implementation which has been reverse-engineered. When I connected my ODAC, everything was back to normal again. Fortunately, I can continue to use my Apple TV for Airplay but anything CD quality and above is now the job of the Raspberry PI.

Share with:

Related

Massimo MotturaJuly 4, 2016, 16:24

Hello,
MPD can read files from Samba shares (NAS) if correctly configured.
Obviously, at start, the server must create the index for MPD database and this, may request many time if the collection is huge.
But after, in quiet condition with no access to MPD, the NAS arrive to stop disks for inactivity ?

Accessibility statement for MusicServerTips.com
We want everyone who visits the MusicServerTips.com website to feel welcome and find the experience rewarding.

What are we doing?
To help us make the MusicServerTips.com website a positive place for everyone, we’ve been using the Web Content Accessibility Guidelines (WCAG) 2.0. These guidelines explain how to make web content more accessible for people with disabilities, and user friendly for everyone.

The guidelines have three levels of accessibility (A, AA and AAA). We’ve chosen Level A as the target for the MusicServerTips.com website.

How are we doing?
We’ve worked hard on the MusicServerTips.com website and believe we’ve achieved our goal of Level A accessibility. We monitor the website regularly to maintain this, but if you do find any problems, please get in touch.