[gmpi] Re: gmpi Digest V1 #65 topic: Inter-parameter linkages

  • From: "Koen Tanghe" <koen@xxxxxxxxxxxxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Fri, 16 Apr 2004 00:17:20 +0200

On Thursday, April 15, 2004 5:57 PM [GMT+1=CET],
Paul Davis <xxxpaul@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> if you store "real" parameter values (i.e. post-actor) then there has
> to be a way to send them back to the DSP without the actor.

Ah, yes, actually, that is something I have in my plugin code too:

 /** Sets parameter dependencies state.
  @param inState  If true, parameter dependencies are checked in
setParameter.
       If false, the values are just set as they are given (without
checking).
  @remark Normally, this state should only be set to false when changing
programs. */
 void SetParameterDependenciesState(bool inState);

 /** Gets parameter dependencies state.
  @return True if parameter dependencies are checked, false otherwise. */
 bool GetParameterDependenciesState() const;

I needed this when switching programs or loading presets from file:
parameter dependencies are disabled in the "setChunk" and "setProgram"
functions of my VST code that wraps around the core code. So, the parameter
values are set directly, without going through the min/max/lock
checking/linking.

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

Other related posts: