Is it Possible to integrate VSTi Plugins with Godot's Sound Engine

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By fuderiki 1

I would like to use VSTi Synthetizers and Samplers within my game.
Has anyone already dealt with something similar before.
Would I need to create a wrapper module in C++?

PS: I’m also interested to integrate VST effects, like distortions, compressions, reverbs for example.

:bust_in_silhouette: Reply From: Zylann

To do this you need to create a module, possibly even fork the engine, because the VST SDK is in C++ so to use it you need native integration. It is also possible that the Godot API isn’t complete enough to integrate this seamlessly inside the existing audio engine, but you need to investigate. It should be possible to do.

Additionally, VSTi (with an i) implies you have to also implement MIDI to route notes to play. Part of it exists in Godot but I don’t know to which extent.

There is also a licensing issue preventing them from being integrated officially in Godot. See Audio Expansion Request - VST Support · Issue #27209 · godotengine/godot · GitHub

If you want VST to implement custom effects rather than benefiting from existing plugins, it would be easier to just extend the Godot audio effects.