Hi Josh,

2013/6/20 Josh Stirland <[email protected]>:
> hello all,
> Is it possable to fade from automation to live, and from live to automation?
> my source switch is as follows:
> full= fallback(track_sensitive=false,[live,radio,fail])
> thanks for any help, josh.

You sure can! You will need to use transitions, which are documented
in the "transitions" section ("switch-based" subsection) of this page:
  http://liquidsoap.fm/doc-svn/cookbook.html

Basically, a transition is a function that takes old and new sources
and returns a single source combining them, such as:

def transition(old, new) =
  # Alway place new source first in a add because
  # first source in add will be the one passing metadata
  # and track limits
  add([fade.initial(new), fade.final(old)])
end


Romain

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to