Raspberry Pi As Hi-Fi Player With RuneAudio

534K1.2K121

Intro: Raspberry Pi As Hi-Fi Player With RuneAudio

This Instructable will show you how to turn your Raspberry Pi in a Hi-Fi music player with surprising sound quality when used in combination with an USB DAC.
We are going to introduce here RuneAudio, a free and open source software that we developed to replace the personal computer as digital source with a dedicated, cheap, silent and low-consumption board, running a custom-build Linux distribution. It's a new-born project but it already offers many features, it is under active development and it counts on a fresh but growing community.

As many other open source projects, RuneAudio came out from personal needs: we all were using a laptop as digital source before, but we weren’t happy about absolute sound quality and ease of use. Our girlfriends didn’t like it either, as messing around with laptop and cables in the living room was dramatically lowering the WAF of our Hi-Fi systems :) We thought that our work could be useful for many other people out there with the same needs, so we set up an open source project, encouraging people to download it for free and to contribute to the development.

RuneAudio project has two main and clear goals.
Our first goal is sound quality: we are working hard to get the best results from the Raspberry Pi and the other supported platforms, using Arch Linux as the base of our RuneOS and optimizing it as best we can for audio reproduction.
Our second main goal is to make it easy to use for everyone, so we developed a handly web interface (RuneUI) who lets users control the playback and system settings with absolute no need to use Linux command line. The web interface is cross-platform and responsive (it adapts to screen size), making it accessible from every kind of device (desktop computers, notebooks, tablets and smartphones). The installation process is as easy as writing an .img file to your SD card.

So let's begin with the (short) quick start guide.

STEP 1: Download and Extract

Download latest RuneAudio image release for your Raspberry Pi from the official website:

[ RUNEAUDIO DOWNLOAD ]

Once download is completed, extract the content of the .zip file with a compressed file manipulation utility (for instance: 7-Zip on Windows, Zipeg on Mac, Unzip on Linux). You will now have an .img (raw disk image) file.

STEP 2: Write the Image to the SD Card

Write the extracted .img file to your SD card, following the instruction of one of the following guides on elinux.org:

Make sure your SD card is not write protected before writing the image on it or before plugging it in your device.
When the write process has finished, safe unmount the SD card and plug it into your device.

STEP 3: Set Up the Raspberry Pi

  1. If you have a USB DAC plug it into a USB port, otherwise just plug the analog jack;
  2. If you have a USB storage, plug it into a USB port. In case of USB hard drive it’s strongly suggested the use of an external power supply if available or at least a USB powered hub;
  3. Plug your ethernet connector in
  4. Plug the PSU to the device
  5. Power the device on
Done!
RuneAudio will now boot on your device for the first time, acquiring an IP address (with enabled DHCP on your LAN).

STEP 4: Access the Web Interface – RuneUI

RuneAudio comes with its web interface - RuneUI, developed by RuneAudio team - which permits you to browse your music library, control the playback and configure the player. It works on any device and virtually any platform with a modern web browser installed (desktop PCs, notebooks, netbooks, tablets and smartphones).

You can reach the PlayerUI in several ways:
  • (Windows) open the following address in your browser: http://runeaudio or http://runeaudio.local (works if an Avahi/Bonjour client is installed)
  • (OSX / Linux) open the following address in your browser: http://runeaudio.local
  • (Windows) you should find a new icon under My Network Places, called RuneAudio: double click it to open you the PlayerUI in your default browser
  • If everything from above fails, try to discover the IP address of your device (check on your router) and point your browser to it (e.g. http://192.168.1.xxx)

Once inside, the Playback main view shows up.
We are not going to write here a manual of the web interface because it is designed to be easy to use and intuitive, so here there are just some hints.
You will notice three tabs on the bottom: Browse, Playback and Playlist. These are the main and most used sections of the RuneUI during music reproduction.
  1. Browse tab will be populated once you connect a USB drive containing music files to the Raspberry, or after you add a network mount (NAS) through the MENU > Database wizard.
  2. Playlist tab will be populated after you add items from the Database view.
To set up properly your audio output interface go to MENU > MPD, and for other system options go to MENU > Settings.

And now a final hint about a way to quickly access RuneUI: if you are using Google Chrome in Windows you can create an application shortcut in your desktop and/or in your taskbar. Here's a video showing how to do it:

That's all, enjoy your low-cost/high-quality digital player!

STEP 5: Get the Best Sound Quality Results

As you can see in the schematic above, a RuneAudio-powered Raspberry Pi places itself in the heart of a digital music system. It replaces the PC in a tipical computer audio setup, turning in an Hi-Fi digital player.
Some tips to get the best sound quality and enjoy your music:

  1. Use USB output for a true Hi-Fi experience, with an external USB DAC (a dedicated Digital Analog Converter). The built-in 3.5mm analog output is not that bad, but it's far away from high fidelity.
  2. Access your music through network. You can also read it from USB storages, but best results occur when music is stored on a NAS, mounted via NFS protocol.
  3. Use a good power supply, at least 10W (5V 2A). The Raspberry Pi has some known power issues and if you plan to plug more USB peripheals (e.g. a USB storage) it's strongly recommended to connect them via a powered USB hub.
  4. Try different system profiles under MENU > Settings > Sound quality tweaks in RuneUI. Every profile contains a set of kernel and system settings that may make your device perform better or worst, depending on surrounding condition (DAC model, NAS model, mount protocol, etc). On a revealing setup you should notice audible differences between them, so choose the one which adapts better to your taste.

STEP 6: Final Thoughts

The Raspberry Pi is a very popular platform and has been used for every kind of projects. Now it can be used as a dedicated/cheaper/smaller/silent replacement of the PC for computer audio, with surprising results.

RuneAudio is a new-born project and we still are in a early development stage, so in the first beta releases some features are limited and there could still be some small bugs. We invite you to give us your feedback in our forums and help us grow in number and quality.

We hope you'll find our work useful for you, we put a lot of effort in it.
Thank you for your attention! Ciao!

108 Comments

this is the coolest instructable yet, well done. I'm gonna do this as soon as I can afford to.
Question/comment: for those of us with an AVR, would it be possible to connect directly to the receiver via HDMI? I’d assume the audio quality would be similar to having an outboard DAC, since you’re sending the signal digitally for another device to process.
thank you for this good instructable.
My problem is that the Pi won't boot.
I use a 32 GB card, wrote the image with Etcher on the card and the only thing I get is a beautifull static rainbow screen.
is 32GB too large for a Pi?

the pi is ok because if I insert a card with raspbian every thing is ok
Dissapointing to discover people the problem I am having is this old and unaddressed. :(
is this updated to 2019? interested in a commercial application but are using the pi for more than a sound box so have already been using an existing distro. So can this be loaded on a different distro instead of loading the bootable version mentioned? Also have been researching many reviews of hardware dac and amp options and find that opinions are like like belly buttons everyone has one, but not sure how reliable their opinions are since they seem to be biased in one direction or another.
what's the maximum size thumb drive or hard drive I can connect to the Pi? I've tried a 1 terabyte drive and I keep having problems; the Pi takes forever to read all the files. In fact, it never gets past the spinning wheel thing.

Would it be possible to make this work on pi zerow with a phatbeat attached? Would make a great desktop radio.

I can't seem to adjust the volume through software! Am I doing anything wrong? I already set MPD to control by software but the volume circle is grayed out? I am using RPI3 model B+ and planning to use the built in analog. Thanks in advanced

I made it on a Raspberry PI 2. I added a USB WI-FI. It works fine next to my router but where I need it working the wireless is out of the range, so I can not access it. I was thinking to connect a touch screen to the PI and use it like this. Any idea if the touchscreen can access rune working on the PI?

Does Runeaudio support Raspberry Pi 3 with a Hifiberry DAC+ board on top?

Sure, Hifiberry DAC+ plays nice with RuneAudio on all Rpi versions.

This works on the Pi3, having trouble with Spotify and internet radio. Go to the Runeaudio site and follow instructions precisely for intial set up.

heey ^^

I tried to install this and wouldn't work, ik kept loading and refreshing; what is happening there?? :')

thanks in advance :)

I have an M2Tech HiFace USB DAC and getting the latest RaspPi 2 Model b (1 GB). I'd like to wire the RaspPi to my router (instead of wireless internet), connect the DAC and connect a 1 TB USB hard drive with all my music (flac, wav and mp3). Does this sound workable? The M2tech can play up to 32bit music. Would Rune or the Pi not allow that? Most of my music is in folders and I do not bother with playlists. Any problems I should expect?

It looks as if the article is from 2 years ago. Does this all still apply? Any updates needed?

Hi,

Yes, the procedure is still the same, i made it about a month ago with the most recent image and a rasp pi B+

It looks as if the article is from 2 years ago. Does this all still apply? Any updates needed?

HI,nice project.i intend to use raspberry pi with 1Tb external hdd can usb dac (both powerd from external supply) . can i control playlist,and player setting via android phone with some apps? thanks

Hello!
I have a very similar setup tp yours, so I will try to answer you :)
Yes, you can use a web browser to access the RuneUI from your phone. With RuneUI you can control playback, playlists and settings. You can also use a mpd client (mpdroid seems to be the nicest one) you can control playback and playlists.

I've been reading about Rune audio and I just don't get the jest of it...

I want to make my Raspberry Pi Model B+ Bluetooth discoverable audio player, put in my car and have it automatically start playing when I hit the ignition ( power the pi ) How would Rune audio enhance this...

FYI, if you want people to use this... make your language less technical... I have been on a 2 day Raspberry pi bender and I still don't understand what this pretty looking software does...

But I want to! So find your lay person and spell it out please...

Thanks in advance!

More Comments