Stream Windows audio over the network

18

12

How would I take all sound on a windows machine and broadcast it over the network for other machines to hear?

I can find instructions for individual apps, but I don't want to do this on a per app basis, I want everything sent to that sound output.

Note that this is not asking how to share music over the network, iTunes and Media Player have that sorted, nor is it how to use a machine as a remote microphone, skype/voip has that sorted, I'm asking how to stream all sound on that machine, regardless of source, that includes the beeps skype makes, audio from games, dings on error dialogs, browser sounds, etc etc

Tom J Nowell

Posted 2011-11-30T21:29:57.330

Reputation: 281

1Are you expecting them all to be perfectly in sync, i.e. coming out through speakers in the same room at the same time? – None – 2012-02-03T07:49:49.193

No, that would probably require an MIT team and several years of research from what I understand of acoustics =p What I'd ideally like to be able to do is walk around with headphones and an iPhone/Android phone rather than having speakers on loud or faffing around with bluetooth, afterall I've got a wifi connection already =p – None – 2012-02-03T12:26:11.393

Not that its the only use of such a thing, I can think of many more – None – 2012-02-03T12:26:33.763

https://superuser.com/a/1485274/137881 's Using Icecast, BUTT And Stereo Mix is a good answer – Abdull – 2021-01-24T17:42:52.280

Answers

3

Simple, use IceCast.

Free, open-source, cross-platform.

I interface to IceCast using Edcast (on Windows), allowing broadcast of audio in both vorbis and mp3 formats. (I think AAC as well!)

Have fun!

A T

Posted 2011-11-30T21:29:57.330

Reputation:

1This is great if I want internet radio, and I have mp3s and Vorbis files I want to stream, but it all falls apart when I'm streaming to my phone or a laptop, and my skype recieves a message and the 'ding' isn't a part of the mp3 tracklist, or when I load a youtube video and its audio doesn't get streamed, etc etc. If I wanted to stream my music library I would use iTunes homeshare, or media players upnp support. – None – 2012-02-06T16:17:20.683

1Edcast allows you to stream everything coming out of your sound-card into mp3 and/or vorbis streams. – None – 2012-02-07T07:14:31.360

Nice, but How?? – None – 2012-02-07T11:07:40.463

1It does it by default. Just configure its connection to the icecast server, and it should all just work. – None – 2012-02-07T16:45:36.490

Again, nice but how??!!?!?!?!? There is next to no documentation, none of it is clear, and the UI gives few clues. I installed edcast and icecast, launched icecast, then edcast, and tried to do something with it. If I click add encoder and then try to connect in edcast, it repeatedly tries to connect getting nowhere. There're no configuration options on where to connect it, or howto guide, or help buttons – None – 2012-02-07T17:55:27.917

So I have it piping the microphone now, but what I want is it piping the OS audio, so you're 90% of the way there – None – 2012-02-07T18:10:22.547

Also how do I reduce the lag to as realtime as possible? – None – 2012-02-07T18:12:25.350

Glad it's working for you, the design isn't realtime unfortunately. The vorbis would most likely have less delay though. Read this for the realtime discussion. Accept this answer!

– None – 2012-02-08T14:04:35.073

But it doesn't do what I want, I want to stream my machines audio, you've gotten the streaming part, you haven't gotten the other part! – None – 2012-02-08T14:52:04.537

Fraps manages it, it records the sound from your desktop environment, what Im getting at the moment is not my systems audio, its my microphones audio (if I wanted the mic audio I could just start a skype call or any other voip). I'm testing this by loading a youtube video in the browser. I expect to hear the video through my iphone, instead I hear what comes through the microphone – None – 2012-02-08T14:53:58.200

When you add that part to your answer I will accept, otherwise your answer merely asks "how do I stream audio from a PC microphone over the network?", whereas the questions is "how do I stream the various sounds my PC generates over the network?" – None – 2012-02-08T14:59:30.283

My answer tells you how to stream directly from your sound-card to an audio stream. The realtime question is separate, however is partly answered by using FLAC instead of Vorbis or MP3.

– None – 2012-02-08T16:19:49.053

But I tried that and I didnt get my soundcards output, I got my microphones output =s – None – 2012-02-08T19:06:28.003

I set it up again on a different machine. I turned off my speakers, and started loading apps that made noises, such as itunes, youtube, etc. I then waited to see what I heard. – None – 2012-02-08T19:35:46.393

If this was the answer, I would have heard what was playing in itunes, albeit with a delay. Instead I heard myself typing. This is not what I asked. – None – 2012-02-08T19:36:24.693

So yes you are streaming sound, but you are not streaming the soundcard output, there is no such option available to me in edcast, nor is it what happens if I merely open edcast after a fresh install and try to add an encoder – None – 2012-02-08T19:37:05.580

I suspect you know how to do loopback recording and you're assuming I already have that setup, or you're using a feature of an older version of windows I'm unaware of – None – 2012-02-08T19:45:11.263

I would point out that there are additional steps you failed to mention to get the loopback setup. Go into the recordng devices in control panel, show the disabled devices, and enable the stereo mix, then relaunch edcast and select that. Please update your answer with this information! Also mention that edcast standalone is required – None – 2012-02-08T19:55:09.390

5

SoundIt does just that.

And it lets you stream the sound output of your PC to any web browser so you can stream to any phone or even another PC.

theuser

Posted 2011-11-30T21:29:57.330

Reputation: 51

This is brilliant! – bPratik – 2015-08-20T16:45:25.800

3

PulseAudio should do what you want. There are client and server components for Linux, Mac and Windows.

PulseAudio will create a virtual audio device on your Windows machine. All sound coming to that can get routed over the network to your clients.

Steffen Uhlig

Posted 2011-11-30T21:29:57.330

Reputation:

wow...looks a tad complicated...is there a tutorial for how to installl? I didnt see one for mac – None – 2012-02-05T03:27:30.320

It looks rather painful, especially since there are no GUI tools aside from linux and they don't appear to be keeping their house in order (win32 binaries link to opensuse, but opensuse only builds onpensuse builds despite the mingw32 label) – None – 2012-02-06T16:14:15.260

More information in this AskUbuntu question: http://askubuntu.com/q/82110/111511

– Vladimir Panteleev – 2016-02-21T21:16:00.613

Are you kidding, this is for Santa's Elves!!! – Bob Denny – 2019-09-24T21:10:41.820

3

  1. Go into Control Panel > Sound > Recording > Right click in the devices list > Show disabled devices > Right click on Stereo Mix > Enable > Click on Stereo Mix > Click on Set Default
  2. Install icecast win32
  3. Install edcast standalone
  4. Run icecast
  5. In icecast, click start server
  6. Run edcast
  7. In edcast you need to add an encoder. The server details match the icecast server details. Default server is localhost, default port 8000, default password hackme.
  8. In edcast, make sure Stereo Mix is selected under Live Recording
  9. Click connect.
  10. Profit.

(Using edcast 3.37 and icecast 2.3.1)

EDIT: I should mention this method does not automatically start the server, that requires a bit more setting up.

EDIT2: In Windows 7 I had to create the folder C:\Users\"current user"\AppData\Local\EdcastStandalone for my Edcast settings to stick.

Andrew.echidna3

Posted 2011-11-30T21:29:57.330

Reputation:

I know it's an old question, but it's worth trying. When you say "that requires a bit more setting up", which percentage of the configuration are we talking about? Is it relatively simple to setup and start? In a personnal project I'm looking forward using something like this, but first of all I'm looking for something rather easy to setup that will not break over time. Thanks in advance! – Frederik.L – 2015-10-13T06:52:11.053

2

I recommend Stream what you hear 1.4

Simple stand-alone App that does what you need and streams to devices and over Http. Just download and install it and then right-click the tray icon to choose your target network output device (it has to support upnp/dlna). Watching YouTube videos could be difficult though, because the audio is extremely delayed this way (up to 5 seconds!).

have fun

user14931

Posted 2011-11-30T21:29:57.330

Reputation: 31

Can you expand this answer with a bit more detail about how to use the utility? It sounds like it might work, but the answer is still a bit basic. – AJ Henderson – 2015-07-16T21:41:17.010

Definitely the easiest one to set up (no requirements such as chrome and no modifying xml files with your IP address manually). You can also stream directly over http for non upnp/dlna devices. – Cimbali – 2019-07-24T21:49:53.503

2

I've altered a program found on internet and created WLStream. It enables you to stream audio from a Windows output device so Pulse Audio will be able to play it back on a Linux host. The communication between the two is done with plink from Putty. There's a delay in the audio stream caused by the network, I'm sure if you alter the privilege on the TCP packet sent from plink or change your router's configuration as you would for VOIP it'll reduce the audio's stream lag but my research didn't go any further. WLStream can be compiled using Visual Studio 2017 and there's a pre-compiled from the last version here.

Rinaldi Segecin

Posted 2011-11-30T21:29:57.330

Reputation: 121

1

Can't say I've ever used it myself, but it looks like Airfoil from Rogue Amoeba will do just what you need. There are Mac and Windows versions to send audio, and Mac, Windows, and Linux versions to receive audio. It also works with airplay, so it should show up in iTunes and your iOS devices. The only downside is that it's a paid commercial application.

There's also SpeakerShare, which is free and open source, but doesn't have the airplay functionality. It looks like there are current Android and Mac versions, as well as depreciated Windows versions available under "All Downloads".

Danny

Posted 2011-11-30T21:29:57.330

Reputation:

air foil will have considerable lagg for video unless you are using a correct player on the recieving end. I wish there was a EASY way to do this – None – 2012-02-02T15:26:02.757

looks like speaker share is no longer on google code – None – 2012-02-02T15:31:39.187