I'm now able to get soud stream using liquidsoap and icecast 
 but I'm still tring to get audio stream from mic and mix it using liquidsoap 
and send it to a icecast can you help me to modify the script
 
David Baelde <[EMAIL PROTECTED]> ha scritto: Hi,

Nice to see people asking for these specific features, especially when
we've a positive answer.

If you're on a linux box with alsa support, you can use input.alsa()
to get input directly from the microphone. Notice that it _always_
inputs from the microphone. If your normal stream is "s" then you can
create what you want using add([s,input.alsa()]). It will mix the two
streams together. If there is no sound on the mic, then you'll just
hear s renormalized by 1/2.

You can also use input.http() which relays a ogg/vorbis http stream,
typically streamed by an icecast server, to which your live show is
sent (using darkice for example). The latter solution seems more
complicated, but it may be more robust, doesn't require alsa on the
liquidsoap machine, doesn't require the dj to be on the liquidsoap
machine, and allows you to shut down the live show. Using input.http
you can do add([s,input.http("http://host:8000/live.ogg";)]).

Add as a weigths parameter with which you might want to play. If you
need more interactive control you might want to take a look at mix()
instead of add(), and consider using liguidsoap for controlling it.
But start with add().

Hope this helps. It should work, at least. If you need something more
specific, please describe precisely and I'll be happy to discuss how
to fine-tune your script.

Have fun.
-- 
David


 __________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 

Attachment: lis.liq
Description: 1706559728-lis.liq

Reply via email to