A VST plugin boilerplate built with JUCE.
- CMake 3.22 or higher
- C++17 compatible compiler (MSVC, GCC, or Clang)
- JUCE framework
You need to add JUCE as a submodule or download it:
Option A: Using Git Submodule (Recommended)
git submodule add https://github.com/juce-framework/JUCE.git JUCE
git submodule update --init --recursiveOption B: Manual Download
- Download JUCE from https://github.com/juce-framework/JUCE
- Extract it to a
JUCEfolder in the project root
Windows (Visual Studio):
mkdir build
cd build
cmake .. -G "Visual Studio 17 2022"
cmake --build . --config ReleasemacOS (Xcode):
mkdir build
cd build
cmake .. -G Xcode
cmake --build . --config ReleaseLinux (Make):
mkdir build
cd build
cmake .. -G "Unix Makefiles"
cmake --build . --config ReleaseThe compiled plugin will be automatically copied to your system's plugin directories:
- Windows:
%APPDATA%\VST3\orC:\Program Files\Common Files\VST3\ - macOS:
~/Library/Audio/Plug-Ins/VST3/ - Linux:
~/.vst3/
VideoScoreVST/
├── CMakeLists.txt # Build configuration
├── Source/
│ ├── PluginProcessor.h # Audio processing logic
│ ├── PluginProcessor.cpp
│ ├── PluginEditor.h # UI component
│ └── PluginEditor.cpp
└── README.md
Edit CMakeLists.txt to change:
COMPANY_NAME: Your company namePLUGIN_MANUFACTURER_CODE: 4-character manufacturer codePLUGIN_CODE: 4-character plugin codePRODUCT_NAME: Plugin display name
Modify PluginProcessor.cpp in the processBlock() method to implement your audio processing algorithm.
Edit PluginEditor.cpp in the paint() and resized() methods to customize the UI. You can add sliders, buttons, and other components using JUCE's component system.
Add your license information here.