Actually, I did some more testing and increased the start_next parameter to 200 
seconds just to
provoke an early crossfade and I noticed that the fade-out of the first source 
simply doesn't happen
for the default transition e.g. I can hear the second track fade-in but then 
the first track keeps
playing in the background until the end. Interestingly, for all the other 
transition cases
(non-default) this seems to work okay.

I just thought I'd let you know since maybe that helps with narrowing down the 
problem.

Henry

On 15/11/2011 23:26, Henry Favretto wrote:
> Okay, so now I'm finally getting the log output for the new default 
> transition. So that means the
> new default is being used - so far, so good. However, the problem is that the 
> transition is so
> sudden it appears to be sequenced. I tested this using a track with a sudden 
> ending (cut off) so
> it's pretty well noticeable.
> 
> In my new default transition I specified 10 and 15 seconds respectively for 
> the fade-in/out but
> those fades don't seem to happen at all from what I hear.
> 
> I attached the section from my log file from when the default transition 
> happened while also
> inreasing the default log level by one notch.
> 
> Can you maybe have a look if there's anything suspicious? Could it be a 
> buffering problem? Mind you,
> the whole crossfade is 25s long (10 + 15s) so I guess this amount should 
> probably be buffered.
> 
> I also tried using set("decoding.buffer_length",30.) just to see if this 
> would make any difference,
> but it didn't :(
> 
> Henry
> 
> On 15/11/2011 21:59, David Baelde wrote:
>> Here's the fix that Romain meant to do...
>>
>> On Mon, Nov 14, 2011 at 12:34 PM, Henry Favretto <[email protected]> wrote:
>>> ************************
>>> # Crossfade songs 15 seconds
>>> fade.out = fade.out(type="sin",duration=15.0)
>>> fade.in  = fade.in(type="sin",duration=10.0)
>>> add = fun (a,b) -> add(normalize=false,[b, a])
>>> radio = smart_crossfade(
>>>     fade_out = 15.0,
>>>     fade_in = 10.0,
>>>     start_next = 25.0,
>>>     margin = 3.0,
>>>     high = -15.0,
>>>     medium = -30.0,
>>>     conservative = true,
>>>     default = fun (a,b) -> add(fade.out(a),fade.in(b)),
>>
>> default = fun(a,b)->begin log(" *** DEFAULT *** ")
>> add(fade.out(a),fade.in(b)) end,
>>
>>>     radio
>>>   )
>>> ************************
>>
>> Hope this helps. Off the top of my head I don't see anything that
>> might have changed recently in smart crossfade.
>>
>> Cheers,
>>
>> David
>>
>>
>> ------------------------------------------------------------------------------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>>
>>
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to