2011/8/5 okay_awright <[email protected]>:
>> What do you mean exactly??
>
> I don't know if I can explain in a few words. I'll try with an example:
> within a given source graph, there's this switch operator with, say, 2
> predicates to evaluate in a sequence. When the first predicate is true
> it will switch to a source made from a request.dynamic(), as soon as the
> first track has been played using this function, the predicates from the
> switch will be evaluated once again. If this time the first predicate is
> false and the second one is true, then the source will switch to a
> blank() or a sine() or whatever. As soon as the function is over we go
> back to the switch, and it repeats endlessly like that, until no
> predicate is true.
> At the moment I have emulated that kind of behaviour with some event
> triggers, references, forced failures (fail()), fallbacks, and a full
> page of scripting I have yet to debug :(

I assume you already know that you can write this:

s = switch( [ ( function1, s1),
                    (function2, s2) ] )

Which is track_sensitive (switching only occurs at end of tracks) by default.

Then, if I understand well what you describe, you would like the
switch to track sensitive from s1 to s2 but immediate from s2 to s1,
right?

Romain

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to