A couple of months back the Hewlett-Packard laptop that served me as a media player decided to leave this world for a better place (the recycling bin). It was February the 2nd, and that same day the Raspberry Foundation announced the all new Pi 2 Model B, with a much improved spec sheet.
And no, I did not sabotage my own laptop just to find an excuse to buy a RPi2.
A small step back in time
The Raspberry Pi is a credit-card-sized single-board computer, the first edition of which launched on February 2012. Since then, more than 5 million of these little buggers have been sold worldwide. As technology moved forward, processors and memory chips got cheaper and cheaper, so today we find ourselves with a pretty decent hardware platform at the rather modest price of $35. Latest iteration includes a quad-core Arm Cortex A7 900Mhz processor and 1Gb of RAM, improving performance over the previous version by a factor of 6. The Pi2 also packs 4 USB 2.0 ports, HDMI and 10/100 Ethernet.
Now it might not sound as much but trust me, it is more than enough to get you playing full high-resolution audio files including 2xDSD and DXD!
On the menu: Raspberry Pie!
- One Raspberry Pi2 (here) which can be found on Farnell Element14, RS and several other suppliers
- One MicroSD memory card, 8Gb will be more than enough. Class 10 is recommended (though it will work with slower ones too). Make sure you have an adapter for the standard SD slot of your PC.
- One switching mode power supply (SMPS) that outputs 5Volt/2Amps. The Pi2 receives its power through a micro USB plug, just like the one that charges your cell phone.
- One plastic/metal case to house your Pi. Prices and quality vary from a few $ for simple plastic ones up to whatever you find appropriate and tasteful for your system.
This is it. Estimated cost is a mere $75 with a plastic case and the SMPS included. Older versions required small heat sinks for the processor, but the Pi2 is much faster than the previous version so you will not be needing them. Even if you decide to acquire them, it will set you back less than $2. You might want to buy a WiFi USB adaptor, or stick with Ethernet cables. Though on my case the WiFi dongle worked fine some users report bugs with theirs so do check which ones are guaranteed to work prior of buying them.
As a typical audiophile, I must admit to having an allergy in cheap “switching mode power supplies” so I took the dedicated streamer concept a step further by adding some extra topping on the basic recipe. Instead of the SMPS, I opted for a linear power supply with a 50VA toroidal transformer and housed everything in a black and silver aluminum case. Still below the $200 mark! Not sure if the linear PSU actually makes a difference in sound, but as I said, Wikipedia’s stub for “typical audiophile” has my picture in it.
Have you noticed that something else is missing? There is no fan. No matter what you choose as a power supply you will not hear a thing coming from the Rpi2 box; it is dead silent. A huge plus on my book as even the most quiet PC is still noisy when compared to a fanless Raspberry.
When you have everything in-house mount the Raspberry Pi 2 in the case, it takes a minute to screw it down and get the plastic cover in place just for safety. You are almost there.
The daemon wants a byte
So we’ve got the hardware part sorted out, but we still need an operating system to play with. You might have noticed that when we made the ingredients list there was no monitor or input device such as a keyboard or a mouse for our Pi. In fact, our little streamer will run on what is called a “headless” OS. No, you won’t have to chop off anything; you simply do not need a dedicated input device. That is because all of the controls will be executed through your other computer — your laptop, mobile phone or tablet.
Before that, let me tell you about our secret ingredient. Like in every other delicious recipe, there must be a secret ingredient; ours goes by the name of Music Player Daemon (MPD). MPD is not the usual music player software, not like Foobar, J-River or Audirvana as it does not come with a user-friendly graphical interface. xIt was designed as a server application for audio playback on Linux systems and with the right tweaking can become a formidable player. How formidable? Let me tell you that the best standalone streamers such as the Aurender X100L and Auralic Aries rely heavily on MPD (at least accordingly to the various forum discussions as the companies do not officially disclose what software they use. It would be hard to charge certain figures when consumers know that the backbone of the software used is free of any charge).
The problem is that the necessary amount of tweaking is quite a task, not many audiophiles will ever be capable to make the nasty daemon work properly. Well, I have some good news for you, several plug and play solutions exist for the little Raspberry Pi. Depending on what you choose to install these operating systems require more or less end-user capabilities and offer various degrees of customization. I am currently using the latest MoOde (pronounced mood) and Archphile OS with the former being very intuitive (plug & play) and the latter being somewhat more tricky, designed for the initiated Linux user. Both are 100% free under General Public License meaning truly free of charge. No such thing as in app purchases or limited functionality.
The first step is to download one of the operating systems. If you are new to all this try MoOde as Archphile will be harder to grasp in the beginning. Both files are zipped but still quite big, I suggest you use a download app in order to speed up the waiting time. When you are done unzip the content; you will be presented with a .img file.
Download Win32DiskImager for Windows or PiWriter for Mac, run the program and select the .img file you just unzipped. As output device select the micro SD card. Make sure that the card is empty and nothing precious is stored inside because after creating your bootable OS everything will be lost! Press “write” and you have your operating system mounted on the micro SD, ready to use.
Now insert the SD in Raspberry’s slot, connect the Ethernet cable, your USB DAC and power it up. The procedure up to this point is identical no matter what OS you might choose.
MoOde (formerly known as TCMODS) is based on Debian (a well-known Linux distribution) and uses a custom version of the interface originally created by the authors of Rune Audio. The most important feature is the menu which will allow you to change preferences without typing a single string of code. It is as simple as tweaking your Windows or Mac favorite software. You can choose which DAC you want to use, buffer size during playback, DSD support and so on, then attach a HDD or your NAS and update your library. This is it. Operation, like in all Linux-based solution, is driverless; Up to now I have tested several well-known DACs including models from Marantz, Pioneer, Aune, iFi, Rockna, LH Labs, along with a few well-known DIY receivers, without having a single glitch.
Archphile on the other hand is a solution for those who already know some of the things mentioned in the article or have the will to do some basic studying. The code behind this OS is based on Arch Linux, runs with the smallest CPU footprint imaginable (1% average CPU usage!) and at the moment this is the only MPD-OS that offers SACD .iso playback. In order to set it up you will have to use an SSH client such as PuTTY for Windows or the “terminal” app for Mac OS. With the Raspberry powered and connected via Ethernet on your local network you simply insert the RPi’s IP on the aforementioned SSH client, log in as root user (password is archphile) and you are now able to change the settings. First you can choose the output device, then you can add a series of file support options for the MPD, customize various playback aspects and so on.
Both operating systems support UPNP, Airplay, web radios and I2S DACs that connect directly to the Rpi2 board such as Hifiberry and Iqaudio. I made several listening sessions with the Hifiberry+ and must admit that while not the ultimate in digital music reproduction it will definitely put a smile in your face when you take into account the cost, a staggering 30 euros!
It would be out of purpose for this introductory article to go into details since both operating systems receive outstanding support by their respective creators, Michael aka Tux in the dedicated Archphile forum and Tim Curtis on Audiokarma and DIYAudio. For the trickier Archphile Michael has a well written Tips &Tricks section which I found very useful myself.
Controlling a daemon
As I have mentioned earlier what you have in your hands is a headless minicomputer, in our case built for one purpose only, to stream music. So how do you control it? Actually there is a wide range of options as long as you have your RPi2 connected in your network.
Your main computer will do. It is quite simple actually; you can use the web application embedded in each OS or a standalone program. In the web browser (Firefox, Chrome, IE, Opera, etc) type http://archphile.local for Archphile and http://moode for MoOde and the user interface will automatically pop up (Windows user must install Bonjour, default on Mac). You can also type directly in your browser the IP designated by the router to your Raspberry (for example 192.168.1.X). This will open the user interface from which you can browse your library, create a playlist, pause, skip songs and everything else there is to do. Then there are several stand-alone applications that will work as well, I use GMPC on Windows which despite being rather ugly works very well even with huge libraries like mine. It will offer you some additional on demand features such as lyrics and artist’s bio details. The list of clients is quite long; choose the one you like most from here.
For those who do not wish to use their computers any given smart phone or tablet will do just fine. The web app through the cell phones browser works here as well but some standalone applications are even better. Mupeace tops my Android preferences but nothing comes even remotely close to the experience provided by Mpod/Mpad, available for iPhone (free) and iPad ($2.99). This is very close (some say too close) to the Aurender experience which is probably the best commercially available interface. Check the screenshot, notice any similarities?
The sound of a daemon
As with every recipe it all comes down to one question, how does it taste or in our case what does it sound like?
This is a highly controversial situation because in theory bits are bits and all software players claiming bit perfect reproduction should sound the same. Unfortunately we are in “audiophile” territory and not all pies taste as good. The Raspberry Pi2- MPD sounds like nothing else. Actually sounds like nothing.
That is because it stands out as the most transparent player I have ever used. It adds nothing and it takes away just about the same. Are you familiar with the audiophile stereotype “a veil was lifted”? This is it. The first time I heard this combination I thought I was listening to another DAC. This “miracle” will manifest with all types of music but it is easier to perceive especially with acoustic instruments, voices and big scale orchestras.
You are free not to take my word on this. Actually, I had serious doubts myself about the differences between playback software. But the evidence was all there. Foobar sounded different from Jriver. Audirvana was different too. I am not implying that one is better than the other, just saying that each seems to do the same thing in a distinct way. I doubt there are measurable differences but I still prefer the sound of my RPi2-MPD streamer. So let me ask you one question. How much have you spent in audio tweaks over the years? Spend $75 and build a Raspberry streamer yourself and let me know what you think.
If following this little guide or doing as much as bolting four screws seems out of your league and you can afford spending a few thousand $$$ for your audio player, then I suggest you buy the AURALiC Aries or one of Aurender’s models. They come in gorgeous cases, have fully automated support with firmware updates and take care of the various issues that might arise in the future without you having to lift a finger. Hardware-wise, they are similar but not identical as they come equipped with lower jitter clocks for the I2S connection, LCD screens, additional outputs depending on the model and an overall build quality that makes my little Pi look like it was made by … well, me.
That said, I have never gained so much in sound with such a modest investment.
My recommendation? Sit back in your couch, take your tablet in hand, browse through the library and enjoy.
The Raspberry Pi 2 is delicious!
Since the writing of this article MoOde updated the GUI with the playlist now embedded in the playback window for a friendlier user experience. Check it!
More of an update: Feb 29th, 2016 saw an update to the Raspberry Pi. Check that out, here.
- ATC SCM 100SL speakers
- ASR Emitter I HD amplifier with external Akku
- Marantz HD DAC-1
- Pioneer U-05 DAC
- iFi micro iDSD DAC*
- Rockna Wavedream DAC
- Aune S16 DAC
- Audiobyte Black Dragon DAC
- Signal Projects Hydra speaker cables
- Stereolab Superleggera Blue IC
- Belkin Gold USB cables
- Windows 7 64 with Foobar v1.3.2, GMPC
- HTC one mini 2 with Mupeace, RasPi check, Droid MPD client, Sound@Home apps
- Ipad Air 2 with Mpad app
*The LH Labs Geek Out 1000 will work with the Raspberry Pi 2 only when powered from a dedicated source as it necessitates of more power than what the RPi2 USBs can provide. The 450 version should have no problems.
*Addendum for builders
As many have asked about the source of the case and power supply used in my build, here are a couple of links that might come handy:
Aluminum case with enough space for the Rpi2 + LPS + transformer. Keep in mind that drilling holes in anodized aluminum is not so easy, I took mine to a pro shop for a neat finish of the USB port.
5 Ampere voltage regulator module, more than enough for the Rpi2. It has worked fine for me but more expensive ones (better?) do exist.
50VA 2×9 secondary output toroidal transformer. If you are aiming at 5Vdc (and you are) you need a bit more from your transformer but not much more (as the rest will become heat), 2×9 is a safe bet. You obviously do not need 50VA which is too much, 30VA would be more than enough. Depending on your region you can probably find cheaper ones than what I have linked above.
Be careful with the connections, if you do not know what you are doing ask someone to help. Don’t come back telling us you are now missing half a hand or you burned your place to the ground.
*Addendum for builders 2
Ifi has launched a fantastic ultra low noise power supply that will suit both Rpi2 and the new Rpi3. Check it out here
About the Author
Panagiotis Karavitis, Editor-at-Large
Born and raised in Athens, Greece, I had my first experiences with music through my uncle’s reel to reel rock tapes, grandfather’s 45’s of folk music and a futile passage at the conservatorium where I was supposed to learn the guitar. The guitar never happened but music grew strong into me and during the 80’s, I could not get myself off the boombox, listening to just about everything I could lay my hands on.
By the time I was 15, I had my own radio show at a local station, rock music mostly. What a year it was for me to actually go on air with my “the other side” weekly. It was the early 90’s, so a mix of vinyl and CD would do the job.
Time flew and I found myself in Italy, studying medicine and listening to classical music. And as the musical tastes evolved, so did my hi-fi system. From Marantz, NAD, B&W, Rega all the way to ASR, ATC, Garrard and with a touch of DIY, I loved each and every single piece of hardware.
I honestly believe that there are more ways to happiness. I enjoy using both solid state and tube gear, MM and MC carts. I must admit that I am particularly fond of the analog sound of vinyl and my music collection is heavily biased towards the black and not the silver discs.
Financial Interests: Pan is also a contributor to Enjoy The Music. And yes, he really is a practicing medical doctor.