I have a problem when combining smart_crossfade and source.skip.

I have two rotations of playlists with smart_crossfade:

s1 = smart_crossfade(rotate([pl1,pl2,pl3]))
s2 = smart_crossfade(rotate([pl4,pl5,pl6]))

In a switch I change between these two sources. The transitions for this 
switch are to fade out, play a jingle, and start with a new track of the 
other source:

def new_prog(jingle,a,b)
   source.skip(a)
   sequence([fade.final(a,duration=7.), jingle, b])
end

s = switch(track_sensitive=false,
       transitions=[new_prog(j1), new_prog(j2)],
       [( { 0h-12h }, s1) ,( { 12h-24h }, s2)]


The problem is that the source.skip is audible in the smart_crossfade. 
You hear that a new track is started and immediately faded out. Then the 
jingle is played and the track of the other source.
I have no idea where to place source.skip so that the old track is faded 
out and skipped afterwards.

Thanks for any idea.

Andreas




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