Hi Andreas !

Le vendredi 18 décembre 2009 07:56:54, Andreas Volk a écrit :
> Neither of your suggestions work :-(
> 
> Romain's transition crossfades to another track of the same source which 
> is then faded out. The jingle is omitted and the new source starts to play.
> 
> 
> David's proposal results in a fadeout of the current source followed by 
> the jingle. But then the skipped track of last time becomes audible and 
> is immediately crossfaded to the new track.

The following code works here:

8<------------------------>8
jingle = single("/tmp/jingle.mp3")

s = smart_crossfade(playlist("/home/toots/documents/zic",conservative=true))

r = request.queue(id="b")

def f(a,b) =
  f = fun (_) -> source.skip(a)
  sequence([fade.final(a,duration=7.),on_track(f,sequence([jingle,b]))])
end

def n(a,b) =
   b
end

s = fallback(track_sensitive=false,transitions=[f,n],[r,s])
8<------------------------>8

It behaves as expected. I belive this should behave the same with a instead of 
a fallback..

Could you try it please ?


Romain


------------------------------------------------------------------------------
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

Reply via email to