I haven't tried it myself, but you might use netcat as mentioned previously but 
within asoundrc through the 'copy' and/or 'file' pcm as described here: 
http://manual.audacityteam.org/o/man/tutorial_recording_computer_playback_on_linux.html#Using_the_ALSA_PCM_file

For the sending side it should be relatively easy. For the receiving side it 
might be more difficult to pick the stream up using asoundrc hacks...

Regards,
Anders



> 26 mar 2015 kl. 08:01 skrev daggs <da...@gmx.com>:
> 
> 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: li...@lazygranch.com
>> To: alsa-user@lists.sourceforge.net
>> Subject: Re: [Alsa-user] 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@lists.sourceforge.net; da...@gmx.com
>> Subject: Re: [Alsa-user] 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 <da...@gmx.com>
>>> To: alsa-user@lists.sourceforge.net
>>> 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@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>> 
>> ------------------------------------------------------------------------------
>> 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@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/alsa-user
> 
> ------------------------------------------------------------------------------
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user

------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to