Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

RaspyFi/Volumio - Turn raspberry Pi into Audiophile audio Player
RaspyFi/Volumio - Turn raspberry Pi into Audiophile audio Player
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
Thread Tools Search this Thread
Old 18th September 2013, 01:33 PM   #51
smallangryboy is offline smallangryboy  United Kingdom
diyAudio Member
Join Date: Dec 2004
Odd, OK pinged you a PM.
  Reply With Quote
Old 18th September 2013, 01:46 PM   #52
mikelangeloz is offline mikelangeloz  Italy
diyAudio Member
Join Date: Nov 2011
Location: Firenze
Originally Posted by Eudyptes View Post

Congrats on some excellent design work and programming in RaspyFi 1.0 from the team.

I don't have a Rpi, so I extracted the relevant stuff from the iso to test the WEBUI on my PC running a debian desktop. To be honest, I know little about nginx, php5 etc. but after a little detective work and some trail and error I have a working WEBUI and can at least test the generic functions of browse, playback and playlist on my working MPD install.

I'd recently tried the MPD clients client174 and rompr, both had their problems and from a visual and functional viewpoint I much prefer the clarity of the raspyfi WEBUI. The only mobile device I have in the home is a kindle 4 non-touch which has an “experimental browser”. The WEBUI works surprisingly well on kindle 4 non-touch with its limited browser. The only obvious issue, apart from speed, is all that controls symbols appear as question marks in little boxes, although when pressed they do function (a font issue?).

At last there is a decent MPD web client buried in the raspyfi distro that can start to rival things like Mpad and MPDroid.

I'm looking forward to the tsunamp ports to other platforms and wonder if you'd consider creating either a generic 32/64bit tsunmap iso install targeted at a PC, or self-contained package for the WEBGUI alone to run on a Linux PC/laptop where MPD is already installed, a bit like the method used for rompr package. For the later, I think you'd basically only need everything that exist under /var/ww/ and a set of nginx config files.

I really hope this is the start of great things for your project.
For some reasons my later message didn't appear. First thanks for the congrats. Makes me proud... And porting it to x86 would be a great idea, maybe in the future (now we're focusing on ARM as much as we can) . We'll publish the sources of the WEBUI as well, but it's very complicated to set up on a differents system, because it relies on custom workers that handles OS processes like automount, so you should replicate basically RaspyFi's OS...

As for the question marks, these are font sets, you should enable them, in order to see them. Or the kindle cannot handle them natively. Btw, never meant it to work on this... But happy it does indeed
  Reply With Quote
Old 23rd September 2013, 08:18 AM   #53
Shelby is offline Shelby  Austria
diyAudio Member
Join Date: Apr 2010
Location: Vienna
Default multi room support

Hi mikelangeloz,
I followed your thread with high interest. I'm actually planning our new house which shall provide decent audio playback capabilities for all rooms. The solution shall consist of a central NAS and players with ceiling speakers per room. The system shall be remote controlled by Android devices. As far as I understood your solution is perfectly supporting my project - so far. There's just one problem - I'de like to have the ability to playback all players in sync in a kind of partymode - meaning, the same music shall be played within all rooms (in sync). Do you have a solution or any plans to introduce such a feature in the future.
  Reply With Quote
Old 23rd September 2013, 10:26 AM   #54
rawdlite is offline rawdlite  Germany
diyAudio Member
Join Date: Sep 2013
Installed the RaspiFi.img yesterday and registered here to give my feedback and tweak suggestions. (RaspyFi Registration Form only gives me Access denied).
So here i am.

My main purpose for acquiring a RPi was to run a headless audio server in my kitchen, therefore i was quite excited when i stumbled across this project.
Unfortunately my Raspberry has the Hynix RAM, and it took me quiet some time to find out i had to exchange the .elf files.
A second image for newer Raspberry models would be nice.

Well, got (almost) everything up running now.
My setup consist of RPi and ADAM Artist3 attached to the USB.
SQ is real nice and better and more stable then with unpatched images.

I like the concept of everything works right of the box, but then i could not stop myself from some tweaking.

First i created a new user. This is not necessary and i am just mentioning this, because should anybody else do this and then wonders why alsa finds no devices, well one should not forget to add that user to the relevant groups in /etc/groups

Next i created a .asoundrc with
pcm.!default "hw:1,0"
So that when i decide later to switch the sound output to hdmi, i will only have a single location to change.

- Spotify
First thing i missed was access to my spotify account.
I installed mopidy, but the webGUI did not play along.
Now i have mpd running under port 6600 and mopidy on 6601.
I really do like the simplicity of the RaspiFy Interface and would love to see this integrated.
For now i am using woutervanwijk/Mopidy-Webclient and ncmpcpp in a tmux split screen for both ports (running on different machine).

- Random Play
Next thing i missed was random play.
I installed albumbler.
I tweaked the the script to accept arguments for host and port and have it run on my macbook. With this tweak i can also access the other mpd server running in different rooms.

OTOH i think it would be very easy to add a button in the webGUI to run a local albumbler with mocp.

So what is missing?
- Open Issues
-- Playlist
For some reason my playlists don't work with the webGUI, although they do work with other mpd-clients i tried(ncmpcpp, mingus, theremin, rompr ...).
Also my playlist directory is on the same level as my mp3 and flac directories and gets listed as browsable in the gui. Other clients hide it.
Funny thing is, using the search in the webGUI, i can access and play titles in the playlists.
Ultimately i would want to save a song into the playlist and save a queue as playlist. I want to be able to mix spotify titles and local files in a playlist.

-- Sounddevice
I do not like pulseaudio one bit and am glad its not part of RaspiFy. Please keep it that way.
The remaining issue with the alsa hardware now is the various applications competing for direct access.
So far i see two different approaches to address this.

1. Write a daemon, that periodically checks the applications log files for device busy messages. Then stop or kill the blocking application.

2. Use jackd. But that might open a whole other can of worms.

-- Hardware Play Button
Probably my next project. Using the RPi GPIO i would like to add pushbutton to change the playing album(albumbler). While i am at it i might add buttons for next and previous song as well.

Thats all for now, i guess.
Great project.
  Reply With Quote
Old 29th September 2013, 11:20 AM   #55
Deafuser is offline Deafuser
diyAudio Member
Join Date: Jun 2012
Default Microsoft

Guys, this code is open source and yet, I need a "poxy" Windows program to extract the .img file to usb! Now I got to Google the Linux version

Instructions should be for all OSes, I mean, what about Mac's?
I wouldn't know where to begin!

If the code was for Windows with a cost, you could understand! So come on, put up the info, and don't make us trawl the forums or Google for the answer!
  Reply With Quote
Old 29th September 2013, 12:35 PM   #56
phofman is offline phofman  Czech Republic
diyAudio Member
Join Date: Apr 2005
Location: Pilsen
Why do you need any special tool for raw img transfer on linux? Just dd the image to your SD card. IMO that is why it was not even mentioned in the instructions :-)

I guess the same holds for OSX, it is a unix too.
  Reply With Quote
Old 30th September 2013, 07:50 AM   #57
Deafuser is offline Deafuser
diyAudio Member
Join Date: Jun 2012
Default Odd!

That was the first thing I did! To which case, it doesn't boot??


  Reply With Quote
Old 30th September 2013, 08:56 AM   #58
phofman is offline phofman  Czech Republic
diyAudio Member
Join Date: Apr 2005
Location: Pilsen
Looking at the source code https://sourceforge.net/p/win32diski...e/src/disk.cpp IMO that utility only copies the img contents (sectors) to the selected device, nothing more.

file RaspyFi1.0.img 
RaspyFi1.0.img: x86 boot sector; partition 1: ID=0xb, active, starthead 32, startsector 2048, 153600 sectors; partition 3: ID=0x83, starthead 175, startsector 155648, 3256320 sectors, code offset 0xb8
The image holds a complete disk with two partitions.

parted RaspyFi1.0.img unit B p
Model:  (file)
Disk /home/pavel/tmp/RaspyFi1.0.img: 1887436800B
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start      End          Size         Type     File system  Flags
 1      1048576B   79691775B    78643200B    primary  fat32        boot
 3      79691776B  1746927615B  1667235840B  primary  ext3

losetup -o 1048576 /dev/loop0 RaspyFi1.0.img
losetup -o 79691776 /dev/loop1 RaspyFi1.0.img
mount /dev/loop0 /mnt/part1/
ls -l  /mnt/part1/
total 19166
-rwxr-xr-x 1 root root   17804 May 16 21:49 bootcode.bin
-rwxr-xr-x 1 root root     413 Sep  7 13:53 cmdline.txt
-rwxr-xr-x 1 root root      24 Aug  6 13:57 config.txt
-rwxr-xr-x 1 root root    5900 May 16 21:49 fixup.dat
-rwxr-xr-x 1 root root    2264 May 16 21:49 fixup_cd.dat
-rwxr-xr-x 1 root root    8826 May 16 21:49 fixup_x.dat
-rwxr-xr-x 1 root root 2950344 May 16 21:49 kernel.img
-rwxr-xr-x 1 root root 9704912 May 16 21:49 kernel_emergency.img
-rwxr-xr-x 1 root root 2697972 May 16 21:49 start.elf
-rwxr-xr-x 1 root root  570264 May 16 21:49 start_cd.elf
-rwxr-xr-x 1 root root 3661668 May 16 21:49 start_x.elf

mount /dev/loop1 /mnt/part3/
ls -l /mnt/part3/
total 1880
drwxr-xr-x  2 root root    4096 Jul 13 22:23 bin
drwxr-xr-x  2 root root    4096 May 16 23:04 boot
drwxr-xr-x  3 root root    4096 May 16 21:14 dev
drwxrwxrwx 93 root root    4096 Sep  7 18:12 etc
drwxr-xr-x  3 root root    4096 Aug  6 17:15 home
drwxr-xr-x 13 root root    4096 Jul 29 23:49 lib
drwx------  2 root root    4096 Sep  7 15:01 lost+found
drwxrwxrwx  4 root root    4096 Jul 30 03:39 mnt
drwxr-xr-x  3 root root    4096 May 16 23:01 opt
-rw-r--r--  1 root root 1840742 Sep  7 18:13 php_errors.log
drwxr-xr-x  2 root root    4096 Dec 26  2012 proc
drwx------  9 root root    4096 Sep  6 14:53 root
drwxr-xr-x  3 root root    4096 Jan  1  1970 run
drwxr-xr-x  2 root root    4096 Jul 25 03:02 sbin
drwxr-xr-x  2 root root    4096 Jun 20  2012 selinux
drwxr-xr-x  2 root root    4096 May 16 21:05 srv
drwxr-xr-x  2 root root    4096 Feb 26  2013 sys
drwxrwxrwt  2 root root    4096 Sep  7 18:12 tmp
drwxr-xr-x 11 root root    4096 May 16 22:44 usr
drwxr-xr-x 12 root root    4096 Sep  7 14:04 var
Looks fine to me. Did you dd the image to the raw device (sdb) or to its partition (sdb1) instead? My 2cents this is the cause.
  Reply With Quote
Old 30th September 2013, 10:05 AM   #59
rawdlite is offline rawdlite  Germany
diyAudio Member
Join Date: Sep 2013
You probably just have a newer RPi with the Hynix memory chip.
Just get a newer version of the start.* files and copy then to your boot partition.
Public service announcement! | Raspberry Pi

  Reply With Quote
Old 30th September 2013, 10:58 AM   #60
phofman is offline phofman  Czech Republic
diyAudio Member
Join Date: Apr 2005
Location: Pilsen
Please, what is the actual technical cause, IOW how do this memory chips differ in regards of the booting process? Thanks a lot for explanation.
  Reply With Quote


RaspyFi/Volumio - Turn raspberry Pi into Audiophile audio PlayerHide 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Archphile - An Archlinux Based Audiophile Distribution for Raspberry Pi and Udoo Quad tuxx PC Based 112 14th January 2018 10:17 PM
Volumio (ex RaspyFi) Audiophile Music Player for embedded systems mikelangeloz PC Based 115 8th March 2017 11:58 AM
Volumio, Raspberry-pi and hardware volume control hugobors PC Based 4 2nd March 2015 01:34 PM
miniAMP and raspberry pi kp93300 miniDSP 0 3rd March 2014 04:38 AM
Raspyfi (raspberry pi) regulators kentxon Digital Source 0 18th November 2013 08:59 AM

New To Site? Need Help?

All times are GMT. The time now is 04:05 PM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio