On 11/10/06, mauro <[EMAIL PROTECTED]> wrote:
do I need libortp to reach this target?
No, we use libortp when we want to stream raw audio. That's useful to remotely encode a stream. You need alsa support for the alsa solution. And nothing special for the second one. Just another source client which can read your microphone, darkice, muse, liquidsoap... Cheers, David
----- Messaggio originale ----- Da: David Baelde <[EMAIL PROTECTED]> A: mauro <[EMAIL PROTECTED]> Cc: [email protected] Inviato: Giovedì 9 novembre 2006, 0:55:14 Oggetto: Re: [Savonet-users] live radio dj [...] 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";)]).
