Salut a tous,

Thank for your very understandable explanation (Buddha vs Goldorak)
for me it's like a revelation. ;-)
and it's works perfectly now.
I use 2 Goldorak def as "mixin" transition
and "mixout" transition. Sorry Buddha ! héhéhé.

I switch to french because it's too hard for me to explain
in English (sorry)
J'ai noté un truc vraiment bizarre qui ne s'était jamais produit avant.

1/ 15h00 a 16h00 je joue une playlist de tracks
2/ 16h00 a 17h00 je switche avec transition et joue une playlist de mix (=track 
de + d'une heure)
3/ 17h00 a 18h00 je dois revenir a la playlist de tracks
comme le fallback est track_sensitive=false liquidsoap fade-out puis arrête le 
mix,
passe la transition et switche sur la source des tracks.
Jusque là tout est normal.
4/ Si a 18h00 je dois a nouveau passer les mixs, Liquidsoap
switche et me rejoue le même mix qu'il avait commencé entre 16h a 17h (???)
il ne renvoie pas les metadata et ne le loggue même pas !!

Je crois même qu'il joue la partie qu'il n'avait pas terminé,
mais j'ai raté le coche (bah oui faut bien manger..héhé) et dois le vérifier
a l' écoute.
C'est fort non ?, le truc il reprend son ouvrage ou il l'avait laissé.
Peut etre est ce prévu (?) ou connu (?) auquel cas je ne le savais pas.

Bon vous me direz que passer des mixs longs de 2 heures dans une fenêtre horaire
de 1h00 c'est un peu abusé, et vous avez bien raison..héhé
Mais le probleme reste posé.
J'avais fait cette programation (switch toutes les heures) car je voulais
verifier que mes transitions se passaient bien.

Merci a vous et bon week-end

----- "David Baelde" <[EMAIL PROTECTED]> a écrit :

> Hey,
> 
> On Thu, Sep 4, 2008 at 8:51 PM, Fred <[EMAIL PROTECTED]> wrote:
> > - "cross" can make transition only between 2 differents tracks of
> the same source ?
> 
> Right.
> 
> > - to make transition between 2 differents sources I'have to use
> "transition" function ?
> > (in my case it's transition between 2 differents sources)
> 
> The misunderstanding might be there, a tricky problem of language.
> You're using a transition function, but that function can be called
> david or fred, it does not matter. I would say that to obtain a
> transition between two sources, you use the "transitions" parameter
> of
> the fallback() function -- or any other switch operator, e.g.
> random().
> 
> I'll write in full details how your new script could be, with
> unambiguous names. I hope it'll help.
> 
> # My "crossfade", with mixin_jingle passed as an argument
> def goldorak(mixin_jingle,a,b)
>   sequence([ fade.final(duration=8.,a),
>              mixin_jingle,
>              fade.initial(duration=7.,b) ])
> end
> 
> # You old "transition"
> def buddha(j,a,b)
>   add(normalize=false,
>     [ fade.initial(b),
>       sequence(merge=true,
>         [ blank(duration=1.), j ,fallback([]) ]),
>       fade.final(a) ])
> end
> 
> jingles_transition = playlist("desjingles.pls")
> 
> radio = fallback(track_sensitive=false,
>                  transitions=[ goldorak(jingles_transition),
> buddha(jinglemix) ],
>                  [ tracks, tracksmix ])
> 
> What matters here is the parameter labeled "transitions". Its value
> means that goldorak() will be used for transitioning from tracksmix
> to
> tracks, and buddha() used for the other direction. You can use
> goldorak() twice, or buddha() twice, it does not matter. The two
> functions are given their first parameter, to tell them where to get
> the jingles; two parameters remain, that's what fallback() expects
> (functions with two parameters, one for the old and one for the new
> track). If you use goldorak() twice, it should probably be with two
> different playlists.
> 
> Have fun,
> 
> David

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to