Another Raspberry Pi Audio Distribution is called Volumio

Real easy to install if you follow the directions here. You scroll down just a bit and under the “Flash It” section it gives directions for making the SD card under Windows, Mac OS X or Linux.

Once your card is flashed hook your raspberry pi to ethernet and insert the SD card and apply power.

Then go to your browser that is on the same network that your raspberry pi is plugged into ethernet in and type:

volumio.local

You’ll see a page like this:
Screenshot 2014-12-17 19.39.45


Okay now you need some music to play and this is where it gets tricky. Tricky for me because all my music resides on my Mac Mini music server (on the same network).

Go to Menu > Library and you’ll see this:


Screenshot 2014-12-17 19.41.26


Screenshot 2014-12-17 19.43.29

Click on Add a new mount and you need to fill in some information.

But first lets go to the Mac Mini. Here’s where my music lives.......on Macintosh HD > Music

Screen Shot 2014-12-17 at 7.32.36 PM

Now lets share it so Volumio can find it. On your Mac Mini go to System Preferences > Sharing

Notice that it says my IP address is 10.0.1.54 and notice that under “Shared Folders” I have clicked the + sign and added the Music Folder after browsing to it.

Screen Shot 2014-12-17 at 7.32.48 PM

Now it is ready to be found by Volumio. This is a little weird because if you drag the folder Music into a terminal prompt to get the location of it you see this:

The location is /Volumes/Macintosh\ HD/Music.

Screen Shot 2014-12-17 at 7.33.26 PM

But that’s not what Volumio wants to see. Lets fill in our blanks, shall we?

Source Name - Anything you want it to be. I chose MacMini
Protocol - SMB/CIFS
IP Address - Mine was 10.0.1.54 Yours is probably something else.
Remote directory - Music (because it is shared that is all you need to type. Not the longer address from just above).
I have a user name and password. You don’t have to but I set it up on the Mac. This is optional but recommended.

Screenshot 2014-12-17 19.45.11

Now this drove me nuts for a long, long time. I could never get it to connect successfully. That’s where “Show Advanced options at the bottom of the pic above comes in. Click on that.

Under Mount Flags type this exactly:

nounix,sec=ntlmssp

Screenshot 2014-12-17 17.47.00

Now hit “Save Mount”.

Screenshot 2014-12-17 19.56.04

Success at last.

Now hit Browse (bottom left)

And you have the following screens: (NOTE: Notice Spotify? You can configure that under Menu > System > Streaming Services. You need a premium account though).

Hit NAS

Screenshot 2014-12-17 19.57.51

Mac Mini

Screenshot 2014-12-17 19.57.56

And your music

Screenshot 2014-12-17 19.58.01

Click the button on the far right and you can select and play that album

Screenshot 2014-12-17 19.59.43

That’s it. Only other thing that drove me crazy was my Wi-Fi network under Menu > Network has spaces in it. Volumio Wi-Fi config does not like spaces in your Wi-Fi name.

So do this:

Configure something and then from a terminal from your Mac (or whatever computer) you can SSH in and

In my case you go to terminal and type (making sure to use the proper IP address of your Volumio box

ssh 10.0.1.197 -l root

the password is

volumio

Once you are in do this

passwd root

and change your password. It’ll ask you to type it in twice. Don’t leave the root password as volumio.

Okay now type in your terminal

nano /etc/network/interfaces

My file looks like this

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wireless-power off
wpa-ssid John's Wi-Fi Network
wpa-psk
somefookingpassword

auto eth0
iface eth0 inet dhcp



That won’t work. Put quotation marks around the SSID name like this.

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wireless-power off
wpa-ssid
"John's Wi-Fi Network"
wpa-psk
somefookingpassword

auto eth0
iface eth0 inet dhcp

Now issue a reboot command

reboot

You should be good to go at this point with mounted shares on your Mac and working Wi-Fi.

And a guy I know on the internets suggests doing this:


Try the Sound Quality Tweaks under the System button.

If you hear any difference at all, try this.....I updated the file to include some tweaks I found to be useful over the years. Kernel level tweaks are actually based off IBM not me....there is a file located in /var/www/command/orion_optimize.sh

I added the portions in RED

######################################
# Orion Tsunamp Optimize script v0.9 #
######################################
ver="0.9"

if [ "$2" == "startup" ]; then
## kill useless system processes
#killall -9 avahi-daemon
#killall -9 dbus-daemon
killall -9 exim4
killall -9 ntpd
#killall -9 rpc.idmapd
#killall -9 rpc.statd
#killall -9 rpcbind
killall -9 thd
killall -9 udevd
#killall -9 automount
killall -9 cron
killall -9 atd
#killall -9 dhclient
killall -9 startpar
chrt -f -p 81 $(pidof mpd)
sudo chrt -f -p 99 3
#Automatic unmuting
sh /home/volumio/unmute.sh
echo "flush startup settings"
fi


## kernel latency settings (1.0 BetaACX - betaacx.img ) MOD1
## "warm" sound but little less "focus"

# mod1
if [ "$1" == "ACX" ]; then
echo -n performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ifconfig eth0 mtu 9000
echo noop > /sys/block/mmcblk0/queue/scheduler
echo 0 > /proc/sys/vm/swappiness
echo 1000000 > /proc/sys/kernel/sched_latency_ns
#echo 166666 > /proc/sys/kernel/sched_rt_period_us
#echo 158333 > /proc/sys/kernel/sched_rt_runtime_us
echo 100000 > /proc/sys/kernel/sched_min_granularity_ns
echo 25000 > /proc/sys/kernel/sched_wakeup_granularity_ns
echo "flush MOD1 sound profile 'warm'"
fi

And this:

Also in the mpd.conf file located in /etc/mpd.conf

I added these portions in RED

audio_output {

       type       "alsa"
       name       "Output"
       device    "hw:1,0"
       mmap_emulation "true"
       fragment_size  "4096"
       dop    "no"