Tutorials

Gen Code Export: VST

Following are the steps for the creation of VST filters with gen~ on both Windows and OSX.

Requirements

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

Preliminaries

  • Download the VST SDK from Steinberg

  • Be 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

  5. Choose the top-level folder where you new plugin project is located as created in step 1.

  6. Open the Xcode or VisualStudio project from step 2

  7. In .cpp, change the plugin descriptors

  • UNIQUE_ID

  • VST_NAME

  • VST_VENDOR

  • VST_VENDOR_VERSION

  • Build the project

  • Copy the build product to the /Library/Audio/Plug-Ins/VST folder (on OSX)

  • Test in Max with the vst~ object

by Cycling '74 on June 20, 2013

Creative Commons License
Carlo Cattano's icon

Thanks for the tutorial . However I doesnt seem to work with Visual Studio 2017, I retargeted the solution but still .

Do you published any more information about this?
Juce is working propperly when using it , but when trying to open it from the example gen-code-export / indtrojucer , it just shows visual studio 2013 , while using introjucer from the latest juce it recognizes vs 2017.

noou's icon

AFAIK Steinberg now removed the VST SDK v2.x and only allows v3 VSTs to be developed. How will Gen cope with that?

Paulo Teixeira's icon

Following NOOU.

Roland Weiss's icon

Does this still work with VST 3?

Ronald Legere's icon

Has this yet been updated for VST3 ?

redpola's icon

For those looking for VST3 building information, there is a github project here which explicitly mentions and supports VST3.