Namespaces

Variants
Actions

Gen Code Export VST

From Cycling '74 Wiki
Revision as of 01:05, 20 June 2013 by Wesley.hoke@gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This document describes the creation of VST filters with gen~ on both Windows and OSX

The referenced material is found here: Media:MyVSTPlugin.zip‎

Requirements

  • Xcode 4.6 or later for OSX
  • VisualStudio 2010 for Windows
  • Max 6.1 or later


Preliminaries

  • Download the VST SDK from Steinberg [1]
    • Make sure to download the VST Audio Plug-Ins SDK (Version 2.3 and 2.4). VST3+ is not supported by Max.


Building a VST

  1. Duplicate the provided VST project
  2. Move the project into the VST SDK folder vstsdk2.4/public.sdk/samples/vst2.x
  3. Open a gen~ patch to be turned into a plugin
  4. Send gen~ the exportcode message in order to export the genpatcher as C++ code
    1. Choose the top-level folder where you new plugin project is located as created in step 1.
  5. Open the Xcode or VisualStudio project from step 2
  6. In <plug-in name>.cpp, change the plugin descriptors
    1. UNIQUE_ID
    2. VST_NAME
    3. VST_VENDOR
    4. VST_VENDOR_VERSION
  7. Build the project
  8. Copy the build product to the /Library/Audio/Plug-Ins/VST folder (on OSX)
  9. Test in Max with the vst~ object