Hi David,

thanks for your explanations.

> I'm glad on_blank() eventually worked; the trick is to set up the
> right levels. You made an interesting observation: it allows you to
> call a handler when there is too much blank, but does not give you the
> possibility to call one when blank stops. We could add this easily
> (the only question is, which parameter names).
>   

If it's only a question of name, on_detect is a nice one : )

> However, I suspect there might be a other solutions I'm not sure what
> you're precisely trying to do, but I'll assume you want to stream jack
> to icecast except during silence.
>
> I have two solutions, both use strip_blank(), which creates track,
> cutting out the silence.
>  (1) Create a fallback([strip_blank(jack),blank()]) with transitions
> that call icecast.start/stop. The other source in the fallback can be
> anything, it won't be played through icecast.
>   

I'tested it without success, maybe it's misspelling from my side

goforit = fallback(transitions=[startit,stopit,[strip_blank(jack),blank()]])
or
goforit = fallback(transitions=[startit,stopit],[strip_blank(jack),blank()])

return me :
ERROR: This script is not well typed!

>  (2) The second will work soon: directly stream the stripped source in
> fallible mode output.icecast.vorbis(fallible=true,strip_blank(jack)).
> The fallible mode is arriving these days, currently only available for
> file outputs, but it's a matter of little time: the idea is that the
> operator simply starts/stops automatically when there is/isn't a track
> to play from the source.
>   

Have you some news about this, and it's on the 0.9.1 ?

Best,
Thomas



------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to