User Tools

Site Tools


misc:soundreceiver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

misc:soundreceiver [2008/09/08 10:42]
wkunert created
misc:soundreceiver [2010/02/01 21:52]
Line 1: Line 1:
-====== Soundreceiver ====== 
  
-A short shell script to play (sound-)files via network. 
- 
-Copy the following code with an editor into a textfile. 
- 
-  #!/bin/sh 
-  echo "Waiting for audiofiles on port 50000 ..." 
-  while true 
-    do 
-      nc -l -p 50000 > /dev/audio 
-    done 
- 
-Change the file permissions to '755'. 
- 
-  chmod 755 <filename> 
- 
-Start your script by typing the filepath. 
- 
-  ./<filename> 
- 
-You can send files with following command: 
- 
-  nc <ip> 50000 < <audiofile> 
- 
-To start the scipt automatically on a hp t5000 series thin client move the script to <homedirectory>/Desktop/Autostart. 
misc/soundreceiver.txt · Last modified: 2010/02/01 21:52 (external edit)