[Hackmeeting] RADIO CYBERNET @ HACKIT 2005 - LOGISTICA E "CO…

Delete this message

Reply to this message
Author: bakunin
Date:  
Subject: [Hackmeeting] RADIO CYBERNET @ HACKIT 2005 - LOGISTICA E "COME SARA'___+__+
> #!/bin/bash
> echo "registra con lame ed esdrec"
> echo esdrec -r 44100 | lame -a -x -k --resample 22 -b 24 --tt live-`date +%d%b%Y-%H%M%S` --ta radiocybernet --ty `date +%Y` - rec`date +%d%b%Y-%H%M%S.mp3`


a questo punto...
somaplayer -m -ao lame -ad file=`date +%d%b%Y-%H%M%S`.mp3

> sox -t ossdsp -l -r48000 -c2 /dev/dsp $1 $2 $3 $4 $5

somaplayer -m -ao wav -ad `date +%d%b%Y-%H%M%S`.wav

o magari vuoi fare entrame le cose:

somaplayer -m -ao wav -ad `date +%d%b%Y-%H%M%S`.wav -ao lame -ad file=`date +%d%b%Y-%H%M%S`.mp3

o magari vuoi fare entrambe le cose e anche stremmare:

somaplayer -m -ao wav -ad `date +%d%b%Y-%H%M%S`.wav -ao lame -ad file=`date +%d%b%Y-%H%M%S`.mp3 -ao icecast2 -ad http://stream.indivia.net:8000/seminario.mp3,type=m,password=LA_PASS

e magari vuoi fare anche suono distribuito con il tuo amichetto:
somaplayer -m -ao wav -ad `date +%d%b%Y-%H%M%S`.wav -ao lame -ad file=`date +%d%b%Y-%H%M%S`.mp3 -ao icecast2 -ad http://stream.indivia.net:8000/seminario.mp3,type=m,password=LA_PASS -ao sds -ad tcp://IP_DEL_TUO_AMICHETTO


o magari vuoi anche salvartelo in formato matlab in modo da poterci fare
poi studi di funzione:
somaplayer -m -ao wav -ad `date +%d%b%Y-%H%M%S`.wav -ao lame -ad file=`date +%d%b%Y-%H%M%S`.mp3 -ao icecast2 -ad http://stream.indivia.net:8000/seminario.mp3,type=m,password=LA_PASS -ao sds -ad tcp://IP_DEL_TUO_AMICHETTO -ao mat5 -ad file.mat

oppure se proprio vuoi puoi anche stremmarlo a + server di streamming:
somaplayer -m -ao wav -ad `date +%d%b%Y-%H%M%S`.wav -ao lame -ad file=`date +%d%b%Y-%H%M%S`.mp3 -ao icecast2 -ad http://stream.indivia.net:8000/seminario.mp3,type=m,password=LA_PASS -ao sds -ad tcp://IP_DEL_TUO_AMICHETTO -ao mat5 -ad file.mat -ao icecast -ad http://ahimsa.indymedia.org:8100/seminario.mp3,type=m,password=UN_ALTRA_PASS