Introduction: Sonos-like Wireless Multiroom Sound System

Picture of Sonos-like Wireless Multiroom Sound System

Since I was a kid, I have always loved homes that have built in speaker systems where the whole house is synchronized with one song. I always thought that was something only those that could shell out thousands of dollars could accomplish.

Then came SONOS. I thought the SONOS systems were the answer to not having my home torn down just to have a sound system that would play my music in harmony... Then I saw the pricetag, to do what I want with SONOS is an impossibility for me, I cannot justify that amount just for a bit of comfort... Ok, so my hope of finaly doing this in my house was crushed just as fast as it was raised.

Recently, we had some upgrades done to the house and I thought it an opportune time to see what could be done about my sound-deprivation. By no means am I an audiophile so I was not looking for something that would blow your pants off, but I did want something functional, something that sounded nice and of course, didn't kill my bank account.

I found information about the Squeeze box players, and how they do not make them anymore, then found that you could use your Raspberry Pi with many different distributions to create different types of music players, but none really fit my needs as they required much programing and I did not have the time to "make it work" as I should. Then, out of the many searches trying to find the Logitech Media Server installation, I came across Max2Play. It promised to do everything I needed and wanted along with a few extras as well.

I know some of you reading are PRO's at working with the Raspberry Pi or at making things. Others are complete beginners and may not have even the slightest idea where to begin.

I wanted to do a FULL INSTRUCTABLES for this system,
the intent being of course, that anyone can pick it up and make it with little effort
.

The hardest thing is finding out exactly what to do, I intend to make this a one-stop-shop so you can be encouraged to make it yourself.

I have broken down the steps below in case you want to skip to a certain section...

SOFTWARE SETUP, SERVER, PLAYER. STEPS 1 - 10

Basic Tools and Image for the Pi.
Step 1 - Max2Play Image
Step 2 - SD Formatting
Step 3 -Image Burning

Booting and Initial Setup.
Step 4 - Boot up and Config
Step 5 - Filesystem Mount
Step 6 - Wifi/LAN

Server Setup.
Step 7 - Squeezebox Server Install
Step 8 - Squeezebox Server Setup
Step 9 - Testing and Sync'ing
Step 10 - Adding Services

BUILD YOUR SETUP. STEPS 11-15

Step 11 - Power Supply
Step 12 - Internal Components
Step 13 - Cable management
Step 14 - Sound cards
Step 15 - Implementation

Step 16 - MAKE MORE
Step 17 - Controls anyone? Use your old device as a controller
Step 18 - BONUS! Fire Stick as sound device... Or other ANDROID device!


PARTS USED

Raspi 3 kit (pi, case, charger) - $45
Logitech speakers with sub - $30 - Optional
Refurbished microSD - $5
I added a cheap soundcard 3x$7 so that's $2.33 per card - Optional

AND OF COURSE:
VOTE FOR THIS IF YOU THINK ITS WORTH IT.
THANK YOU!

Step 1: Max2Play Image

Picture of Max2Play Image

First,

Visit this link: https://www.max2play.com/max2play-image/ to download the image for the device you will be using, I am using the Raspberry Pi 3 for this example.

If you have a HiFiBerry card, download the version with that support already built in.
Have a touch screen? Guess what? There is an image for you as well.

Once the file has been downloaded, make sure to unzip the file by going to the download folder and right click and select the "extract all..." option. Click extract all.. Then click extract on the next window.

You should have a folder pop up with a .img file, this is the file we need.

Step 2: SD Formatting

Picture of SD Formatting

While the above file is downloading, click here: SDCard Formatter and agree to the EULA to download the SD formatting tool.

Run the downloaded file and install on your PC.

Once installed, run the program (you will need to click OK if you receive a warning from your PC).

Click on Drive and ensure it is the correct drive for your SD card
(you don't want to format the wrong drive, trust me).

Under format option: click the OPTION button.

Under FORMAT SIZE ADJUSTMENT select ON. This allows the whole card to be formatted in case there are partitions created.

Click Ok,

then click FORMAT.

Click ok to the next 2 statements only if you are sure you have the correct drive selected.

If the format went correctly, it will give you a Completed message.

We are now ready for the next step.

Step 3: Disk Imager

Picture of Disk Imager

Now, download this tool to burn the image to your memory card.

Follow this link: https://sourceforge.net/projects/win32diskimager/... and download the file.
Run the file and install Win32DiskImager on your PC.

Once this is done, run the program Win32DiskImager and select OK if you receive a warning from your PC. Under the Image File, we will need to select the file we downloaded from max2play.

Click on the folder icon and select the image file then click OPEN. Make sure you have the right drive letter for your SD card and click on the "write" button.

Once the file has been completely written to disk, you will receive a "Write Successful" message. We can now, move to the next step.

Step 4: Boot Up and Config

Picture of Boot Up and Config

Grab your newly formatted memory card, raspberry pi, an Ethernet cable and a power source for the pi and head to your nearest router. We will be plugging in the Pi to the router for connection prior to going wireless.
Once the Pi is connected and booted up, go back to your computer and open a page in your favorite internet browser and type: //max2play/ on the address bar. You will be greeted with the Max2Play home page for your device.

Before doing anything here, we want to ensure to Expand the File system and Update Max2Play. Click on the Settings/Reboot tab and scroll down. Click on the Expand Filesystem button. Once this is done, it will ask you to reboot. Click reboot, it will be quick to do so.

Once the page is back, click on Update Max2Play button and wait. Once the update has completed, you will get a notice that Max2Play has restarted.

Lets change the Playername to whatever you find most suitable such as Hall, Kitchen, Bedroom and select your language/region and click on the "save settings". Remember this name as this will be the name you will need to access the player again. Click on reboot once more for the settings to take effect.

Step 5: Filesystem Mount

Picture of Filesystem Mount

Click on the Filesystem Mount tab and add the network drive where your music is located, if it is located in a USB drive, this is the place to add that directory.

You can click on the "Show Network Devices" button to auto-discover your networked devices.
Click on the "set path" button once you have found your music drive, this will pre-fill your mount address.

The next piece asks you where you want this information to be accessible, I use /mnt/share/Music on all of mine because it makes it easy to find when you do multiple of these devices.

On the box with cifs, just type: cifs.

The next box was a pain as I do not have my password protect enabled for my network drive, I found the configuration so here is what you need to type: user=null,password=null,sec=ntlm,iocharset=utf8 If you have a password, replace the "null" with the information necessary.

Then click "Save" if all went correctly, you will receive a "Mountpoint successfully added" message.

__________________

For users of a Synology NAS you might use the following (this are my settings, so you might have another ipo-adress and/or volume. I just decided to have music and video on a Volume of it's one)

path: /192.168.0.10/Volume2/Music
Mountpoint: /mnt/share/Music
Type: same as path
Options: user=null,password=null,sec=ntlm,iocharset=utf8

Per a comment from: edwinkort - thank you for the information.

Step 6: WiFi / LAN

Picture of WiFi / LAN

So far so good. Now lets set up WiFi for your player,

Your WiFi plug should already be connected, if it is not, shut down the PI from the Settings/Reboot and plug it in, then re-connect the Pi, we will wait for you. (The Pi3 has this built in)

Now that you are back, click on the WiFi/LAN tab and click on the START SCAN blue letters on the middle of the page. On the left of those letters, you will find a drop down box with the list of the networks found.

THIS LIST WILL NOT POPULATE UNTIL YOU CLICK START SCAN

Once you have found your network and click on it, it will automatically pre-fill the Network SSID portion of the credentials. Please add the password for your network and ensure to tick the Load WiFi Interface box. Click on Save all settings to save your WiFi configuration.

Step 7: Squeezebox Server Install

Picture of Squeezebox Server Install

IF YOU ALREADY HAVE A SQUEEZEBOX SERVER
RUNNING ON ANOTHER DEVICE, SKIP TO STEP 9

If this is your first (or only) device, you might not have the LMS server yet, we will need to click on the "Squeezebox Server" tab.

Once in the page, click on "show available versions" button and select the 7.9 nightly version as this is what is requested on the RED WRITTING.

Click on the "Squeezebox Server start installation" and wait.

The top of the screen will give you a notification which will refresh every three seconds or so. If the page stops refreshing, just click on the "Squeezebox Server start installation" button again and it will give you the updated status.

Once you are displayed with a big blue button that says "Open Squeezebox Server Webadministration" you know you are ready to move forward.

YOU ONLY HAVE TO INSTALL THIS ON ONE OF YOUR DEVICES. IF YOU HAVE THIS RUNNING ON A PC, OR IF THIS IS YOUR SECOND DEVICE AND YOU HAVE ALREADY DONE THIS FOR YOUR FIRST ONE, YOU DO NOT NEED TO FOLLOW THIS OR THE NEXT STEPS ABOUT THE SERVER.

Step 8: Squeezebox Server Setup

Picture of Squeezebox Server Setup

IF YOU ALREADY HAVE A SQUEEZEBOX SERVER
RUNNING ON ANOTHER DEVICE, SKIP TO STEP 9

Once you have installed the server correctly, you will be presented with a button that says "Open Squeezebox Server Webadministration" go ahead and click it.

If you have a Logitech Media Server account, go ahead and add one or create one but it is not necessary to do so, you can click on the skip button.

The next page will ask you where the music is mounted, go ahead and select the archive we designated for the music by clicking the following folders: mnt > share > Music and click the Next button.

If you have a playlist folder you can select it on the next screen or just hit the Next button as it is not necessary.

Click finish to the next screen as it is a confirmation you have completed the setup and will give you any information you have submitted as confirmation.

You will now be presented with your player and server.

Step 9: Testing Server and Sync'ing

Picture of Testing Server and Sync'ing

Once you have installed everything, its time to return to the Setup/Reboot and click on the shutdown button.

Unplug your raspberry pi from the Ethernet cable and take it to your testing area.

I have some old speakers for computers so I used those as they are more than adequate for use. I plugged in the Pi to the power, the speakers to the power, and then the speakers to the pi.

I accessed the server from my PC by going to: //instructaplayer:9000 (change instructaplayer to the name of your device), to test that it was capable of connecting to my music drive and able to play the content, I clicked on the My Music then Music Folder option on the left and selected one of the songs.

Voila! it works.

If you have multiple devices and would like them to sync the music, this is the place to do it, go to the top right where you see the name of the player and click it. A drop down list of all your currently connected players will show up. At the very bottom of this list is a button that says synchronize, click it. A pop up will come up, click the player or group of players you want the current device to sync with.

Step 10: OPTIONAL - Adding Services

Picture of OPTIONAL - Adding Services

To add services to your devices you must add a Logitech account to your device. If you did not add this account when you first set it up, its no problem.

Click on the Settings option at the bottom right of the server page (use //Instructaplayer:9000 to access this page) Once you are in the settings, click on the mysqueezebox.com tab. You can now add your account or create a new one here.

If you created a new account, log in through your browser at www.mysqueezebox.com and click on the:
App Gallery tab, this will give you a list of apps on the left side of your screen. Select the service you want and click the Install App button. Voila! That service will show up as a way to play music.

Want YOUTUBE? How about AIRPLAY? from the settings menu for the server, click on the plugins tab and click on the services you want to use.

There are LOTS!!!

Click on Apply at the bottom right when you have selected what you want to use.

You may need to reboot just to be on the safe side.

Step 11: Power Supply

Picture of Power Supply

please make sure to unplug from outlet prior to proceeding

Now that the server is running and you have tested the system, its time to do what you came here to do.

I got a set of inexpensive Logitech speakers from Amazon as the sacrificial set. These speakers will be outside on the deck for the remainder of their life, they will not be exposed to direct water but the heat and the cold will still play a roll.

I flipped the Sub over and took off the speaker to see what room I had to work with, as expected, there was plenty of real state for all my components! YAY!

I found where the power cables were coming in and took off the caps, I then used 3 wire connectors to have an extra space for my power supply.

I bought an simple female end plug I could use that would not take too much space, I opened it up and connected both terminals with wires and tightened each prior to closing.

The two wires from the plug can now be slid in to the remaining slot of the connectors with ease then use hot glue to secure the wires in place. I feel easier knowing the wires wont just jump out when they want to.

If you do not have the connectors, you can twist the wires and use a cap as regular.

Just please, please make sure secure the wires and to not have anything connected to the outlet while working on this device.

Step 12: Internal Components

Picture of Internal Components

Now that the Power Supply is out of the way, how are you going to connect the other devices...

The raspberry pi will be enclosed in this box for a very long time, always on, always ready, always warming up. My decision was to go with a case that had a fan because this would at least keep my pi cooler than usual. Lucky that my case also came with heat-sinks to help with the heat.

I added a sound card to my raspberry pi's because they DO make a difference, the static noise is almost completely gone (you cant even tell its there anymore) and I am certain that with a HiFiBerry card it would be even more surprising. The DAC's I bought were super cheap, 3 for $7 on Amazon, the more expensive ones I used were around 6 each and even come with optical output.

Both of these components fit to the other side of the enclosure and with a little bit of hot glue, they will remain in place to ensure nothing can interfere with each other.

Step 13: Cable Management

Picture of Cable Management

Now that you know where everything goes, and you see the amount of cables involved... DONT PANIC!!! We have a solution.

You should have a cable for the power supply, if you are like me, its a long one. If you opted for an audio card you will have a USB cable for that device as well. There is also the sound cable which will have to be plugged in to the Pi or the DAC. The amount of cables made it look like a forest inside this once neat space. I found that I could wrap the wire to the sound tube and put Hot Glue on it to keep it in place. IT WORKS! I know have a neat internal bay on my system!

I also needed the sound cable to go back in to the raspberry pi, since I did not want it coming out through the sound tube, I took off the rear plate and drilled a small hole at the very top ensuring to only make it wide enough for the wire. To slide the wire in I had to cut the hole all the way to the top. At the end, the wire fit perfectly inside and I was able to secure the back plate to the enclosure again.

Step 14: Sound Cards

Picture of Sound Cards

This is optional but in my opinion, this is one of those things that will
make you appreciate your system that much more.


Soundcards that work with the raspberry pi are very inexpensive, you can get 3 for $7 dollars on Amazon, just look for the USB 5.1 Surround Sound Card and you will find TONS!!! I bought 6 of them!

I also bought a couple of a bit pricier ones. I have to say that they are a little better than the cheap ones clearing static from the sound but since I am not using them with the optical output, I am not hearing much of a difference. I am more than certain that a HiFiBerry Card would make this an awesome sounding setup but I don't have one to confirm this.

When you have chosen the DAC of your choice, connect it to your Pi and turn the Pi on. Go to your computer and access your player with //yourdevicename/ in the address bar and click on the Audioplayer tab.
The first section has 3 options for Squeezelite Mediaplayer, (this is whats running in the background that lets you play music) Click on Edit Advanced Options.

This will open up a menu, the top is a drop down for "soundcard", click it and select the bottom option then click save.

THE OPTION YOU ARE LOOKING FOR READS:

plugw - USB AUDIO DAC, USB Audio - Hardware device with all software conversions, CARD=DAC, DEV=0

If your card can be matched from the options, please do so, otherwise, this option has always worked for me.


A concern from the comments: Sound Lower with Sound Card

This is due to the sound card receiving the sound, then it "processes it" to clean up the background noise. Since some of the sound is eliminated to rid of static/background noise and therefore your output is "lower" to the actual sound, however, it is also cleaner and crisper.

This will also affect your SYNC if you have some zones with soundcards and others without as the sound will come out a split second slower out of the sound cards due to processing the sound.

Step 15: Implementation

Picture of Implementation

My device was always made with the purpose of being an outdoor unit, as such, once I had it all ready, I took it to the deck.

I ran a brown power extension that matched the stain on the deck to minimize the visibility of it and plugged the unit into it. I positioned the speakers more or less to where I thought would send the sound throughout the room. I then positioned a chair on top of the speakers which concealed them perfectly.

Since my set of speakers has a manual volume and power buttons, I leave the controller at he edge of the cushion. There are times you don't want to get up just to turn it down, this is the best solution.

Step 16: Make More!!!

Picture of Make More!!!

My wife and I loved the way everything worked so much, I was able to convince her to letting me do this for other parts of the house, namely: the rest of the house!

IF THERE IS EVER A TESTAMENT TO SOMETHING BEING GOOD,
IS SHE AGREEING THAT YOU SHOULD DO IT

Before buying more stuff, I had another 2 Raspberry Pi's just floating around, I decided to use them with the current stereos around the house. Everything worked so good that I had to do more... So I did.

I built another unit just as above for the kitchen since we spend a lot of time in there. Another to bring a good mood to the living room and dining room.

In total, we've added:

4 existing stereos (including my garage!!!)
4 of the system shown here (one is always outside!)
2 existing surround sound systems

And you can only keep adding!!! That is what is so great about this system, it is so easy to implement there is no reason not to do it!!!

If you want to make more, its as easy as following steps 1-6, you don't even need to do the server portion!!!

Step 17: Controls Anyone?

Picture of Controls Anyone?

We have the system throughout the house and its awesome to be able to control it through your devices from the web browser to the applications that are available for our phones to control squeezebox.

In our case, we have many old phones and tablets that I've just collected because "one day I will use them" and for once, I was right and the day came.

I garnished the house with a phone or tablet here and there as "always on" controllers for the sound system. Each of them are set to their zones but can control all zones you want.

I found an application I like and bought it to support the developer, its called SOUNDICITY and it has a beautiful interface which makes the setup just seem that much nicer. The app is available for windows devices, I have not found it for Android or iOS but I use Squeezer for those and it is great as well.

Step 18: BONUS! Use Your Fire Stick TOO!!! (Or Android)

Picture of BONUS! Use Your Fire Stick TOO!!! (Or Android)

Do you have an Amazon Fire stick? Is it connected to your TV and surround? GREAT!

Lets use it for sound too!!!

In order to do this, we will need to download SB Player from the Amazon store, you may have to use the search function to find it.

Open the app and have it auto scan for the server, on the left side you will see the drop down, click it. Once you have your server selected (Instructaplayer), click on connect and voila! Now you can use your surround sound as part of your system!!! I recommend going to Settings then General to change the name of the device when connecting so you don't get confused with the names.

The only issue with the fire stick is that it goes to sleep... But there is a work around!

But to do this we will need to enable unknown sources by going to Settings -> System -> Developer Options -> Unknown Sources and ticking the box there/select on. You can undo this after installing the app.

You will need to go online and find the Wake_Lock .apk file. It is a free app but it is not available in the Amazon Store so you will need to download it and put it in the network drive, then, with a file explorer, access the network drive and install the Wake Lock application on your Fire Stick. I used ESFile Explorer (or any explorer with networking ability) as we will need to access your network drive.

Open the Wake Lock app and select any option you prefer, I use the bottom option, this stops your fire stick from going to standby and stopping your music from playing.

What about screen burn in? You've gotten this far, get a screensaver app or use Kodi and let its screen saver with the clock and weather bounce around the screen. To install Kodi, do the same as above.

No firestick but have an otherwise Android enabled device?? Android TV Box? Android Tablet or phone?

YOU CAN ADD THESE DEVICES AS MUSIC PLAYERS TOO!!! Using the same SB application from above

Comments

MnVelocityPilot (author)2017-05-24

I've now deployed this instructable in two houses with a total of seven "nodes", and it works GREAT! I LOVE IT!

There are, however, two things I'm still waiting for. First, the prototype Bluetooth link (from my iphone to the pi) - really doesn't work. I've tried and tried various fixes, and the bottom line is, it just doesn't work outside of short bursts.

This is a shame because the rest of the system has been flawless and completely reliable. I'd really appreciate some more focus on this!

Second, can anyone recommend a good (and cheap) audio adapter for the pi? One gripe I've got is that the native audio output of the pi is pretty low level, and because it's got a fair amount of noise it doesn't amplify well. Can anyone recommend a good (and cheap) adapter?

THANKS TO ALL! I really love this instructable!

Rafael Karosuo (author)2016-11-12

What a huge and great job, you're so detailed in your instructable and in your cabling and material positioning.
Congratulations and thank you for sharing this, it will save a lot of time to us that what some wireless music playing.

I just have a doubt, you put your RPI and sound card power cable coiled and as it is passing a considerably high current, could it be an interference to the sound cables?, especially the usb one that connects to the DAC since I don't know if it's shielded.

Anyways, thanks again and great instructable.

teaMJPx (author)Rafael Karosuo2016-11-12

Thank you for the comment.

In regard to the cables, I HIGHLY recommend getting short(er) cables, I was working with what I already have here at home. The power supply being wound is the 5v out for the RPI and the other is the USB from the PI to the DAC so there is not much power going though, but all the cables are shielded.

I am certain that some noise is still generated this way, I guess the wires can be left unwound... but that would be... messy... jejeje.

Rafael Karosuo (author)teaMJPx2017-02-12

Ohh ok, great, thanks for your answer, I'll get shorter wires hehe because I know what you mean with messy.

Anath47 (author)2016-11-10

Thank you for sharing this. It's always been a dream of mine to have easily controlled, automatic audio for every room of the house. This should bring me one step closer to making that a reality.

teaMJPx (author)Anath472016-11-10

Glad you liked it. It was my dream as well, this is so easy, it took longer to make the instructions then it took to make the system.

Go ahead and do it, you won't regret it.

Anath47 (author)teaMJPx2016-11-14

I spent Sunday morning putting this system together and it's working great! I've got it going in 2 rooms right now and I'm looking to double it, as well as install it inside my Block Rocker Max.
Have you tried any of the other apps for Android?

Also, general question to anyone, has anyone had any luck getting this system to work with Google Music? That would make it perfect for me.

teaMJPx (author)Anath472016-11-14

I have not tried other apps for android, I am a windows user myself and my wife is iPhone. We had some androids from long ago around the house and that is what we used. I found the app for the music port/stream for the fire stick since it also runs android. I know there are other apps available to use but I would not be of much help there.

In regard to google music... Can you stream from your Bluetooth to it? If so, Max2Play has a BT plugin that would allow you to link it to it but it would require a Raspberry Pi to do, however you can have the Pi in one room with a set of speakers and in the other the GM being streamed to via BT... That's if its Bluetooth... That is another unfortunate answer I cannot give you.

Hope you are able to find the information you need. If you do and can, please share with us as I would love to add it as an option to creating the system.

If you make more, don't forget to hit the "I MADE IT" button!

Have fun!

Max2Play (author)teaMJPx2016-11-17

Hi Anath47 and teaMJPx,

We actually have a preinstalled Google Music plugin integrated in the installation of the LMS. With an active premium account, you can use it log into your GMusic account and take full advantage of your subscription.

However, the Bluetooth plugin works great as well. We have now finished implementing it fully into the LMS as a source of playback. Meaning when you start playing something from your smartphone/tablet, the current playback of LMS is automatically stopped to play from Bluetooth. Once Bluetooth playback is done, the LMS picks back up from the normal playlist that was playing before. No need to even access the LMS' webinterface.

I wrote a little announcement for this on the Squeezebox Forums, here is the link

dtnelson (author)Max2Play2016-12-19

Can you provide a link to the announcement you mention in Squeezebox Forums, or a link to the Bluetooth Plugin you mention? I'm having trouble finding it in LMS_Settings_Plugins... Any help would be greatly appreciated...! Thank you!

Anath47 (author)teaMJPx2016-11-15

So I wound up getting the same 3D Sound card you got, but the particular option you've listed is not available. Did you do anything in particular to get it to load that driver option? I've tried all the available options, and everything coming out of the sound card is significantly lower than what comes out of the onboard headphone jack.

I had some old android phones laying around, so I installed SB Player on them and I've got them installed around the house. They don't synch up perfectly, which is a little annoying, but overall I'm pretty happy.

I know you've already installed your system, but a tweak I've got going on mine that you may appreciate is adding this unit. https://smile.amazon.com/Westek-MLC12BC-4-Indoor-...

I've got it connected to the speakers (not the SB unit, which is always on) so that as soon as I walk in to the kitchen, music comes on. A moment after I exit, it turns itself off. I also have lights on the same motion controlled switch. It's lovely to be able to walk into the room and have light and sound automatically and I thought you might apprecaite the same.

teaMJPx (author)Anath472016-11-15

Ok, first concern... The option for the sound card.

If the one I have pointed out does not match, try the last option, as found in the attached picture. That is the option I use, once you select it, next time you reboot it will change phrases to what I have in the instructable.

Second concern: Sound Lower

This is due to the sound card receiving the sound, then it "processes it" to clean up the background noise. Since some of the sound is eliminated to rid of static/background noise and therefore your output is "lower" to the actual sound, however, it is also cleaner and crisper.

***I've now added this to the step as it is important information***

Third concern: Sync is off

This is due to some of the systems having sound cards and others not having them, as I mentioned above, the sound card requires a split second to do the processing of the sound prior to sending it back out. That is what you are hearing, that little delay. It did not bother me as I used sound cards on all of mine. I have two without sound cards but they are in the deck and patio which amount to different zones and are not heard with the remainder "inside the house" units so the sync is not noticeable.

You also must consider the phones being used, some are faster, others slower, but if the sync is the issue with these, go to the settings and play with the ADVANCED settings to create a small delay so everything sync's again.

Lastly; In regard to your tweak... That is freaking awesome! I usually have the whole house (11 zones) sync'd up and playing at all times. I turn off some if I know I will not be going around the house much but usually, I have them on at all times. Since I mounted my power supply to some units this wont work for me for those, but the others which do not have the PS connected to the speakers are another story. I am in the process of purchasing one or two of these to give it a shot!

Thanks for the helpful tweak and hope this information makes sense.

zarmc (author)2016-11-11

my total solution is

3x Chromcast audio ($35 https://www.google.com/chromecast/audio/)

1x Spotify premium ($4.99 for students. https://www.spotify.com/student/)

and behold.

Bonus: you take music with you everywhere

teaMJPx (author)zarmc2016-11-11

That works great too. There are a lot of combinations we can use now that does not require shelling out thousands to have good synchronized sound throughout your house.

Thanks!

S-Cript (author)teaMJPx2016-12-10

now we only need to transcode the audio of our movies/series to the multiroom set,that would be epic..

teaMJPx (author)S-Cript2016-12-10

I thought it would be awesome if we could sync the video through all the connected Raspi's which have a screen on them... That would be AWESOME!

dtnelson (author)2016-12-09

This is a GREAT instructable and a GREAT idea! One question - it seems like the squeezebox server gets very (VERY) slow running on my Pi 2 and driving a single Pi 1.b. My question is, would it be faster if I ran squeezebox on a Pi 3, or is the bottleneck somewhere else?

THANK YOU!!!

teaMJPx (author)dtnelson2016-12-09

I've not run the server from a Pi2, only the players... Are you using a WiFi stick or Ethernet? I know cheaper sticks have less strength or need more power to be stable.

I've had a few times where it became slow but, upon rebooting the router everything was fine. It was caused by my router since I have 13 zones now, I thought to reboot and everything was fine again.

I have also noticed a small glitch when more than one remote is being used at the same time when the units are synched up. I think this is because it doesn't know who to listen to... jejeje

Hope this information helps you pinpoint your issue. Glad you liked it!

edwinkort (author)2016-11-11

Working great with just an old Raspberry Pi 1b. Haf some problems finding the correct path on the synology nas, but once that was finished it worked like a charm.

edwinkort (author)edwinkort2016-11-30

Today I received the cheap USB cards from DX.com, and had to change the settings for the audioplayer. Your selection wasn't there, so I did try one by one (trail-and-error) and found the one high-ligthed in the image working the best

teaMJPx (author)edwinkort2016-12-01

Huh... Maybe the difference from the Pi3 to the Pi1 or 2?

Glad there was an option that worked. That is awesome.

teaMJPx (author)edwinkort2016-11-11

If you dont mind...

For others using the SYNOLOGY NAS, what was the information for the path you used? I would love to include it as an option in the instructable.

Thanks!

edwinkort (author)teaMJPx2016-11-11

For users of a Synology NAS you might use the following (this are my settings, so you might have another ipo-adress and/or volume. I just decided to have music and video on a Volume of it's one)

path: /192.168.0.10/Volume2/Music

Mountpoint: /mnt/share/Music

Type: same as path

Options: user=null,password=null,sec=ntlm,iocharset=utf8

And then it all worked.

Btw. I couldn't find any of those cheap soundcards. The cheapest came on $29 and that was excluding shipping to my part of the world.

teaMJPx (author)edwinkort2016-11-11

thanks for the info for the NAS.

here is a link to the soundcards...
https://www.amazon.com/gp/aw/d/B0057MCRK2/ref=mp_s_a_1_27?ie=UTF8&qid=1478888915&sr=8-27&pi=SL75_QL70&keywords=usb+3d+sound
I hope that at least routes you to something cheaper.

edwinkort (author)teaMJPx2016-11-11

Couldn't order them from Amazon, but ... I think I found the same one DX.com

http://www.dx.com/p/usb-3d-sound-adapter-color-assorted-5831#.WCYZkeErKRs

teaMJPx (author)edwinkort2016-11-11

Yep, those are it. Cheap but effective!

edwinkort made it! (author)2016-11-30

Just a small problem that the amplifier uses other type of cables. so i need to find some kind of adapter to go to these.

teaMJPx (author)edwinkort2016-12-01

Yeah, I had to use a "Y" splitter from the regular headphone jack to RCA. Congrats on your setup!

Hope you enjoy it as much as we do. Music has become part of our lives now... errr.. "The Sound of Music" jejeje

MicheleB85 (author)2016-11-18

I am banging my head against the wall with the file mount. My music is on a server and I see the music just fine with my windows PC's.

The path is //192.168.1.23/Music cifs /mnt/share user=music,password=music,sec=ntlm,iocharset=utf8

It mounted successfully However I don't see any music in Squeezebox.

(If I use names like //server/music/, I get a mount error)

What is the best way to troubleshoot this ?

teaMJPx (author)MicheleB852016-11-18

Do you actually have the user/password enabled on your drive? I believe you should since it mounted properly but... if no password is needed from your PC to access, just use =null for those entries.

Another issue might be that the library is still building and that may be the cause... try hitting my music then all folders/all music. see if anything comes up there...

Lastly, is your SQUEEZEBOX SERVER pointed to "/mnt/share" and not "/mnt/share/music" since that is what you have in the example you posted? Just trying to cover all bases...

NickBramley (author)2016-11-17

This is a brilliant use for the Raspberry Pi, well done! One problem, I can not get Spoify to play music. Is this possible?

teaMJPx (author)NickBramley2016-11-17

I do not have a Spotify account and therefore cannot test this. If anyone could chime in would be helpful.

I know you MUST have a PRO/Premium account (be a paying subscriber) to Spotify in order to sign in.

If you don't have the add-on, find it through the LMS website and install it. If that does not work, go to the ADDONS TAB on the server settings (//Instructaplayer:9000) and enable the "Spotify 1.0" addon. You will then have to restart the server and go back to the settings > advanced > Spotify and put your information in there.

There is also "Spotify Protocol Handler" if you have issues with the above.

If you still have issues, of course, post it so we can get an answer.

Barry Gordon (author)2016-11-14

I have been a long time "Squeeze" user, way before Logitech bought them. I am also an avid RPi programmer. My RPi handles all my Home Automation needs including announcements in each room, interfaces to Amazon Echo/Dot, and all my lighting (Insteon) and Z-wave devices. Your article is excellent! There is an excellent inexpensive app for the IOS devices called SqueezePad. It talks to the Squeeze server and can control any Squeeze player since it never talks to them, just to the server. I suspect it will control your RPi-Squeeze players just fine. SqueezePad costs about $10, and has a really nice GUI and is well supported. There is also a plugin for the squeeze server that will broadcast UDP messages to any listening device that informs devices about any and all changes as the music is playing, e.g. whats playing, playing information, cover art, etc. I use it to display music state/status on a large screen in my main listening room. Once again excellent article.

teaMJPx (author)Barry Gordon2016-11-14

My ultimate goal is to make my home automated as well. Right now I have pieces working, just have to get them to work together... jejeje
I'm going to tell my wife about the iOS app you mention as it sounds like the one for Windows that I'm using and she loves the features.

Thanks for the info. Glad you enjoyed it.

MrPlayter. (author)2016-11-14

I am a newb, and havn't read the entire posting yet. I did pick up some Android 5.1 phones recently. Quad core, microSD, 1GB RAM...they were half the price of a Pi.....could I use a computer of some sort to be the server, and the phones with the speakers?

teaMJPx (author)MrPlayter.2016-11-14

Yes you can. Download the Logitech Media Server software for PC (do a quick search) and install.
Download an app for Android to receive the signal, I used SB PLAYER.
That's all, you should be set.

Happy sounds to you and... Happy making!

senthilk56 (author)2016-11-11

Can i replace the Rasp pi3 with some other computer like my laptop?

teaMJPx (author)senthilk562016-11-12

Yes you can.

If you want to use it as a server, install the LMS (Logitech Media Server) to your PC.

If you want to use it as a player, install squeezelite player to receive the sound.

Have fun making it!

mbowie4 (author)2016-11-11

This is great- thanks for simplifying this project.

Is it possible to play content from my AV Receiver on this system? I currently have a 900 Mhz wireless speaker system connected to the "room B" speaker outputs on my receiver but I would like to upgrade to this wifi solution.

In short- I would like to listen to the radio on my receiver and have that signal broadcast to the multi-room system.

Thanks again!

teaMJPx (author)mbowie42016-11-11

Also, there is a plugin for RADIO as well... Just FYI.

teaMJPx made it! (author)mbowie42016-11-11

I cant answer your question 100% but I think I can guide you a little bit... Once you have the Logitech Media Server (LMS) installed...

Go to settings and select Plugins.

Toward the very bottom of the list of possible plugins, there is one called:
"WaveInput" and this may be what you are looking for. The description says that its a plugin to enable Linux/PC audio to be captured and played through LMS.

I have not tried it myself but that might be what you are after, using the output of your device to the MIC input on the PI so it can broadcast that sound back out...

Let us know if it works for you!

wasiamar (author)2016-11-11

Raspberry Pi + HiFIBerry has replaced my 2 of 3 of my Squeezebox 3 players slowly failing due to +10yrs = hands down best combination since Logitech decided shoot it's own foot (the most prominent example / case study of corporate moronity).

teaMJPx (author)wasiamar2016-11-11

Now that I have this, my next step is to get the HiFiBerrys and update my system.
That's awesome.

weaver2112 (author)2016-11-11

I have been looking for a project like this for a couple of weeks now. Thank you for sharing. I love the concept. I love the idea of not spending "Sonos-level" money for a good result. I will be breaking out my extra speaker systems and spare Raspberry devices tomorrow. Again, thanks so much.

teaMJPx (author)weaver21122016-11-11

Glad it works for you and I feel the same way...

Make sure to let us know how it goes.

Thanks!

dtnelson (author)2016-11-10

I've been looking for something like this to further integrate my partially integrated sound system. Before I jump in, a few questions I'd sure appreciate your help on:

1) System Architecture - it'd be really great to add an overview of the system architecture to your instructable... I'd really like to see the system from the "top view" if you will... in other words, a drawing that would show an overview of each of the components interconnected to form the complete system.

2) A parts list would be helpful. I know there are lots of options available, but having a parts list would help in pricing out the system as I'd like to install it, and enabling me to see what components I have, and what I need to find the best deal on.

3) Any idea if there are any options for an iOS controller, so I or my wife could use our iphones and ipads to control the system?

Again - THANKS... this is really awesome, and is really getting my juices flowing!

teaMJPx (author)dtnelson2016-11-10

Alright, for your

#1. I will make a little "schematic" to show how it functions, I should have it tomorrow.

#2. This is difficult because if you can run the server (LMS) on your pc, all you really need is an android phone to receive the signal. Speakers can be anything you already have but, again, it makes sense and I will make a list and add it soon to the instructable. But for you I used...

Raspi 3 kit (pi, case, charger) - $45
Logitech speakers with sub - $30
Refurbished microSD - $5
I added a cheap soundcard 3x$7 so that's $2.33 per card.

That is all you need, and cheaper speakers are fine too or your home stereo or surround systems make it cheaper.

#3. My wife also uses iDevices, she uses squeezebox since its a free app. There is also iPeng6 that can be used. I will add some screenshots to step 17 to show the different interfaces available.

Hope this helps you out. Make It! It really is great once you are done and get to enjoy it.

dtnelson (author)teaMJPx2016-11-10

Absolutely awesome! Thank you so much for a GREAT instructable!

teaMJPx (author)dtnelson2016-11-10

Ok, I have added all three items to the instructable. Thank you for bringing the exclusion of these items to my attention as I am sure they will help others.

For your #1 and #2, see the first step, both items have been added there and I hope the "top view" works for you.

For your #3, see step #17, I have added a screenshot of each of the three systems we use, Windows, Apple, Android.

Hope that helps!

dtnelson (author)teaMJPx2016-11-11

It really does and I'm much impressed. Sitting around the house I've already got 2 raspberry pi's, and a 3 zone setup where each zone is driven by it's own receiver. Your innovation will enable me to integrate my installation and provide control from my phone for any zone at any time. And, best of all, I can afford it! Really nice work - I much appreciate it!

About This Instructable

71,225views

666favorites

License:

Bio: I like to find out how things work. I like to see if I can learn new things through that.
More by teaMJPx:Sonos-like Wireless Multiroom Sound SystemIRRIGATING WITH MOTHER NATUREPrepping your Home for Winter/Summer while saving $$$
Add instructable to: