This repository contains code for the Seminar Audio Processing and Indexing 2022/2023 project at Leiden University. For this project we have created a virtual Tremolo audio effect that can be used for digital audio workstations (DAW) such as FL studio.
Some audio samples before and after applying the effect can be found here. This project is built using C++ with the JUCE framework.
To get started and use the Tremolo VST, you should download the project as a ZIP or clone the project. You should also have installed a DAW on your computer such as FL studio. A fully-functional, free trial version with unlimited time for FL Studio can be found here. The download is available for Windows 8, 10 or 11, and MacOS 10.13.6 (High Sierra) or later.
If you choose to build the plugin from the repository, you will need to have the necessary development tools and dependencies installed on your computer.
Requirements for the software and other tools to build, test and push
- JUCE framework, version 7
- Visual Studio 2022
- Windows 10 SDK
- Steinberg VST 3 Audio Plug-Ins SDK
- C++ 17
A step by step series of examples that tell you how to get a development environment running
- Download and install all prerequisities.
- Download the code from JUCE framework as a zip file.
- Open the JUCE-master file you have just downloaded in an explorer. Navigate to
../JUCE-master/extras/Projucer/Builds/VisualStudios2022
- Double click "Projucer.sln". This will open Visual Studios 2022.
- After loading, go to Build > Build Solution in Visual Studios. After building, navigate to:
../JUCE-master/extras/Projucer/Builds/VisualStudios2022/x64/Debug/App
- Double click "Projucer.exe". Now the JUCE Framework is installed!
- Download/clone this repository
- Navigate to:
API_Tremolo/Builds/VisualStudio2022
- Double click "API_Tremolo.sln". This should open Visual Studios.
- Build the application. The plugin can be found as an .exe file named "API_Tremolo.exe" here:
API_Tremolo/Builds/VisualStudio2022/x64/Debug/Standalone Plugin
The plugin can also be found as .dll file named "API_Tremolo.dll" here:
API_Tremolo/Builds/VisualStudio2022/x64/Debug/VST
- To run our audio plugin in a digital audio workstation (DAW), you can either build the plugin from our GitHub repository or download a pre-built release.
- Create a directory for the plugin and copy the API_Tremolo.dll into it.
- Using your DAW's plugin manager you can now locate the folder you have just created which includes the API_Tremolo.dll
Please refer to your DAW's help pages on how to use the Plugin Manager:
- FL Studio
- Ableton (differs for your platform)
- Cubase
- Logic Pro (Only possible if you are on mac and build the repo yourself)
-
Make sure to have C++ as language standard in visual studios 2022. This can be configured by right mouse click on the folder "API_Tremelo_SharedCode" in the solution explorer in visual studios. Then, In Configuration Properties > General, the C++ Language standard can be adjusted.
-
Make sure that the global path points towards the SDK you have installed. This can be done by opening the JUCE application, press "file" at the top left and go to "global paths". Here, under "VST (Legacy) SDK, set the correct path to the root folder for VST2 in your local files. In our case, this corresponds to: Windows (C:) > JUCE > VST2_SDK.
-
When building the project, if it shows an error like the following: aeffectx.h file not found, we found the following workaround: In Visual Studio, in the solution explorer, right click on the project > properties > VC++ directories. Then under "include directories" press the arrow on the right and press "edit" and press "new line". Then select the path that leads to this root folder of the SDK: VST_SDK\VST2_SDK, which is probably part of your project folder.