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
2011/11/15 22:48:34 [decoder:4] Trying method "MP3" for "/track1.mp3"...
2011/11/15 22:48:34 [decoder.mp3:4] Libmad recognizes "/track1.mp3" as MP3 
(layer III, 192kbps, 44100Hz, 2 channels).
2011/11/15 22:48:34 [decoder:3] Method "MP3" accepted "/track1.mp3".
2011/11/15 22:48:34 [test_playlist(dot)lst:4] Remaining: 9.6s, queued: 0.0s, 
adding: 30.0s (RID 1)
2011/11/15 22:48:43 [decoder:4] Decoding "/track2.mp3" ended: Mad.End_of_stream.
2011/11/15 22:48:44 [test_playlist(dot)lst:3] Finished with "/track2.mp3".
2011/11/15 22:48:44 [test_playlist(dot)lst:4] Remaining: 0.0s, queued: 30.0s, 
taking: 30.0s
2011/11/15 22:48:44 [test_playlist(dot)lst:3] Prepared "/track1.mp3" (RID 1).
2011/11/15 22:48:44 [src_4738:4] Got metadata at position 1692: calling 
handler...
2011/11/15 22:48:44 [info:3] artist: 'Sinerider' title: 'Binary Flowers', 
replay_gain: '0.460000 dB'
2011/11/15 22:48:44 [src_4767:3] Analysis: -23.067023dB / -78.027318dB (25.04s 
/ 1.96s)
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("album","Keimar Sty")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("genre","Other")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("comment","rip/enc CDEX Lm. 
3.89 by D.Maj")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("filename","/track2.mp3")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("status","playing")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("year","2001")
2011/11/15 22:48:44 [smart_crossfade:4] Before: 
("source","test_playlist(dot)lst")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("initial_uri","/track2.mp3")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("tracknumber","3")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("replay_gain","-0.570000 dB")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("on_air","2011/11/15 22:44:02")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("rid","0")
2011/11/15 22:48:44 [smart_crossfade:4] Before: 
("kind","{audio=2;video=0;midi=0}")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("artist","Dual")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("decoder","MP3")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("temporary","false")
2011/11/15 22:48:44 [smart_crossfade:4] Before: ("title","Nucell")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("album","I Heard Something In 
The Distance")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("genre","Other")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("filename","/track1.mp3")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("status","playing")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("year","2009")
2011/11/15 22:48:44 [smart_crossfade:4] After : 
("source","test_playlist(dot)lst")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("initial_uri","/track1.mp3")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("tracknumber","7")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("replay_gain","0.460000 dB")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("on_air","2011/11/15 22:48:44")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("rid","1")
2011/11/15 22:48:44 [smart_crossfade:4] After : 
("kind","{audio=2;video=0;midi=0}")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("artist","Sinerider")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("decoder","MP3")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("temporary","false")
2011/11/15 22:48:44 [smart_crossfade:4] After : ("title","Binary Flowers")
2011/11/15 22:48:44 [smart_crossfade:3] No transition: using default.
2011/11/15 22:48:44 [lang:3]  *** DEFAULT ***
2011/11/15 22:48:44 [source:4] Source src_5178 gets up.
2011/11/15 22:48:44 [src_5178:4] Content kind is {audio=2;video=0;midi=0}.
2011/11/15 22:48:44 [source:4] Source fade_in_5177 gets up.
2011/11/15 22:48:44 [fade_in_5177:4] Content kind is {audio=2;video=0;midi=0}.
2011/11/15 22:48:44 [source:4] Source src_4767_after gets up.
2011/11/15 22:48:44 [source:4] Source buffer_5139 gets up.
2011/11/15 22:48:44 [buffer_5139:4] Content kind is {audio=2;video=0;midi=0}.
2011/11/15 22:48:44 [buffer_5139:4] Activations changed: 
static=[src_4767_after:fade_in_5177:src_5178:src_4767], dynamic=[].
2011/11/15 22:48:44 [src_4738:4] Activations changed: 
static=[src_4767_after:fade_in_5177:src_5178:src_4767, 
src_4767_after:fade_in_5113:src_5114:src_4767], dynamic=[src_4767].
2011/11/15 22:48:44 [src_4738:4] Enabling caching mode: two static activations.
2011/11/15 22:48:44 [src_4767_after:4] Activations changed: 
static=[fade_in_5177:src_5178:src_4767], dynamic=[].
2011/11/15 22:48:44 [fade_in_5177:4] Activations changed: 
static=[src_5178:src_4767], dynamic=[].
2011/11/15 22:48:44 [source:4] Source fade_out_5176 gets up.
2011/11/15 22:48:44 [fade_out_5176:4] Content kind is {audio=2;video=0;midi=0}.
2011/11/15 22:48:44 [source:4] Source src_4767_before gets up.
2011/11/15 22:48:44 [src_4767_before:4] Content kind is 
{audio=2;video=0;midi=0}.
2011/11/15 22:48:44 [src_4767_before:4] Activations changed: 
static=[fade_out_5176:src_5178:src_4767], dynamic=[].
2011/11/15 22:48:44 [fade_out_5176:4] Activations changed: 
static=[src_5178:src_4767], dynamic=[].
2011/11/15 22:48:44 [src_5178:4] Activations changed: static=[src_4767], 
dynamic=[].
2011/11/15 22:48:44 [src_5114:4] Activations changed: static=[], dynamic=[].
2011/11/15 22:48:44 [source:4] Source src_5114 gets down.
2011/11/15 22:48:44 [fade_in_5113:4] Activations changed: static=[], dynamic=[].
2011/11/15 22:48:44 [source:4] Source fade_in_5113 gets down.
2011/11/15 22:48:44 [src_4767_after:4] Activations changed: static=[], 
dynamic=[].
2011/11/15 22:48:44 [source:4] Source src_4767_after gets down.
2011/11/15 22:48:44 [src_4738:4] Activations changed: 
static=[src_4767_after:fade_in_5177:src_5178:src_4767], dynamic=[src_4767].
2011/11/15 22:48:44 [src_4738:4] Disabling caching mode.
2011/11/15 22:48:44 [fade_out_5112:4] Activations changed: static=[], 
dynamic=[].
2011/11/15 22:48:44 [source:4] Source fade_out_5112 gets down.
2011/11/15 22:48:44 [src_4767_before:4] Activations changed: static=[], 
dynamic=[].
2011/11/15 22:48:44 [source:4] Source src_4767_before gets down.
2011/11/15 22:48:44 [src_4846:4] Got metadata at position 0: calling handler...
2011/11/15 22:48:44 [Radio:4] Processing command metadata with arguments:
2011/11/15 22:48:44 [Radio:4]   m_title: Binary Flowers
2011/11/15 22:48:44 [Radio:4]   m_artist: Sinerider
2011/11/15 22:48:44 [http.get:4] No network activity for 1.00 second(s).
2011/11/15 22:48:45 [Radio:4] Response status: HTTP/1.1 200 OK
2011/11/15 22:48:45 [Radio:4] Response headers:
2011/11/15 22:48:45 [Radio:4]   date: Tue, 15 Nov 2011 21:48:44 GMT
2011/11/15 22:48:45 [Radio:4]   server: Apache/2.2.16 (Debian)
2011/11/15 22:48:45 [Radio:4]   access-control-allow-origin: *
2011/11/15 22:48:45 [Radio:4]   vary: Accept-Encoding
2011/11/15 22:48:45 [Radio:4]   connection: close
2011/11/15 22:48:45 [Radio:4]   content-type: text/plain
2011/11/15 22:48:45 [Radio:4] Response content: CMD metadata
DONE
2011/11/15 22:48:45 [clock.wallclock_main:2] We must catchup 1.35 seconds!
2011/11/15 22:48:46 [buffer_5139:4] End of track.
2011/11/15 22:48:46 [buffer_5139:4] Buffer emptied, buffering needed.
2011/11/15 22:48:46 [buffer_5139:4] Activations changed: static=[], dynamic=[].
2011/11/15 22:48:46 [source:4] Source buffer_5139 gets down.
2011/11/15 22:49:09 [src_4767_before:4] End of track.
2011/11/15 22:49:09 [src_4767_before:4] Buffer emptied, buffering needed.
2011/11/15 22:49:10 [src_4767:4] Buffering end of track...
2011/11/15 22:49:10 [src_4767:4] More buffering will be needed.
------------------------------------------------------------------------------
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