Hi,
You can look at `smooth_add` for that purpose. There's an example here:
https://www.liquidsoap.info/doc-1.3.6/cookbook.html
If you want to explore and hack further, in the current `master` branch, which
will eventually come out as version `1.4.0`, there's a full rewrite of fade
operators, including `smooth_add`.
Essentially, `amplify` can now take a `()->float` callback, which you can use
to define whatever fading function you wish.
However, since source's timing is not real time, you need to use `source.time`
to keep track of the source's local time. The typical example being:
https://github.com/savonet/liquidsoap/blob/master/scripts/fades.liq#L7
I'm closing this for now, let us know if you need more info or have any success
with it. Thanks for the encouragements as well!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/753#issuecomment-485131248
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users