vstprogset
Prev | Orchestra Opcodes and Operators | Next

## vstprogset

vstprogset — Loads parameter banks to a VST plugin.

## Syntax

    vstprogset instance, kprogram

## Description

vstprogset sets one of the programs in an `.fxb` bank.

## Initialization

instance - the number which identifies the plugin, to be passed to other vst4cs opcodes.

kprogram - the number of the program to set.

## Examples

Example 566. Usage of vstprogset

    /* orc */
    sr = 44100
    kr = 4410
    ksmps = 10
    nchnls = 2
    giHandle1 vstinit "c:/vstplugins/cheeze/cheeze machine.dll",1
    instr 4
    vstbankload gihandle1,"c:/vstplugins/cheeze/chengo'scheese.fxb"
    vstprogset gihandle1, 4
    vstinfo gihandle1
    endin

    /* sco */
    i 3 0 21
    i4 1 1 57 32
    e

## Credits

By: Andrés Cabrera and Michael Gogins

Uses code from Hermann Seib's VSTHost and Thomas Grill's vst~ object.

VST is a trademark of Steinberg Media Technologies GmbH. VST Plug-In Technology by Steinberg.

Prev | Up | Next
vstparamset,vstparamget | Home | vsubv