Simple streaming audio alpt

Da Poetry Hacklab.

Welcome to a new edition of "Appizza e Sona".
In this number we'll see how to do an efficient, quick and simple audio 
streaming between two computer.

Let's say the computer A is at 192.168.1.2 and B at 192.168.1.3.

A is the streamer and B the listener.

First of all in B use:
$ while [ 0 ]; do nc -l -p 4444 | lame --decode --mp3input - - | aplay -; sleep 1; done

In A do:
$ cd mp3_directory/
$ for i in `ls -1 *.mp3`; do cat $i | nc 192.168.1.3 4444 -q 0; sleep 1; done

Now listen ad Enjoy!

AlpT (@ freaknet.org)
Strumenti personali