Hello dears friends.

I working on LS server frontend, specifically with realtime web frontend
to allow us taylor some audio settings, like ladspa plugins, volume, etc.

This is the issue. I can add an interactive variables and access through
telnet server:

*i = interactive.float("volume_in", 1.2)**
**o = interactive.float("volume_out", 1.)*

and replace the values with variables in my ladspa plugin:

    full = ladspa.multibandcompressor(
        bypass=false,
        input=*i*,
        output=*o*,
        ...

The issues come when I try to replace a boolean valuen with an
interactive boolean variable:

*b = interactive.bool("bypass", false)*

    full = ladspa.multibandcompressor(
        bypass=*b*,
        input=i,
        output=o,

Give me the error:

Starting liquidsoap:  radio.liq At /etc/liquidsoap/procesadores, line
240, char 11:
  this value has type
    ()->_ (inferred at /etc/liquidsoap/procesadores, line 196, char 21-37)
  but it should be a subtype of
    bool

I think this happens because ladspa "bypass" setting is not a function.
Some ideas for workaround this? I will share this frontend when finish.

Regards,

Normando


------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to