<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Musicbox Raspberry Pi 3</title><link>/products/raspberry-pi/raspberrypi_projects/b/blog/posts/musicbox-raspberry-pi-3</link><description>BackgroundI have been upgrading my old Harman Kardon AVR 630 , first i installed an HDMI Switch to upgrade the connectivity. Now i want to installed a Raspberry Pi 3 with Pi Musicbox to upgrade my receiver with streaming services like: Spotify, tunein</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Musicbox Raspberry Pi 3</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/musicbox-raspberry-pi-3</link><pubDate>Sun, 26 Jun 2016 23:20:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:28c35641-8e24-49a8-b9c0-9c85cee4ff86</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I did something similar to this a few weeks ago.&amp;nbsp; I found it less restrictive to forego the PiMusicBox image and just use Jessie/Jessie Lite with Mopidy and MusicBox.&amp;nbsp; PiMusicBox is a bit out of date.&amp;nbsp; I wanted to use a more recent distro and wasn&amp;#39;t afraid to do Mopidy, MusicBox and SnapCast directly on the iron.&amp;nbsp; PiMusicBox has routines that will undo your changes, which is probably good in a lot of cases, but left me looking for a work-around.&amp;nbsp; PiMusicBox isn&amp;#39;t based on Jessie, doesn&amp;#39;t use the latest Mopidy and can&amp;#39;t really use the latest SnapCast.&amp;nbsp; MusicBox is the interface without the underlying baked image.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I implemented my first version using PiMusicBox.&amp;nbsp; It worked as a single-source music player and I was happy with it, but I viewed it as a proof of concept.&amp;nbsp; I really love MusicBox as the UI.&amp;nbsp; I&amp;#39;m still looking for a good &amp;quot;random play&amp;quot; in its interface, but it does a good job with local files (&amp;quot;present my library as I&amp;#39;ve got it laid out on disk, thank you&amp;quot;) and I&amp;#39;m only using it for Tune-in so far.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I put (full) Jessie on my server (a Pi2B) and used Jessie Lite on the clients (original Pi B&amp;#39;s).&amp;nbsp; The clients (originally 2, now 4) have HifiBerry DACs on them.&amp;nbsp; This weekend the system expanded such that the server is also a client.&amp;nbsp; It got a DAC+.&amp;nbsp; The DAC+ is much less a pain because the original DAC requires some pretty tight soldering on the Pi B&amp;#39;s board.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So, the server is running full Jessie, hosts my NAS, which stores the library and much of my other data, is the SnapCast server and is now a SnapCast client as well.&amp;nbsp; It goes into the &amp;quot;big stereo&amp;quot; in my living room.&amp;nbsp; The big issue with the server is that being both a client and a server, the server daemon has to be initialized before the client can connect.&amp;nbsp; I haven&amp;#39;t got a full solution for that yet.&amp;nbsp; The best solution lies in /etc/init.d/snapclient - the start up script.&amp;nbsp; I&amp;#39;m not a Linux guru so I haven&amp;#39;t dared edit it yet.&amp;nbsp; My makeshift solution (which is not reliable) is to rename the symbolic links /etc/rc2.d/S02snapclient to /etc/rc2.d/S02zzzsnapclient and /etc/rc2.d/S02snapserver to /etc/rc2.d/S02~~~snapserver.&amp;nbsp; The daemons are supposed to be launched alphabetically, so I&amp;#39;m trying to ensure that the server starts first.&amp;nbsp; I think that most of us are using our snapservers as snapclients as well - the cost of Pi&amp;#39;s adds up and why shouldn&amp;#39;t the server also play back?&amp;nbsp; The snapclient&amp;#39;s startup script should check to see if snapserver is installed and if it is, verify that it is initialized before launching snapclient.&amp;nbsp; I&amp;#39;m not good enough at shell scripts to implement that yet.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The SnapServer has to also be a SnapClient if you want it to play in sync (or I think play back at all).&amp;nbsp; The original Pi B&amp;#39;s are scattered over my house.&amp;nbsp; With any device (more or less) with a browser I can control the stream.&amp;nbsp; All of the units play back the audio more or less in sync (SnapCast claims typically less than a millisecond of latency, which is the amount of time that it takes sound to move a foot).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am planning on adding a Pi3 to take the place of the current server/client.&amp;nbsp; I want to mirror the drives on the NAS and add LUKS encryption so I&amp;#39;m comfortable putting sensitive data on the NAS and only the NAS.&amp;nbsp; It will (of course) also be a client (playback node).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There are two main drawbacks with my current system:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1)&amp;nbsp; Google has a Chrome device (Chrome Audio?) that does this for about a third of the price of my nodes ($35).&amp;nbsp; The HifiBerry&amp;#39;s may be of higher quality playback.&amp;nbsp; I can upgrade my system more easily than Chrome, but realistically, most of my nodes are old.&amp;nbsp; Who knows how much longer I&amp;#39;ll be able to keep them in service?&amp;nbsp; I already had them.&amp;nbsp; My current five node system cost about $140, or $28/node because I owned most of the required equipment already.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2)&amp;nbsp; Solutions such as Sanos and Chrome Audio have the concept of &amp;quot;zones&amp;quot;, such that different parts of the network can tune in to different streams.&amp;nbsp; SnapCast does not have this AFAIK.&amp;nbsp; Another solution that I know of is by LogiTech, but it is more proprietary.&amp;nbsp; Pulse Audio also exists and may take the place of SnapCast.&amp;nbsp; I didn&amp;#39;t pursue Pulse Audio.&amp;nbsp; I think SnapCast is &amp;quot;lighter weight&amp;quot;.&amp;nbsp; Sanos is expensive and locks you into amps and speakers.&amp;nbsp; Chrome doesn&amp;#39;t.&amp;nbsp; If I were starting from scratch, Chrome would be looking very attractive.&amp;nbsp; I&amp;#39;m enjoying the project though.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There is an Android App for SnapCast that can control the volume of various nodes, but I just reach for the volume knob on the amps that they are hooked up to.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I had been looking for a way to implement this for a couple of years.&amp;nbsp; I&amp;#39;m happy with the system so far.&amp;nbsp; It&amp;#39;s still evolving.&amp;nbsp; I&amp;#39;d need the new Pi3 server plus three other nodes to cover the whole house.&amp;nbsp; Right now I&amp;#39;m planning on the new Pi3, having amp/speaker setups and having a &amp;quot;floating&amp;quot; Pi B for the lesser used rooms rather than shelling out the cost of the next three nodes.&amp;nbsp; I&amp;#39;d rather ease into them.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Congrats!&amp;nbsp; If you&amp;#39;d like to compare notes going forward, please get in touch.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;KO&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=1568&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>