A Howto: Sonos -> PC Speaker (Free) with Stream-What-You-Hear


Userlevel 2
I recently found out, that you can use the "Stream-What-You-Hear", 

http://www.streamwhatyouhear.com/

to play your PC-sound on your Sonos-speakers.

"Stream-What-You-Hear" is free, except for possible donations (to make you feel even better).

There is a description by the user "Maik"  on how to do it here:

http://www.streamwhatyouhear.com/forums/topic/sonos-is-supported/

I'll post the text below.

I find the solution very simple, and are using it in place of a more commercial solution I used to use.

NOTE: If you don't set a port number (See Maik's Note), you will need to repeat step 2 and 3 each time you restart "Stream-What-You-Hear". I just chose the default port number suggested to me, 5901, and the entire URL ended looking like http://192.168.1.6:5901/stream/swyh.mp3 
which is the URL the radio station should listen too.

Note also, the you will get a lag of a half to one second, so watching, say, youtube-videos will be less than optimal. Lets hope and pray, that Sonos implement a better build-in solution soon.

Best,
Peter

Hi guys!The features page states that Sonos systems aren’t supported, but they are! You will have to add the stream as a Radio Station to get it to work. Just follow these steps:

1. Go to your Sonos app on your PC and go to “Manage” –> “Add Radio Station…”
2. Right click on your SWYH icon in the task bar and go to “Tools” -> “HTTP Live Streaming”
3. Enter your streaming URL and the desired “Radio station” (  ) name and play!

Note: SWYH will use a different port when you start the app, so it is recommended to enter a specific HTTP port in your settings pane.

You can stream MP3 and PCM/L16.

Happy listening!
Maik

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

23 replies

This worked!

The only thing is Stream What You Hear picked up the wrong IP for my laptop - but a quick check (Run... cmd, then ipconfig) got the right IP.

Probably no more than 2-3 seconds delay, but means Spotify Radio is now streamed to the SONOS, which is then synced through all rooms - excellent!
Finally! Works like a dream! It's probably not the best solution for youtube videos, but if you're watching videos on your PC/laptop and want to use the sonos speakers you can add a time lag in your media player (I use VLC media player)
But... What if I am on a MAC, not a PC? How to then?
Stream what you hear is PC only 😞
Keep getting an error message from sonos about "incorrect encoding" (loosly translated from danish)
Any ideas?
Does PCM/L16 work indeed? I tried to stream wave from MPD on a Linux PC and PLAY gave out some weird noises and finally gave up with "Stream not supported". Also this question has received answers from SONOS that loseless formats are not supported for streaming:
https://ask.sonos.com/sonos/topics/which_streaming_protocols_is_supported

Userlevel 2
SWYH does not work in my case when trying to stream lossless. Jamcast works better, but not without stuttering...

I found a solution for how to stream wav to sonos, it's not easy to set up, but it works 🙂 Initially my problem was how to stream DVB audio from a satellite receiver to sonos, I described it roughly here:
http://forums.sonos.com/showthread.php?p=177856#post177856

This technique also works with streaming audio from PC (in combination with Jamcast). It's even easier since there is no transcoding.

Regards,
Boris
Hey,
I am using Sonos Play 1 and i tried to use Stream-What-You-Hear. I have tried with the specific port number but still when i try to play via Sonos via its PC controller v5.2 it gives an error saying unable to connect to swyh.mp3 - cant connect to my http live streaming link (http://192.168.1.111:8080/stream/swyh.mp3)
Please help.
Hey,
I am using Sonos Play 1 and i tried to use Stream-What-You-Hear. I have tried with the specific port number but still when i try to play via Sonos via its PC controller v5.2 it gives an error saying unable to connect to swyh.mp3 - cant connect to my http live streaming link (http://192.168.1.111:8080/stream/swyh.mp3)
Please help.


Try opening the link in a web browser (preferably, Google Chrome) on a PC connected to your network. Does it open and is it able to stream your audio?

Also, if you reboot your systems betweeen adding the streaming server, there is a chance that IP address of your server has changed, in case it is using automatic DHCP address.

The second thing to test - is SONOS on the same network as your live streaming server. On a Windows PC, SONOS devices should be visible in Windows Explorer under Network section. Look at properties of the devices and note IP address - it should begin with 192.168.1. 
Hey,
I am using Sonos Play 1 and i tried to use Stream-What-You-Hear. I have tried with the specific port number but still when i try to play via Sonos via its PC controller v5.2 it gives an error saying unable to connect to swyh.mp3 - cant connect to my http live streaming link (http://192.168.1.111:8080/stream/swyh.mp3)
Please help.


perfect found you could delay the sound on VLC player.by 2.200 seconds ,amazing sound. Two sonos 1 set in stereo
Badge +1
This worked!

The only thing is Stream What You Hear picked up the wrong IP for my laptop - but a quick check (Run... cmd, then ipconfig) got the right IP.

Probably no more than 2-3 seconds delay, but means Spotify Radio is now streamed to the SONOS, which is then synced through all rooms - excellent!

and avoid doing anything on the pc as otherwise the streaming stops!!
Userlevel 1
Badge
the icon does not appear on my taskbar, just desktop, even when its running so I havent found any way to get to "tools" in the first place
Userlevel 1
Badge
once you get the icon onto your task bar and right click I dont get any "tools" anywhere. would be helpful if the devs added a readme because right now this thing is doing nothing on my comp except using up space and memory
I wanted to use this as a PC speaker extension.

Unfortunately if you want to use it for the sound accompanying videos there is a significant lag. Also, as soon as you mute or change the volume on your laptop, it does so on Sonos as well.

Doesn't work for my requirements unfortunately.
Thank you very much!!!!!!
Now I can use my Play3 with my laptop!

sure, I can't see a movie in this way...I think that Sonos has to improve the experience with Play 3 or 1 because the use of this speakers is limited...maybe if I knew this things, I didn't buy Sonos but other speakers...bytheway, my fault!!!
Thanks to all. Stream What You Hear was an effortless set up on my PC. At a stroke I can now listen to Jango Radio and Spotify Free through my Sonos speaker! Same for my Pure Flow radio. Absolutely brilliant!
Thank you! Worked well for me, too. Almost forgot the copy HTTP live streaming settings and set up under Manage / Add Radio Station, but once I completed this, My Computer (what I named the station) appeared in My Radio Stations in Radio by TuneIn. Have turned down the computer volume, because there is a delay between computer and the Sonos stream, Would like to be able to do this without a third party app - I can from my mobile phone - option On This Mobile Device. Thanks again.
It works but the sound quality is terrible! When I stream directly from the Sonos music library, the sound is perfect. But when I stream iTunes from my laptop to Sonos using SWYH, it-s awful.

Any good ideas available?
Userlevel 7
Badge +22
Actually - not really about SWYH but Sonos just does a great job when it comes to quality pulling direct from services and music library. One of my neighbors used to have airplay. He had a lot of trouble with airplay skipping and I had him switch over to using Sonos. I knew that would fix his skipping issue - but neither of us realized how bad the airplay quality out of an airplay express into his home Crestron system was. The Sonos quality vs. the airplay express quality going into exact same system and speaker was night and day difference with Sonos ... far better when it came to sound quality - amazingly better.
I agree that "when it comes to quality pulling direct from services and music library", the quality is very good.

But I need a solution to the SWYH quality. Any ideas?
Userlevel 7
Badge +22
See this post - supposedly if you use in conjunction with VLC on your computer you get a much better stream quality.

https://en.community.sonos.com/search/activity/recent

except of course where it talks about recevia that would be your sonos unit you put address in.
Hi Chris,

Thanks for your answer, but I do not plan on using VLC. If I don-t get iTunes working, I prefer to use the Sonos Music Library.

The frustrating thing is that on my old desktop, it worked perfectly. Now I have a brand new HP laptop and the SWYH quality is unbelievably bad.
I've been trialling Topspot (http://topspot.strongminds.dk/) in combination with a Virtual Cable and it seems to work very well with my Play1. Site says time limited free download but I can't see any reference to them charging. Virtual Cable is Free when only using one virtual channel.
Easy to setup and sound quality is better (for me anyway) than SWYH
For Linux users there is also pulseaudio-dlna. A bit trickier to setup but also works well.
Badge
I recently found out, that you can use the "Stream-What-You-Hear", 

http://www.streamwhatyouhear.com/

to play your PC-sound on your Sonos-speakers.

"Stream-What-You-Hear" is free, except for possible donations (to make you feel even better).

There is a description by the user "Maik"  on how to do it here:

http://www.streamwhatyouhear.com/forums/topic/sonos-is-supported/

I'll post the text below.

I find the solution very simple, and are using it in place of a more commercial solution I used to use.

NOTE: If you don't set a port number (See Maik's Note), you will need to repeat step 2 and 3 each time you restart "Stream-What-You-Hear". I just chose the default port number suggested to me, 5901, and the entire URL ended looking like http://192.168.1.6:5901/stream/swyh.mp3 
which is the URL the radio station should listen too.

Note also, the you will get a lag of a half to one second, so watching, say, youtube-videos will be less than optimal. Lets hope and pray, that Sonos implement a better build-in solution soon.

Best,
Peter

Hi guys!The features page states that Sonos systems aren’t supported, but they are! You will have to add the stream as a Radio Station to get it to work. Just follow these steps:

1. Go to your Sonos app on your PC and go to “Manage” –> “Add Radio Station…”
2. Right click on your SWYH icon in the task bar and go to “Tools” -> “HTTP Live Streaming”
3. Enter your streaming URL and the desired “Radio station” (  ) name and play!

Note: SWYH will use a different port when you start the app, so it is recommended to enter a specific HTTP port in your settings pane.

You can stream MP3 and PCM/L16.

Happy listening!
Maik

also if u hear no sound let through on your firewall worked for me ...