Gen Code Export: VST

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


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


    • 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
    • Build the project
    • Copy the build product to the /Library/Audio/Plug-Ins/VST folder (on OSX)
    • Test in Max with the vst~ object

    • Nov 25 2017 | 12:55 pm
      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.
    • May 09 2019 | 10:30 am
      AFAIK Steinberg now removed the VST SDK v2.x and only allows v3 VSTs to be developed. How will Gen cope with that?
    • Aug 29 2019 | 10:52 pm
      Following NOOU.
    • Jul 29 2020 | 11:54 am
      Does this still work with VST 3?
    • Aug 09 2021 | 9:24 pm
      Has this yet been updated for VST3 ?
    • Aug 21 2022 | 5:18 pm
      For those looking for VST3 building information, there is a github project here which explicitly mentions and supports VST3.