vstinit
Prev | Orchestra Opcodes and Operators | Next

## vstinit

vstinit — Load a VST plugin into memory for use with the other vst4cs opcodes.

## Syntax

    instance vstinit ilibrarypath [,iverbose]

## Description

vstinit is used to load a VST plugin into memory for use with the other vst4cs opcodes. Both VST effects and instruments (synthesizers) can be used.

## Initialization

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

ilibrarypath - the full path to the vst plugin shared library (dll, on Windows). Remember to use '/' instead of '\' as separator.

iverbose - show plugin information and parameters when loading.

## Examples

Example 416. Loading a VST Plugin

    /* orc */
    sr = 44100
    kr = 4410
    ksmps = 10
    nchnls = 2
    giHandle1 vstinit "c:/vstplugins/cheeze/cheeze machine.dll",1
    instr 1
          giHandle2 vstinit "c:/vstplugins/crazy diamonds.dll",1
    endin

    /* sco */
    i 1 0 1
    e

## Credits

By: Andres 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
vstedit | Home | vstinfo