[gmpi] Re: lost-n-found #5 - GUI windows

  • From: Jeff McClintock <jeffmcc@xxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Wed, 24 Nov 2004 08:15:56 +1300

> IMO GMPI requirements should say a plugin can have at most ONE editor.
> ...  Allowing it also means a plugin has to manage keeping
> multiple GUIs in sync for updates -- again, needless complexity.

No. The GMPI design (MVC based) allows for multiple GUI's with *zero* extra complication for the plugin. The plugin itself does not manage the syncing of multiple GUIs. The host does.

We already allowed for parameters to be updated from multiple sources (UI, MIDI CC's, Host automation). The host being the arbrator. One more GUI dosn't complicate the plugin.

We already talked about the posibility of opening the GUI on a remote machine (render farms), and agreed this can be done with no extra burden on the plugin coder. The key is that the host holds the state of all parameters, and manages merging and the broadcast of updates.

The requirement for remote GUI's shaped the design. This happens to support multiple GUI's too with no extra work. Remote GUI's are very useful.

This doesn't mean a host *must* let the user open multiple copies of the GUI. One is plenty for my host.
The point is, plugin coders must avoid *assuming* there's only one GUI, and that it's running in the same memory space.


Best Regards,
Jeff


Ron Kuper wrote:
IMO GMPI requirements should say a plugin can have at most ONE editor.
The editor is hosted a la VST or DirectX, you give it a "parent window"
the plugin does what it wants within.

I am opposed to multiple editors.  What does it mean for a plugin to
have 2 editors open at the same time in the same host?  The user can
only interact with one at a time anyway, so it seems like a needless
generalization.  Allowing it also means a plugin has to manage keeping
multiple GUIs in sync for updates -- again, needless complexity.

The "zero editors" case is for plugins that simply expose parameters but
want to run headless.


----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: