Skip to content

Creating a new plugin

The easiest way to add a new plugin to the library is to use the VstProjectGenerator that is delivered with this library. This command line tool helps you to create the base code for a new VST Fx or Instrument. It duplicates either the BasicFx or the BasicInstrument project and replaces all names, namespaces and creates new GUIDs. Afterwards you might need to re-run CMake (see Installation and Setup) to generate project files for your IDE. Visual Studio already does that for you when compiling any project of the SDK but to make it aware of the added folder, make some small change to the CMakeLists.txt file in the Plugins folder like adding a space at the end.

Otherwise you can just manually copy the BasicInstrument and:

In both cases you might want to change the plugin category in the factory.cpp source file.