Copyright © 2008-2019 MultiMedia Soft

Effects.VstProgramParamSetValue method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the new value for the specific parameter related to the given program.

 

For further details about managing a VST effect refer to the How to manage VST effects section.

For further details about methods related to the use of special effects refer to the Effects COM object.

 

 

Syntax

 

[Visual Basic]

control.Effects.VstProgramParamSetValue (

nIdVST as Long,

nProgramIndex as Integer,

nParamIndex as Integer,

fValue as Single

) as enumErrorCodes


 

[C++]

short control.Effects.VstProgramParamSetValue (

long nIdVST,

short nProgramIndex,

short nParamIndex,

float fValue

);


 

 

Parameter

Description

 

 

nIdVST

Unique identifier of the VST effect as returned by the Effects.VstLoad method.

nProgramIndex

Zero-based index of the program

nParamIndex

Zero-based index of the parameter

fValue

The new value of the given parameter

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.