[gmpi] Re: Decision time: 8.1

----- Original Message ----- 
From: "Paul Davis" <paul@xxxxxxxxxxxxxxxxxxxxx>


> >Topic 8.1: What is a 'parameter'/'control' ?
> >-------------------------------------------
>
>  [ suggested first draft ]
>
> in general, plugins do not run completely deterministic code - it is
> not possible to know, with no knowledge other than the input and the
> plugin's code (source or machine format) what output a plugin will
> generate.
>
> instead a normal plugin executes code that contains 1 more variables,
> the values of which can cause variation in the plugin's output. it is
> often useful for the user to have some kind of control over the
> variables, either directly or indirectly.
>
> a "parameter" is an abstract way of presenting such control to the
> user. when the user adjusts the operation of the plugin (for example,
> by adjusting an on-screen "virtual knob" or a physical control device
> of some kind), this change is communicated to the plugin using the
> parameter abstraction.
>
> the abstraction also provides a way to present the current state of
> the plugin to the user (for example, using value displays in an
> on-screen GUI).

Sounds very good to me: the connection to the plugin's processing AND the
user interaction is in there, and the bidrirectionality is there too.

The only thing I'm wondering about is whether this line:
> the values of which can cause variation in the plugin's output
is sufficient.
I mean: say you want to have a 'variable' in your plugin that determines the
behavior of two other 'variables' (such as: "when variable 1 is 'true',
changing variables 2 will also change variable 3 and vice versa ("locked
variables")')
Would variable 1 be considered a parameter? It doesn't change the output of
the plugin...

Koen



----------------------------------------------------------------------
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: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: