Introduction: Raspberry Pi As Hi-Fi Player With RuneAudio

Picture of 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

Picture of Download and Extract
Download latest RuneAudio image release for your Raspberry Pi from the official website:


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

Picture of 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

Picture of 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

Picture of 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

Picture of 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

Picture of 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!

Comments

tarcana (author)2014-02-03

this is the coolest instructable yet, well done. I'm gonna do this as soon as I can afford to.

joaqi823 (author)2016-10-28

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

DanielL175 (author)2016-09-27

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?

yakshamash (author)2016-08-09

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

RuneAudio (author)yakshamash2016-08-12

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

PeterB84 (author)2016-06-14

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.

xUNMERITEDx (author)2016-02-10

heey ^^

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

thanks in advance :)

futurejones made it! (author)2016-02-08

This is an Awesome Music Player.

I am using a Raspberry Pi 2 and FiiO E07K USB DAC. Easily plays my 24bit/192kHz FLAC files and sounds great. Using an iPod Touch for remote control.

Attached is a prototype custom "Album Drive" I am working on.

jdsr (author)2016-01-27

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?

jdsr (author)jdsr2016-01-27

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

Navi NathaneC (author)jdsr2016-01-27

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+

jdsr (author)jdsr2016-01-27

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

zurezult made it! (author)2016-01-21

thanks for the instructable. Have build it inside a mobile speaker, tried it first with xmbc but it didn't work that well, but this is great! See pic of when i was testing with the Wifi router on a battery.

CipriD (author)2016-01-09

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

Navi NathaneC (author)CipriD2016-01-11

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.

Navi NathaneC made it! (author)2015-12-16

Hi! I just installed rune it this afternoon :3
I have to say that this is like the 4th time I set up a device for Hi-Fi audio. The 1st time was installing audiophile linux in an old netbook of mine (http://www.ap-linux.com/)
I got to know about Rune from their web page. 2nd try was installing arch from scratch in that same computer and using the real-time kernel. Turned out pretty nice, so now that computer is at the office with a Creative E5 :D
Then I got curious about the RaspberryPi, so got one and again installed Arch ARM on it from scratch and set it up to play music with an FiiO Olympus E10. Worked very nice too, I used at home half a year or so, until last night I finally decided to go and install Rune.

So how does Rune fares againts my previous experience setting up a music box?
Well, I would say that the Install-and-Play was awesome, the thing is so magic, no need to configure almost anything, just flash it, attach DAC and USB disk with the music library, open web browser and start playing music.
Plus, the RuneUI is awesome, it not only looks great, it is easy to use and what made fell in love with it, it can be used to configure the system. It just like magic.

The only 2 things I hope will be included in the future are:
1. Keyboard binds <- I am a keyboard-driven user, so not having keyboard binds is like having one arm chopped off :c
2. The option to select the root library folder. in my library i have 2 folders: Library, where all music that have properly set tag is stored, and a separate folder to put those files that need some tag editing.

All in all, it has been a pleasant, extremely easy-to-use experience. :)

ShaunT5 (author)2015-09-02

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!

KeithA2 (author)2015-05-15

Is it possible to run with out using the web interface. I want to run a touch screen off the pi and not reply on a home network

RuneAudio (author)KeithA22015-05-18

RuneAudio is build to turn a mini-pc into a headless music player, so no on-board screen is available out of the box. Anyway there are some threads in the forum discussing on how to connect a LCD touchscreen and show the UI on it.

Shadowfalcon18 (author)2015-04-29

ive installed and hooked up everything and the GUI says its playing music but I get no sound.

RuneAudio (author)Shadowfalcon182015-05-06

Which output interface are you using?

shaun.vickers (author)2015-01-24

Hi. 2 questions.

1) Is it possible to install a USB wifi dongle and bluetooth dongle instead of a wired network cable? If so is it pnp or are there drivers available in your image? Or can I install my own with the dongle?

2)Does Runeaudio support streaming music services such as pandora and spotify? Is there a way to install apps for them or would I need to stream them from say my home PC or phone?

Thanks!

RhinoN1 (author)shaun.vickers2015-05-01

Hi Shaun,

I just set this up. What you will want to do is use a ethernet cord to initially log into the device. From the webui you can setup the wifi to your network and login password. Once this is done you can disconnect the ethernet, or better shut down the unit and move it to where you need to go. There is a built indicator that will let you know it worked. (Goes from red x to a green checkmark).

Shadowfalcon18 (author)2015-04-16

do you have more information on your custom amp you built?

RuneAudio (author)Shadowfalcon182015-04-17

It's a T-Amp TA2024 Fenice board with custom built linear 3A PSU, boxed in a hand made wooden enclosure.

jackfunkhouser (author)2015-04-12

Actually, this is really cool. Not only can you add your music to a USB drive but Airplay works well.

putyn (author)2015-02-19

looks like everything i need, but will this work with the pi a+ ?

RuneAudio (author)putyn2015-02-20

Yes, it will.

dix-huit (author)2014-02-01

Sweet. Add Spotify and Google Music integration and I'm in.

mirtma (author)dix-huit2015-01-27

Something I've been searching for. RuneAudio looks great, only if it would have support for Google Music, Deezer etc. Is it possible to say when can we expect those future integration?

RuneAudio (author)mirtma2015-02-15

Yes, it's possible in the future, expecially after the backend refactoring which is under development.

rray8 (author)2014-02-01

I was successful in downloading and installing the software on an SD card and booting up, but I am presented with a login screen. Can't get past that to the rune audio screen. Am i doing something wrong?

coreyd (author)rray82015-02-14

Hey man nothing is wrong you have done everything right so far, make sure it is plugged into your modem and connect to it using your computer using runeaudio.local on your phone like a Android phone go to the browser and write in the IP address of it to view the web interface.

RuneAudio (author)rray82014-02-01

RuneAudio transforms your Raspberry Pi in a headless player, so you don't need a connected monitor (as you have noticed, you will only see the command prompt from it). As described in Step 4 of this Instructable, you are supposed to control it from remote: you can choose between its integrated web interface (RuneUI) or any third party MPD client (MPDroid for Android, MPoD for iPhone, GMPC for Windows/Linux, etc).

rray8 (author)RuneAudio2014-02-02

got it, thanks.

PC_Payn3 (author)2015-01-22

Hello, firstly what an excellent idea :)

Can you tell me if i can add this onto my pi without wiping everything else? As im trying to create a total automation machine, i already have the coding on there to control my lights and sockets and have created a webpage to integrate everything onto. Which i wanted to add this to it also so i can play music.

Any ideas ?? Can i install via cmd line on the pi itself via the wget etc feature.

RuneAudio (author)PC_Payn32015-01-23

Hi, RuneAudio is distributed as full system (a custom distro based on Arch Linux with integrated software on it), so you can't simply install that over your setup. It would be easier to install your custom software on our system.

mday9 (author)2014-12-27

This was very easy to setup and it's working really well. I did have some trouble with the NFS but it was quickly fixed after a quick search on the forums.

I had to use mnt/HD_2/Music instead of Volume_1/Music. I found the mnt/HD_2/Music line in my NAS when I set it up.

JakeM3 (author)2014-12-22

Hi, my raspberry pi cannot be located by my computer, I have the latest runeaudio img file and i put that on to a sd card with a 8 gb flash drive that holds all my music , how come the raspberry pi can't be located?

RuneAudio (author)JakeM32014-12-23

Hi JakeM3, your Rpi should be automatically reachable at http://runeaudio or http://runeaudio.local. If not, go to the admin panel of your router and see there what IP has been assigned to it (assuming that you have the DHCP enabled in your network).
More information here:
http://www.runeaudio.com/documentation/quick-start/quick-start-guide/

abrymora (author)2014-11-29

Ok so I thought about connecting my raspberry pi with rune audio to a touchscreen, but I'm completely new to raspberry pi. So I found out that there are systems to drive the touchscreens but if i put the rune audio onto it will they work? any advice would be great!

I'm not affiliated with RuneAudio, but my understanding is that it devotes all the device's power to music playback and thus doesn't use video output from the pi directly. Instead, you use your computer, smart phone, or tablet etc to control over the network.

abrymora (author)2014-11-29

Oh and wouldn't it be cheaper if we could connect HiFiBerry ( http://www.hifiberry.com/dacplus/ )? It's DAC and I've heard it does a pretty good job in outputting a good sound quality. Would there be a way to play music through the hifiberry and then to amp, and finally to speakers?

RuneAudio (author)abrymora2014-11-30

HiFiBerry DACs work out of the box with RuneAudio. Moreover, I2S DACs are possibly the best choice in terms of quality/price ratio for the Rpi...

karelbtw (author)2014-11-25

I am having a problem switching from DHCP to Static Network setting. After doing the correct settings the system will confirm but after a reboot the Raspberry Pi B+ will no longer be found on the network. With DHCP this works OK.

Perhaps you could look into this. Thanks.

jack.mccarthy.165 (author)2014-11-12

Is there a way to leave my music and pi at home and go camping and listen over a connection???

MarkT5 (author)2014-10-15

Hmmm...the screenshot above looks just like Volumio - is one of you a
fork? I'm having issues with Volumio's wireless connections (wont accept
an 8 mask for some reason) . What's the difference between the 2
projects?

RuneAudio (author)MarkT52014-10-15

Hi MarkT5,
you can find informations about that here:

http://www.runeaudio.com/forum/about-runeaudio-and...

We invite you to try the 0.3-alpha for Raspberry Pi to see by yourself the differences:

http://www.runeaudio.com/forum/runeaudio-0-3-alpha...

Also take a look at the changelog (almost all the 0.3-beta changelog applies to the 0.3-alpha):

http://www.runeaudio.com/changelog/

fecaminos (author)2014-09-15

Hello great project, I am buying my first raspberry pi just to make my own player. I would also like to build my own amp , is there an instructable to build the AMP in the picture "DIY amplifier with T amp"?

RuneAudio (author)fecaminos2014-09-16

No, that's a personal project of ACX (RuneAudio's co-founder), who built it with a friend in 2008 as gift for his girlfriend.
If it can help you, here there are some pics of the finished amp in this Flickr album: https://www.flickr.com/photos/solostereo/sets/72157627691242953

About This Instructable

469,809views

1,131favorites

License:

Bio: RuneAudio is a free and open source software that turns embedded hardware into Hi-Fi music players. Take a cheap, silent and low-consumption mini-PC and make ... More »
Add instructable to: