0
0

Hi all, I’m currently using FMOD Ex and have had a lot of success getting the stock DSP effects to function, but I’m having trouble understanding exactly how to implement an external VST plugin.

I’ve read through the relevant parts of the Programmer’s API doc, but I’m unclear as to where I should begin 😕 Would someone mind posting some example code? I’ve checked all over Google for this to no avail, possibly because the search terms are too vague (‘fmod vst’).

Thanks!!
~Jake

  • You must to post comments
0
0

just call System::loadPlugin, then with the handle you get back, then call createDSPByPlugin. you would then use it like any other dsp, so addDSP can be used.

  • You must to post comments
0
0

Awesome! Thanks much, I’ll try this!

  • You must to post comments
0
0

Hey thanks for you help earlier, I just tried implementing some stuff. For some reason, I’m not reading the name or version of the plugin when I call getPluginInfo. Did I miss something? Here’s what I have.

            [code:1yu0vzo6]result = system.setPluginPath(pluginPath);
    uint handle = 0;
    uint priority = 0;
    result = system.loadPlugin("TAL-Elek7ro-II.dll", ref handle, priority);

    IntPtr dspIntPtr = new IntPtr(0);

    result = system.createDSPByPlugin(handle, ref dspIntPtr);

    PLUGINTYPE pluginType = PLUGINTYPE.DSP;
    StringBuilder builder = new StringBuilder("");
    uint version = 0;
    result = system.getPluginInfo(handle, ref pluginType, builder, 8, ref version);
    Debug.Log(String.Format("Name: {0}. Type: {1}. Version: {2}.", builder.ToString(), pluginType, version));[/code:1yu0vzo6]

I’m not entirely familiar with IntPtr so I could be making a mistake there. I work in C# so I usually have my hands off of most memory management stuff.

Thanks!!
~Jake

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.