#68: start_next in crossfade doesn't seem to work
------------------------+---------------------------------------------------
 Reporter:  cjpa        |       Owner:  admin    
     Type:  Bugs        |      Status:  new      
 Priority:  1           |   Milestone:           
Component:  Liquidsoap  |     Version:  0.3.5+svn
 Keywords:              |  
------------------------+---------------------------------------------------
 the start_next-parameter doesn't seem to work. It seems to be ignored
 since the fade_in starts at the moment you specified in fade_in.

 One should think it would do the same as the duration-parameter in a
 normal cross:
 def our_crossfade(~start_next,~fade_in,~fade_out,s)
   s = fade.in(duration=fade_in,s)
   s = fade.out(duration=fade_out,s)
   fader = fun (a,b) -> add(normalize=false,[b,a])
   cross(fader,duration=start_next, minimum = 0.0,s)
 end

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/68>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !

Répondre à