From: Peter W. <pe...@tu...> - 2012-10-25 15:03:41
|
hi alessandro, i'm fading out to live when a live source starts, and i insert a jingle when live is finished before the studio source comes back: def to_live( old, new) old = fade.final( old) sequence( [old, new]) end def from_live( jingle, old, new) source.skip( new) s = add( [ jingle, old]) sequence( [s, new]) end from_live_j = from_live( jingle) // the fallback expects a transition function with only two parameters radio = fallback( track_sensitive = false, transitions=[to_live, from_live_j], [strip_blank( length = 60., live), studio]) // strip_blank is added as moderators often forget to switch off the live stream after finishing i hope this might work at least as a template for your needs regards peter On 10/25/12 16:38, Alessandro Casella wrote: > Hi to everyone! > I'm trying to use a smart crossfade transition with jingle in my fallback source using fallback.skip > I notice when using "sequence" operator my harbor input won't go on air… liquidsoap will skip once a track.. and then won't do nothing else… > > How i have to do to use jingle with smart crossfade only on one playlist? > At the moment it works using this script > > add = fun (from,to) -> > add(normalize=false, > [ to, > from ]) > etc…. > > but i don't know where i have to add jingle source… and make skip working > > Please help me, > thanks a lot!!!! > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Savonet-users mailing list > Sav...@li... > https://lists.sourceforge.net/lists/listinfo/savonet-users > |