Hi Romaric,

I delayed my answer with the hope to find the time to write some code,
but once again I give up. Here's a short answer instead.

On Mon, Dec 13, 2010 at 4:59 PM, Romaric Petion <[email protected]> wrote:
> - For the mix feature, I can control it via telnet but when I change the
> volume to make a fadein or fadeout, it goes from 100% to 0% but without
> fadeout feature. And I would like a linear decrease to 0.

Yes, if you want to fade you have to send multiple commands to the mix
node. With the GUI, when you slide the volume slider, it sends many
updates to mix so that you hear a fade. You can reproduce the same
effect with a script (liquidsoap or not). For example sending 20
successive volume changes over 2 seconds. Note that even if you send
lots more commands, I don't think you can get a very smooth fade
(iirc, the volume will be the same over 1 frame ~ 0.1s).

> - For the switch feature like: switch([({!ok},queue)]) - How to control the
> value of the ok variable.

Here, ok is a reference. You get its value (a boolean) using !ok and
you set it using ok:=v. If you want to do it via the server, you have
to register a command for it.

Hope this helps,
-- 
David

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to