#68: start_next in crossfade doesn't seem to work
-------------------------+--------------------------------------------------
Reporter: cjpa | Owner: admin
Type: Bugs | Status: closed
Priority: 1 | Milestone:
Component: Liquidsoap | Version: 0.3.5+svn
Resolution: invalid | Keywords:
-------------------------+--------------------------------------------------
Changes (by smimram):
* status: new => closed
* resolution: => invalid
Old description:
> the start_next-parameter doesn't seem to work. It seems to be ignored
> since the fade_in starts at the moment you specified in fade_in.
>
> One should think it would do the same as the duration-parameter in a
> normal cross:
> def our_crossfade(~start_next,~fade_in,~fade_out,s)
> s = fade.in(duration=fade_in,s)
> s = fade.out(duration=fade_out,s)
> fader = fun (a,b) -> add(normalize=false,[b,a])
> cross(fader,duration=start_next, minimum = 0.0,s)
> end
New description:
the start_next-parameter doesn't seem to work. It seems to be ignored
since the fade_in starts at the moment you specified in fade_in.
One should think it would do the same as the duration-parameter in a
normal cross:
{{{
def our_crossfade(~start_next,~fade_in,~fade_out,s)
s = fade.in(duration=fade_in,s)
s = fade.out(duration=fade_out,s)
fader = fun (a,b) -> add(normalize=false,[b,a])
cross(fader,duration=start_next, minimum = 0.0,s)
end
}}}
Comment:
I explained how to use metadata over IRC but it would be nice to have an
annotate example in the wiki...
--
Ticket URL: <http://savonet.rastageeks.org/ticket/68#comment:1>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !