Le vendredi 03 juillet 2009 18:05:06, Jean-Francois Mauguit a écrit :
> Hello,
Hi !
> As you know we have some problems with mix. On some radios, everything
> is perfect, on some other not. What we have "found" is that the
> problem occurs often when short songs are played. For example, on
> radios with song - jingle - song - jingle - ... there is almost no mix.
>
> So I presumed I made something wrong in the liq :-)
>
> Here is our crossfade definition
> 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(duration=start_next,minimum = -1.0,fader, s)
> end
>
> input2=our_crossfade(start_next=6.0,fade_in=3.0,fade_out=3.0, input)
>
> Value for start_next, fade_in and fade_out comes from the annotate and
> are right.
>
> One other question concerning the same problem. What happen if we have
> 3 files playing at the same time ?
>
> File 1 start_next = 120, fade_out 120
> File 2 (duration = 140), start_next = 50, fade out = 50
> File 3 fade_in = 50
>
> So 120 s before the end of file 1 we start playing file 2 and 90
> seconds later we start playing file 3 but file 1 is not yet ended.
There can indeed be some issues with the remaining time, in particular since
this is an estimated value. However, the crossfade have a conservative option.
Using this option, the data needed for the crossfade is buffered in advance at
the beginning of each track. Did you try with this option ?
Romain
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users