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 2013年6月20日 08:05

Creative Commons License
Carlo Cattano's icon

Carlo Cattano

11月 25 2017 | 12:55 午後

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

noou

5月 09 2019 | 10:30 午前

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

Paulo Teixeira

8月 29 2019 | 10:52 午後

Following NOOU.

Roland Weiss's icon

Roland Weiss

7月 29 2020 | 11:54 午前

Does this still work with VST 3?

Ronald Legere's icon

Ronald Legere

8月 09 2021 | 9:24 午後

Has this yet been updated for VST3 ?

Neil Brewitt's icon

Neil Brewitt

8月 21 2022 | 5:18 午後

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