On Wed, Nov 19, 2008 at 1:55 PM, David Baelde <[EMAIL PROTECTED]> wrote:
>
> This time, I have to disagree with Romain. There is some synchrony at
> some level, but the end-user picture is different, that's what matters
> here. There are operator which switch to different sources in an
> asynchronous way.
>
> The extreme case is the mix() operator, fully controllable from
> telnet, which allows you to select, from a list of children sources,
> which ones to play -- and with which volume ratio in the mix.
>
OK, it seems that mix does do what I need, albeit to powerful ( I'm
not complaining about that ;) I'm going to dig further on this.
> Often, one simply needs a track insensitive switch (typically
> fallback(track_sensitive=false)) which immediately switches to a
> source when it becomes available. If that source is a queue, it
> becomes available when you push a request to it, and the request is
> successfully prepared.
>
My problem with fallback is that I'm thinking in implementing the
intermissions as random playlists. But intermissions are not the
fallback safe (default) playlist. So ,is there any way to mark a
playlist as invalid/unavailable?
> The operator switch(), still with track_insensitive=false, allows more
> complex behaviors and can be useful. For example, you can use it with
> time predicates to switch immediately to a given child source at a
> given time:
> switch(track_sensitive=false,[
> ({ 10h-11h },a), # play a between 10:00 and 11:00
> ({ true },b) # otherwise b at any time
> ])
>
time predicates are to static for our needs :/ Our schedule is not
100% weekly oriented, instead we are moving towards a calendar based
schedule. By the way, in switch, if there are 2+ true predicates, how
does the scheduler chooses? the first one, as in fallback?.
>> To illustrate our case, I left a diagram here:
>> http://web.ist.utl.pt/~ggb/tmp/bigpicture.png
>
> Sorry, this link timeouts :(
>
Weird, I can access it via web browser and the file is only 50KB.
Is there any location to inspect each operator's socket interface??
I'm using the help command via telnet, but that doesn't give the
"whole picture", as the reference.html or language.html do with the
language and scripting API.
Thanks
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users