Skip to content

vpereverzev/vst3sdk

 
 

Repository files navigation

VST 3 SDK

Welcome to VST SDK 3.7.x

Table Of Contents

  1. The VST SDK package
  2. System requirements
  3. About VST plug-ins in general
  4. About VST 3
  5. How to build VST 3
  6. Contributing
  7. License & Usage guidelines

The VST SDK package contains

  • The VST 3 API
  • VST 3 Implementation Helper Classes
  • AAX, AU, AUv3 and VST 2 wrappers
  • VST 3 plug-ins Examples

The full VST 3 SDK is available here!. It contains :

  • a VST 3 plug-in Test Host Application/Validator,
  • the Steinberg VST 3 Plug-In SDK Licensing Agreement that you have to sign if you want to develop or host VST 3 Plug-Ins.

System requirements

Supported Platforms:

Operating System Architecture Compiler Notes
Windows 10 x86, x86_64 MSVC 2019, MSVC 2017
Windows 8.1 x86, x86_64 MSVC 2019, MSVC 2017
macOS 10.13, 10.14, 10.15, 11.0 x86, x86_64, Apple Silicon Xcode 7, 8, 9, 10, 11, 12.2
iOS 13, iOS 14 arm64 Xcode 11, 12.2
Linux - Raspberry Pi OS (Buster) arm32 GCC 8.3 and higher Visual Studio Code
Linux - Ubuntu 18.04 LTS x86, x86_64 GCC 8.3 and higher Visual Studio Code, Qt Creator
Linux - Ubuntu 20.04 LTS x86, x86_64 GCC 8.3 and higher Visual Studio Code, Qt Creator

About VST plug-ins in general

A VST plug-in is an audio processing component that is utilized within a host application. This host application provides the audio or/and event streams that are processed by the plug-in's code. Generally speaking, a VST plug-in can take a stream of audio data, apply a process to the audio, and return the result to the host application. A VST Plug-in performs its process normally using the processor of the computer. The audio stream is broken down into a series of blocks. The host supplies the blocks in sequence. The host and its current environment control the block-size. The VST Plug-in maintains the status of all its own parameters relating to the running process: The host does not maintain any information about what the Plug-in did with the last block of data it processed.

From the host application's point of view, a VST plug-in is a black box with an arbitrary number of inputs, outputs (Event (MIDI) or Audio), and associated parameters. The host needs no implicit knowledge of the plug-in's process to be able to use it. The Plug-in process can use whatever parameters it wishes, internally to the process, but depending on the capabilities of the host, it can allow the changes to user parameters to be automated by the host.

The source code of a VST plug-in is platform independent, but the delivery system depends on the platform architecture:

  • On Windows, a VST plug-in is a multi-threaded DLL (Dynamic Link Library), recently packaged into a folder structure.
  • On Mac OS X, a VST plug-in is a Mach-O Bundle
  • On Linux, a VST plug-in is a package

To learn more about VST you can:


About VST 3

VST 3 is a general rework of the long-serving VST plug-in interface. It is not compatible with the older VST versions, but it includes some new features and possibilities. We have redesigned the API to make it not only far easier and more reliable for developers to work with, but have also provided completely new possibilities for plug-ins. These include:

1. Improved Performance with the Silence Flag

Processing can optionally be applied to plug-ins only when audio signals are present on their respective inputs, so VST 3 plug-ins can apply their processing economically and only when it is needed.

2. Multiple Dynamic I/Os

VST 3 plug-ins are no longer limited to a fixed number of inputs and outputs, and their I/O configuration can dynamically adapt to the channel configuration. Side-chains are also very easily realizable. This includes the possibility to deactivate unused busses after loading and even reactivate those when needed. This cleans up the mixer and further helps to reduce CPU load.

3. Sample-accurate Automation

VST 3 also features vastly improved parameter automation with sample accuracy and support for ramped automation data, allowing completely accurate and rapid parameter automation changes.

4. Logical Parameter Organization

The VST 3 plug-in parameters are displayed in a tree structure. Parameters are grouped into sections which represent the structure of the plug-in. Plug-ins can communicate their internal structure for the purpose of overview, but also for some associated functionality (eg. program-lists).

5. Resizeable UI Editor

VST 3 defines a way to allow resizing of the plug-in editor by a user.

6. Mouse Over Support

The host could ask the plug-in which parameter is under the mouse.

7. Context Menu Support

VST 3 defines a way to allow the host to add its own entries in the plug-in context menu of a specific parameter.

8. Channel Context Information

A VST 3 plug-in could access some channel information where it is instantiated: name, color, ...

9. Note Expression

VST 3 defines with Note Expression a new way of event controller editing. The plug-in is able to break free from the limitations of MIDI controller events by providing access to new VST 3 controller events that circumvent the laws of MIDI and provide articulation information for each individual note (event) in a polyphonic arrangement according to its noteId.

10. 3D Support

VST 3 supports new speaker configurations like Ambisonic, Atmos, Auro 3D or 22.2.

11. Factory Concept

VST 3 plug-in library could export multiple plug-ins and in this way replaces the shell concept of VST 2 (kPlugCategShell).

12. Support Remote control Representation

VST 3 plug-in can deliver a specific parameter mapping for remote controls like Nuage.

13. Others

While designing VST 3, we performed a careful analysis of the existing functionality of VST and rewrote the interfaces from scratch. In doing so, we focused a lot on providing clear interfaces and their documentation in order to avoid usage errors from the deepest possible layer. Some more features implemented specifically for developers include:

  • More stable technical host/plug-in environment
  • Advanced technical definition of the standard
  • Modular approach
  • Separation of UI and processing
  • Advanced Preset System
  • Multiple plug-ins per Library
  • Test Host included
  • Automated Testing Environment
  • Validator (small command line Test Host) and plug-in examples code included

How to build VST3

Get the source code from GitHub

git clone --recursive https://github.com/steinbergmedia/vst3sdk.git

Adding VST2 version

The VST2 SDK is not part anymore of the VST3 SDK, you have to use an older version of the SDK and copy the VST2_SDK folder into the VST_SDK folder. In order to build a VST2 version of the plug-in and a VST3 at the same time, you need to copy the VST2 folder into the VST3 folder, simply run the following commands:

  • for macOS:
cd TheFolderWhereYouDownloadTheSDK
./copy_vst2_to_vst3_sdk.sh
  • for Windows:
cd TheFolderWhereYouDownloadTheSDK
copy_vst2_to_vst3_sdk.bat

Build the examples on Linux

  • Install the required packages Package Requirements
  • Create a folder for the build and move to this folder (using cd):
    mkdir build
    cd build
  • Generate the Solution/Projects: provide the path of the Project where CMakeLists.txt is located:
    cmake ../vst3sdk
  • Now you can build the plug-in:
    make 
 (or alternatively for example for release)
    cmake --build . --config Release

Build the examples on macOS

  • Create a folder for the build and move to this folder (using cd):
    mkdir build
    cd build
  • Generate the Solution/Projects: provide the path of the Project where CMakeLists.txt is located:
  For XCode:
    cmake -GXcode ../vst3sdk
  Without XCode (here debug variant):
    cmake -DCMAKE_BUILD_TYPE=Debug ../
  • Now you can build the plug-in (you can use XCode too):
    xcodebuild 
 (or alternatively for example for release)
    cmake --build . --config Release

Build the examples on Windows

  • Create a folder for the build and move to this folder (using cd):
    mkdir build
    cd build
  • Generate the Solution/Projects: provide the path of the Project where CMakeLists.txt is located:
examples:
    cmake.exe -G "Visual Studio 16 2019" -A x64 ../vst3sdk
	or
	cmake.exe -G "Visual Studio 15 2017" -A x64 ../vst3sdk
	or
	cmake.exe -G "Visual Studio 15 2017" -A Win32 ../vst3sdk
  • Now you can build the plug-in (you can use Visual Studio too):
    msbuild.exe vstsdk.sln
  (or alternatively for example for release)
    cmake --build . --config Release

Build using cmake-gui

  • start the cmake-gui Application
  • "Browse Source...": select the folder VST3_SDK
  • "Browse Build...": select a folder where the outputs (projects/...) will be created. Typically a folder named "build"
  • you can check the SMTG Options
  • Press "Configure"
  • Press "Generate" and the project will be created

Contributing

For bug reports and features requests, please visit the VST Developer Forum


License & Usage guidelines

More details are found at www.steinberg.net/sdklicenses_vst3

About

VST 3 Plug-In SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CMake 97.6%
  • HTML 2.4%