Hi Johan,

On 9/13/07, Johan <[EMAIL PROTECTED]> wrote:
> i would like that savonet is monitoring my soundcard line in and when there
> is sound detected (start of live event) savonet starts streaming this to an
> icecast server and also save a copy to disk.
> when there is a period of silence (and of live event), savonet calls
> on_blank and what i want is that savonet terminates the scipt, starts again
> (unix while loop in startup script) watching the soundcard for new events
> e.g. later that day or week.

What you want is currently not possible, but it's in our TODO list for
after the next release.

As you notice, it is possible to filter out silence from a microphone
input using strip_blank(). The problem is that you have to put
something instead of the stripped sections (e.g. a fallback to some
playlist) before outputting that to Icecast or whatever, because the
outputs require infallible streams. In the future I would like to
change that so that Icecast deconnects when the stream fails (stripped
section) and reconnect when it comes back -- that would be one of the
possible behaviours, the other being fill-with-blank.

Now, I'm wondering whether you really need to do that. What do you
want to do with that live sound stream ? I suppose you want people to
listen to it, and you don't want them to be disconnected when the live
show ends, but listen to something else instead. It would then be
possible to get the same result, by adding the something-else in the
original liquidsoap instance instead of the stripped silence:
  fallback(track_sensitive=false,[strip_blank(input.alsa()),something_else])
Can you describe your project in more details ?

Have fun.
-- 
David

Reply via email to