Archphile - An Archlinux Based Audiophile Distribution for Raspberry Pi and Udoo Quad - diyAudio
Go Back   Home > Forums > Source & Line > PC Based

PC Based Computer music servers, crossovers, and equalization

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 19th June 2014, 02:56 PM   #1
tuxx is offline tuxx  Greece
diyAudio Member
 
Join Date: May 2014
Location: Greece
Default Archphile - An Archlinux Based Audiophile Distribution for Raspberry Pi and Udoo Quad

Hi Everyone!

I am opening this thread in order to present you a project i am working on since March 2014:

Archphile - Yet Another Archlinux Based Audiophile Distribution for Raspberry Pi and Udoo Quad

Summary:

Archphile is an Archlinux ARM/Mpd based distribution for Raspberry pi model B and Udoo Quad, targeted to users with USB DACS. Usb disks.
  • performance as default cpu governor (without overclocking)
  • recompiled mpd 0.18.11 (mpd-archphile) based on mpd-light from AUR niceness is set to -19 and lots of mpd features are disabled in each version (press mpd -V for more info)
  • latest firmware using rpi-update for the Raspberry Pi version
  • ympd 1.2.2 web interface.
  • usb disk/flash automounting using udevil.
  • dchp enabled by default
  • reachable with url http://archphile.local if zeroconf is enabled. In any other situation you can find the ip from your router
  • samba/cifs/nfs support you have configure /etc/fstab according to your own needs by modifying the sample lines
  • default credentials:
username: root
password: archphile
  • various webradios taken both from Volumio github and some added by me.
  • mixer is disabled by default. Use your amp to change the volume level. Ensure that system level is set to 100% using alsamixer command.


Supported devices:

- Raspberry Pi model B
- Udoo Quad (and dual with some extra steps)
- Cubox-i (unofficial support as I don't own any of these devices)

Details:

Archphile is in fact an ArchlinuxARM based distribution that uses MPD and a nice web interface for it, named Ympd:

Arch Linux ARM | Arch Linux ARM
Music Player Daemon
ympd - MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS

I have created a repository for this project:

Archphile - A Linux Audiophile Distribution - Repository

In this repository you will find two packages for mpd, one with minimal dependencies (installed by default) and one with ffmpeg support. You will also find ympd and some extra packages that help in the configuration of the whole system.


Why I made Archphile

The answer is simple: for fun!

I have been a linux user for many years (especially used debian unstable and Archlinux until today). What I really like in Archlinux it's the whole K.I.S.S. philosophy, that's why I created archphile with K.I.S.S. as a guide.

Ympd, is not a system web interface. It's just a web interface of mpd. You cannot configure stuff through ympd. You need ssh access and you have to configure some things yourself (with the most important being the NAS configuration). For this purpose, I have written some guides which I keep them up to date:

Archphile - A Linux Audiophile Distribution - How To

I have been asked to add features (ex. Shairport, spotify, nas configuration through web interface) many times until today. I will not do this and the reasons are:

- I am not a software developer and I don't have the knowledge to create a web interface or port YMPD and change it to my own needs. Even if I were, I would not make one. I prefer to choose and adapt existing open source project that does the job right.

- I really don't like automations. I prefer to configure my NAS one time by editing one file and forget it. From my experience, this philosophy has been proved the most stable in the world of linux.

- I know that spotify is nice, I also know that Shairport is very useful for some of you, but my intention was to create a very minimal configuration, with the less software and services possible because I believe that simplicity and low resources are two of the keys of the computer audiophile world.

Just plug the ethernet cable (or configure wifi - I always prefer ethernet) or the usb disk, connect the dac and the embedded device with a usb cabel, choose your flacs through ympd interface or any other mpd client and listen to music!!


Screenshots:

1. ympd - the mpd web interface

Click the image to open in full size.


2. Ram/cpu usage in Raspberry Pi with 24/96 Flacs:

Click the image to open in full size.


I really hope that you will enjoy Archphile!

Cheers,

Michael
  Reply With Quote
Old 25th June 2014, 10:01 AM   #2
tuxx is offline tuxx  Greece
diyAudio Member
 
Join Date: May 2014
Location: Greece
I just uploaded a new guide for an android ssh remote control for Archphile:

Archphile - A Linux Audiophile Distribution - Android SSH remote control for Archphile
  Reply With Quote
Old 26th June 2014, 12:33 AM   #3
flexus is offline flexus  Austria
diyAudio Member
 
Join Date: May 2007
hi,
seems to be a good approach of you, i'm using archarm on pi and am very satisfied.
will try out your android ssh idea on it, exactly what i needed for pacman -Syu, rsync and stuff like that.
anyways didn't get my snd_usb_audio (alesis multimix) running on archarm till now. as you are writing about good usb audio connectivity on archphile i will maybe try it out. wanted to get xbmc working with it.
is your distri yaourt (AUR) repo compatible ?

Last edited by flexus; 26th June 2014 at 12:35 AM. Reason: AUR question in detail
  Reply With Quote
Old 26th June 2014, 07:24 AM   #4
tuxx is offline tuxx  Greece
diyAudio Member
 
Join Date: May 2014
Location: Greece
Hi Flexus,

yaourt is not installed but you can add it. Archphile is nothing more than a customized archlinuxarm distro.

You can also build my packages in your own distribution:

Index of /repo/src/rpi

Above you can find everything needed.

If you want for example to build mpd-archphile:

1. pacman -S base-devel (very general package group that installs all needed packages for compile, package creation etc)
2. create a user and login with this user account
3. wget http://www.archphile.org/repo/src/rp...1-2.src.tar.gz
4. tar xvfz mpd-archphile-0.18.11-2.src.tar.gz
5. cd mpd-archphile
6. makepkg -s
7. install the created package with pacman -U or add it on your own repository
  Reply With Quote
Old 26th June 2014, 06:44 PM   #5
flexus is offline flexus  Austria
diyAudio Member
 
Join Date: May 2007
at the moment i'm using the package raspberrypi-firmware in /alarm repo. maybe it's the same as rpi-update. i noticed that it doesnt need to be updated by hand and makes it during a normal pacman -Syu.

thanks for the install tip, i will try out one or the other stuff of you after solving my xbmc audio thing. i've put much work on my system customization that it maybe pays of to try your suggestion with your packages to try it out.
  Reply With Quote
Old 21st July 2014, 07:34 PM   #6
diyAudio Member
 
Join Date: Feb 2003
Location: PATRA GREECE
Great, thanks for the effort, thought I fail to see any advantage on the use of RaspBerry Pi or UDOO for music reproduction
  Reply With Quote
Old 21st July 2014, 08:30 PM   #7
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Quote:
Originally Posted by konstantin View Post
I fail to see any advantage on the use of RaspBerry Pi or UDOO for music reproduction
Low power consumption?

No moving parts?

Small footprint?
  Reply With Quote
Old 21st July 2014, 09:00 PM   #8
diyAudio Member
 
Join Date: Feb 2003
Location: PATRA GREECE
Sorry to ask, but, doesn't a mini PC (client) with an SSD drive fulfills all these "requirements"?
Plus it's upgradeable, you can throw AND configure any OS in it to your liking without the need of any customized Kernel. \

http://www.aliexpress.com/item/E240-...939200677.html



Quote:
Originally Posted by phofman View Post
Low power consumption?

No moving parts?

Small footprint?

Last edited by konstantin; 21st July 2014 at 09:17 PM.
  Reply With Quote
Old 22nd July 2014, 07:17 AM   #9
tuxx is offline tuxx  Greece
diyAudio Member
 
Join Date: May 2014
Location: Greece
Of course a mini PC will do the job. It depends on what your requirements are. If I buy a pc for this job in the future I will folloq the exact same procedure with the installation of an Archlinux machine.

What I have seen all these months using flacs up to 24/192 is that a pc is an overkill for this use. Now I am listening to a redbook flac album using Archphile/Udoo Quad and the resources needed are the following:

Click the image to open in full size.

I realy don't see any reason to buy a pc to for this. To sum up, the reasons that made me use an embedded device were:

- They can do the job very well (especially Udoo and Cubox)
- I have a pc less - I prefer spend my money on a high quality NAS
- The power consumption is very low
- The system is fanless - zero noise (it's important for me - my hifi is very close to the desk i am workikg)
- Low cost
- Small footprint

Last edited by tuxx; 22nd July 2014 at 07:34 AM.
  Reply With Quote
Old 22nd July 2014, 06:35 PM   #10
diyAudio Member
 
Join Date: Feb 2003
Location: PATRA GREECE
I will argue just for the sake of the conversation, I will always admire every effort for "good" sound.....

The RaspBerry Pi costs around 40-50 euros (depending mostly in which side of the world you are) delivered but it is known to have major problems with It's USB chip, so it's not suitable for critical (see audiophile) music reproduction.
The latest "trend" of I2S DACs that bypass the USB chip looks interesting, I don't know how the I2S signal is "generated" in it though.

The UDOO costs around 120-130 euros (again depending mostly in which side of the world you are) delivered, has a "better" USB chip, it's a great "tool" made mostly for Arduino needed applications.


Question: Is ArchPhile (Phile as audiophile I presume) Bit Perfect as at least it's ought to for critical music reproduction?


To avoid any confusion, by Mini Client PC I mean the latest ~15 x 10cm machines which are essentially stripped down full featured PCs.
They come in many "flavors", for example an AMD E240 1.5GHz with DDR3 SO-DIMM 1GB memory (upgradeable to 8GB) and 8GB SSD (upgradeable to ........) costs around 110euro, delivered.....
Of course don't expect to run CATIA gear stress simulation on it unless you are a Vulcan with 200 years lifespan...

There's no need for custom made SW to work as you can load it with anything, from Debian to Linux to Windows and of course can be made Bit Perfect.
You can even make it Multi OS and discover (any) differences between Linux (AP Linux) and Win.....

I have both in it......
Lubuntu-Low Latency Kernel-ALSA (disabled Pulse Audio)-DeadBeef-USB Xmos DAC......
WIN7-cMP Environment-Foobar, JRiver-USB Xmos DAC......


Quote:
Originally Posted by tuxx View Post
- They can do the job very well (especially Udoo and Cubox)
A client PC can do it "better" for the above reasons.

Quote:
Originally Posted by tuxx View Post
- I have a pc less - I prefer spend my money on a high quality NAS
You can't really call a client PC a PC if it's only use is music reproduction and it costs less than both the UDOO and Cubox.


Quote:
Originally Posted by tuxx View Post
- The power consumption is very low
A client PC needs less than 2amps at 12v but I really don't see what power consumption has to do with it, you still have to connect to a power amplifier that needs 20 times more, do you know any audiophile that will "reject" a really good sounding amplifier based on power consumption?


Quote:
Originally Posted by tuxx View Post
- The system is fanless - zero noise (it's important for me - my hifi is very close to the desk i am workikg)
Client PCs are fan-less too.


Quote:
Originally Posted by tuxx View Post
- Low cost
Except from the RassBerry Pi (which is not suitable for critical music reproduction) client PCs costs less than both the UDOO and Cubox.


Quote:
Originally Posted by tuxx View Post
- Small footprint
Ok, a client PC is bigger at 10 x 15cm, double the footprint of an UDOO, does it really matters when you have to connect it to a 2U sized USB DAC (because it sounds better)?
The only reason I see fit is for someone that already bought an UDOO for another project that failed and want to put it in good use instead of throw it in the drawer, but starting a demanding audiophile Bit Perfect SW based transport project from scratch using any of these is unconventional to say the least.
Am I really missing something? Please educate the idiot here..

Konstantinos

Last edited by konstantin; 22nd July 2014 at 07:04 PM.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
To Raspberry Pi/BeagleBone Black/CuBox/UDOO owners: RuneAudio is looking for testers ACX PC Based 146 16th September 2014 03:47 AM
My DAC for the Raspberry Pi usul27 Digital Source 140 15th August 2014 11:53 AM
DSP for the Raspberry Pi usul27 Digital Line Level 28 25th June 2014 06:44 AM
RaspyFi/Volumio - Turn raspberry Pi into Audiophile audio Player mikelangeloz PC Based 295 14th June 2014 05:32 PM
miniAMP and raspberry pi kp93300 miniDSP 0 3rd March 2014 03:38 AM


New To Site? Need Help?

All times are GMT. The time now is 08:31 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2