Same as Romain but I would put the on_track trigger on the b source: def new_prog(jingle,a,b) sequence([fade.final(a,duration=7.), jingle, on_track(fun(_)->source.skip(a),b)]) end
The problem with Romain's solution, I think, is that from the point of view of the newly created on_track, the ongoing track will be a new track. (Replacing on_track by on_end might have worked, then.) In my solution, when b starts streaming, the skip will be triggered. Also not tested (got some "professional" work to do this morning :p) please tell us if this helps. -- David ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
