That would be a job for the arrangement I mentioned with the ALSA loopback soundcard and NetJACK. I used to do that with some zero/thin diskless client machines, so I know it can be done. Let's label your machines: Let's say you are running ALSA playback clients on machine A and want the sound to be beamed to machine B. On machine A, you point .asoundrc to a loopback soundcard so that all ALSA clients will play sound to the loopback soundcard. You run NetJACK to take the samples from the loopback soundcard and route to NetJACK. You configure NetJACK to send the sound from machine A to machine B. On machine B, you configure NetJACK to send the sound to the desired hardware soundcard. In theory, you could use netcat aka nc and a couple of homegrown ALSA clients as a substitute for NetJACK. I don't know whether it would take less effort to write the clients or set up NetJACK. HTH Robert > From: daggs <daggs@xxxxxxx> > To: lists@xxxxxxxxxxxxxx > Date: Thu, 26 Mar 2015 08:01:40 +0100 > Cc: alsa-user@xxxxxxxxxxxxxxxxxxxxx > > thanks for the info guys, but it isn't quite what I need. I need to stream any sound from one computer to another. > > I wonder, I can define in ~/.asoundrc which card to stream the sound to, so assuming that I have a listener on another computer, it isn't that hard to define a remote ip in a similar manner and just dump the data we stream to the card into the network instead. > > is there anything bad with it? > > > Sent: Thursday, March 26, 2015 at 3:15 AM > > From: lists@xxxxxxxxxxxxxx > > To: alsa-user@xxxxxxxxxxxxxxxxxxxxx > > Subject: Re: over the net sound stream > > > > ???http://unix.stackexchange.com/questions/40058/pipe-system-sound-to-another-computer > > > > Skip down to the netcat post. I haven't tried this, but netcat is amazing at piping stuff around. The post uses nc instead of netcat. > > > > > > Original Message > > From: Robert M. Riches Jr. > > Sent: Wednesday, March 25, 2015 5:47 PM > > To: alsa-user@xxxxxxxxxxxxxxxxxxxxx; daggs@xxxxxxx > > Subject: Re: over the net sound stream > > > > There is a way to do it using the ALSA loopback soundcard and > > [Net]JACK. It's not easy. There are some tutorials on the web, > > though it's easy to get confused about whether the tutorials are > > talking about JACK1 vs. JACK2. IME, the ALSA loopback soundcard > > has a disadvantage that it lets the playback client get too far > > ahead, which can cause difficulties in some situations. > > > > HTH > > > > Robert > > > > > > > From: daggs <daggs@xxxxxxx> > > > To: alsa-user@xxxxxxxxxxxxxxxxxxxxx > > > Date: Wed, 25 Mar 2015 20:25:54 +0100 > > > > > > Greetings, > > > > > > is there a way to stream sound from one machine to another via a network using alsa? > > > in addition, what is the purpose of the aserver bin which is part of alsa libs pkg? > > > > > > Thanks. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user