Re: [linux-audio-dev] ladspa GUI round 2

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] ladspa GUI round 2
From: Tommi Ilmonen (tilmonen_AT_cc.hut.fi)
Date: Thu Mar 29 2001 - 18:02:19 EEST


Hi.

I am also quite happy with this approach. There are trade-offs, but then
again, there always are.

I might have to tweak Mustajuuri plugin architecture a bit, but with this
method it should be possible to run most Mustajuuri plugins as LADSPA
plugins with their GUIs and run any LADSPA plugins as Mustajuuri plugins =
I am satisfied.

On Wed, 28 Mar 2001, Paul Davis wrote:

> i am very excited by steve's re-presentation of the plugin
> GUI-as-separate-process idea.
>
> it took me less than 10 minutes to add some code to ardour that could
> handle the IPC via a FIFO (using the LADSPA_Parameter_Change struct I
> included in my last message).
>
> if we take this route, we could skip the (quite complicated) task of
> implementing backends for the XML spec. people can write their own GUI
> "applets" in whatever toolkit they want. then, in the initialize
> callback of the plugin, they can fork the GUI process, passing it any
> necessary info via exec(2), and presto, we're done. our LADSPA's GUI's
> can be as beautiful (or ugly) as their individual authors want them to
> be.
>
> all we need to settle on is the struct used to send port value change
> requests (and its name!) and the IPC method (which i think should
> clearly be a pipe). the requests themselves don't need timestamps or
> anything complex, just a way for the host to identify the plugin, the
> port ID and the new value.
>
> note, btw, that the host may not pay any attention to the pipe to
> which requests are sent (it may even choose not to have such a pipe at
> all). i suppose the host should pass the name of the FIFO
> (e.g. /tmp/ardour_ladspa_gui_pipe), or a null pointer, so that a
> plugin can tell if and where to send GUI requests (and thus whether or
> not to bother with a GUI at all).
>
> i still that a plugin should indicate if it has its own GUI, so that
> hosts like ardour, sweep and many others can build their own simple
> GUI for those that choose not to provide one.

Yes.

Tommi Ilmonen Researcher
>=> http://www.hut.fi/u/tilmonen/
  Linux/IRIX audio: Mustajuuri
>=> http://www.tml.hut.fi/~tilmonen/mustajuuri/
    3D audio/animation: DIVA
>=> http://www.tml.hut.fi/Research/DIVA/


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Apr 07 2001 - 15:57:14 EEST