Hi Martin!

I tried messing around with the seconds but got similar vibe - on harbour connection playlist tracks start changing quickly, hehe. maybe this has to do with further fades that are applied, as right after the fallback i'm doing this:


def crossfade (~start_next=5.,~fade_in=0.5,~fade_out=3.,
                    ~default=(fun (a,b) -> sequence([a, b])),
                    ~high=-15., ~medium=-32., ~margin=4.,
                    ~width=2.,~conservative=true,s)
 fade.out = fade.out(type="sin",duration=fade_out)
 fade.in  = fade.in(type="sin",duration=fade_in)
 add = fun (a,b) -> add(normalize=false,[b, a])
 log = log(label="crossfade")


 def transition(a,b,ma,mb,sa,sb)
   list.iter(fun(x)-> log(level=4,"Before: #{x}"),ma)
   list.iter(fun(x)-> log(level=4,"After : #{x}"),mb)
   log("Transition: crossed, fade-in, fade-out.")
   add(fade.out(sa),fade.in(sb))
 end

 cross(width=width, duration=start_next, conservative=conservative,
             transition,s)
end



radio = crossfade(radio)



--------------------

Well, that's the general downside of track-insensitive fallbacks, they
don't get along unstable sources.

I suggest you increase your harbor's buffer size, and also decrease the
10 in "add_timeout" to 5 (the only important thing is to keep it greater
than "duration").

Martin
doing


_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to