Warning: Specifications are still subject to change!

# vstinit

vst4cs -- VST plugin hosting in Csound on Windows.

## 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.

## Syntax

instance vstinit ilibrarypath [,iverbose]

## 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 1. 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
    /* babo.sco */

## Credits

Authors:
Cabrera, Andres
Bogota, Colombia
2004
Gogins, Michael
New York, USA
2004