How To Write Vst Plugin
26.12.2020 admin
Tutorial: How to write a VST2 plugin for 64bit DAW hosts without VSTGUI?
Aternatives:
6.1 Plugin Kernel Portability and Native Plugin Shells. 6.2 Organizing the SDKs: AAX, AU and VST. 6.2.1 Your C Compiler. 6.2.2 Setting up the AAX SDK. 6.2.3 Setting up the AU SDK. 6.2.4 Setting up the VST SDK. 6.2.5 Creating the Universal SDK Folder Hierarchy. 6.2.6 Adding the VSTGUI4 Library. 6.3 Creating a Plugin Project with. 'The JS code you write is effectively the interesting part of a VST, and what you end up with is effectively a VST plug‑in. For these reasons, JS is a true gateway language: once you've written a JS plug‑in, you're just a platform‑setup‑hassle away from writing a stand‑alone VST, and many JS authors go on to write. Re: How to write VST plugin for FLStudio If you're going to write plugins, it might be better (long term) to start out with the VST sdk by Steinberg, however. Type of plugin: VSTi. What it does: This virtual analog synth was inspired by the Clavia Nord.
VST3 with VSTGUI. Or JUCE API OR WDL.
What you need:
- Xcode
- WDL-OL
- RTAudio
Purpose: 64bit and VST2
Best Professional Vst Plugins
TODO – more content coming soon!

—
Vst Tutorial: http://dsptutorials.blogspot.de/2013/02/teile-eines-vst-plugins.html
VST Synth Tutorial: http://martin-finke.de/blog/articles/audio-plugins-002-setting-up-wdl-ol/
Complete guide for creating optimized VST2 plugin : https://stackoverflow.com/questions/1294695/how-to-build-a-vst-plugin-with-osx-xcode?rq=1
C++ VST Plugin Tutorial: https://learnvst.wordpress.com/old-site/the-build-environment/building-using-command-line-based-tools/3-guis-and-vst-instruments/
Knobman: https://www.g200kg.com/jp/software/knobman.html
Skinman: https://www.g200kg.com/jp/software/skinman.html
Filter tutorial Biquad C++: http://www.earlevel.com/main/2012/11/26/biquad-c-source-code/
IPlig VST Video Tutorial: https://www.youtube.com/watch?v=POP_z0dAn9c
Get older Xcode versions : https://developer.apple.com/download/more/?searchTextField=3.2.6 see m finke tutorial for extracting sdks
Juce – Noise synth tutorial: https://www.juce.com/doc/tutorial_simple_synth_noise
Juce VST Plugin tutorial: https://www.juce.com/doc/tutorial_create_projucer_basic_plugin
Programmieren in C++: http://www.highscore.de/cpp/einfuehrung/
—
VST SDK::
VST Repo:
https://github.com/steinbergmedia/vst3sdk/wiki/Get-Started
git clone –recursive https://github.com/steinbergmedia/vst3sdk.git
= ist eigentlich dasgleiche, was als Zip runtergeladen werden kann…
= keine Projekte mehr, diese müssen mit Cmake für jede Platform erstellt werden. Zumindest in Xcode funktioniert es. Leider ist jetzt jedes Beispiel Teil eines Gesamtprojektes …. nicht mehr wie früher separaiert ….
TODO Cmake auf CL einbinden (Pfad setzen?) -> ansonsten muss eben die Cmake-App genommen werden…
—
Also interesting:
http://www.willpirkle.com/preparing-the-vst3-sdk-3-6-7-for-use/
CMake
https://cmake.org/download/
—
Build the examples on Linux Free vst audio sampler.
Akai mpc vst free. mkdir build
cd build
cmake ./
make
Build the examples on macOS
Vst Plugin Folder
mkdir build
cd build
cmake -GXcode ./
xcodebuild
How To Use Vsts
Build the examples on Windows
mkdir build
cd build
cmake.exe -G”Visual Studio 14 2015 Win64″ ./
msbuild.exe vstsdk.sln
—
WDL-OL::
wdl-ol-prepared => enthält das WDL SDK mit allen Einstellungen wie unten beschrieben ::
—
https://github.com/olilarkin/wdl-ol
=> git clone https://github.com/olilarkin/wdl-ol.git
(VSTGUI geht nur mit VST3 und Vst3 wird nicht unter Reason unterstützt. VST2 SDK hat zwar auch schon VSTGUI aber setzt hier auf das Carbon Framework, das nur 32-bit kann, Reason braucht aber 64-bit, daher ist WDL-OL ganz gut, da das VST SDK ganz gut gekapselt ist und zudem ein eigenes GUI dabei ist, das noch besser und leichter aufgebaut ist)…
=> vstsdk367_03_03_2017_build_352
VST Order und ASIO ordner auffüllen (nur VST2 auffüllen, da wir ja kein VST3 machen wollen),
RtAudio (includes the ASIO SDK files we need – do we?) =>
http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-5.0.0.tar.gz
Settings ändern, falls nötig: common.xcconfig ( build to system plugin folder = no write permission)
VST_FOLDER = ~/Library/Audio/Plug-Ins/VST
//VST_FOLDER = /Library/Audio/Plug-Ins/VST
plus:
//BASE_SDK = macosx10.5
Projekt clonen:
cd /Users/your_name/OneDrive/MacBook/RepoQiOO/ElcobitVSTKit/wdl-ol-prepared
cd IPlugExamples
./duplicate.py IPlugEffect/ YourVST2PluginProductName Elcobit
Xcode launchen via MyFirstElcPlugin.xcodeproj
In Xcode
Select the APP Target VST2 -> My Mac 64bit wählen
Auf Project Head klicken -> Targets ALL -> Build Settings -> Architectures -> Latest MacOS
Could not launch Reaper ignorieren.
Stattdessen IDE öffnen, und voila Plugin is loaded (weil wir ja automatsich den default Ordner für VST2 angegeben haben)
—
Neues Plugin-Projekt:
wdl-ol-prepared
=> dort ein Example Clonen mit py script – siehe pben – und den Ordner NICHT rauskopieren … dann habe ich ein eigenständiges VST2 Projekt muss allerdings im WDL Ordner bleiben wegen den gesamten Resourcen (unnötige kann ich aber löschen…)
=>
cd /Users/your_name/OneDrive/MacBook/EigeneDateien/Dev/ElcobitVSTKit/wdl-ol-prepared/IPlugExamples
./duplicate.py IPlugMonoSynth/ GolemVst Elcobit