Hi,

I'm having a problem with transition on input.harbor.
Blow is the portion of the code:

# transition function
def transition(a,b) =
  log("transition called...")
  add(normalize=false,
      [fade.initial(duration=5.,b),fade.final(duration=5.,a)])
end


# how I called switch function
dj_live = input.harbor(id="live_dj_harbor", dj_harbor_input_mount_point,
port=dj_harbor_input_port, auth=check_dj_client, buffer=10., max=20.)
ignore(output.dummy(dj_live, fallible=true))
switch(id="live_dj_switch", track_sensitive=false, transitions=[transition,
transition], [({!live_dj_enabled},dj_live), ({true}, s)])

When I turn on/off live_dj_enabled predicate, transition works, but not
nicely.

When transition from s->dj_live, I notice that s is not fading out
gradually. It suddenly reduces volume of s and the fade in of dj_live come
in ok.
When transition from dj_live->s, samething happens but the only difference
is that when the volume of old source(dj_live in this case), drop more
dramatically.

Do you have any idea why I don't get smooth transition?
Thank you for your support.

-- 
James Moon
 Software Developer, Sourcefabric
[email protected]

www.sourcefabric.com | *www.sourcefabric.org*

720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to