fedden / RenderMan

Command line C++ and Python VSTi Host library with MFCC, FFT, RMS and audio extraction and .wav writing.
The Unlicense
360 stars 44 forks source link

How to load VST plug-in for Windows? #21

Open ZhaoJY1 opened 3 years ago

ZhaoJY1 commented 3 years ago

Hi, I have built the application on Windows using another Fork, but I have not figure out how to load a VST plug-in under Windows10. Usually, on Windows, a VST plug-in is a dll file. I tried e.g. the following code: plugin_path = 'C:/Users/lenovo/Desktop/AnacondaCodeEnv/music_synth_renderman/VST/Kontakt.dll' eng.load_plugin(str(plugin_path)) But it does not work, only crashes program.

So I want to know, how to load a VST plug-in for Windows? Or even is this possible at the first place, because the application was not only built for OSX and Linux, but also only designed for these two platforms?

Thanks!

EDIT: Oh, I know partially the reason. If the VST plug-in is in VST3 format (.vst3 extension), then no problem to load. If a plug-in is in .dll extension, then it is a VST2 format. But I am still confused, because the MacOS built version has no problem to load "Kontakt Player 6", which is only available as VST2 plug-in (file Kontakt.component in MacOS).