I’ve been working quite some time to be able to load multiple VST plugins that I created using SynthMaker to load simultaneously into FMOD. Now I’ve been more careful to read my documentation and find an obscure line in the System::createDSPByType doc that Winamp DSP and VST plugins will only return the first plugin of this type that is loaded.
Is this still true?
Is there any thought of adding support for multiple layers of VSTs?
Thanks in advance for any support or help you can provide!
- cxvjeff asked 9 years ago
Maybe too little detail was given so I’ll try again. Currently working towards completion of an audio product that will allow the user to use two audio cards simultaneously to essentially send two programs of music out of one system. One for live playback to the audience and the other for booth remixing or editing. My issue comes in when I have a VST created to show a graphical representation of the VU meter which is more accurate and less intensive than the getWaveData method in FMOD. The VU for the live event is shown on the main form. But now I need to load another VU in the editing form for the other sound device.
I can easily switch between which VU is active based upon whether the user is in the main form or the edit form but they can’t both be active at the same time. The two instances are independent of each other as they are looking at the VU value of the separate Channels but point to the same DLL. It would be helpful to be able to load multiple instances of the DLL but with FMOD’s limits of only pointing to the first loaded plugin I can’t have them active at the same time.
This also limits me to only be able to show a VU meter since that is essential to my program. If I later wanted to give the user the ability to load and show their own custom VST I don’t have the capability. Any help or suggestion would be helpful!! If there’s a work around please let me know.
Thanks everyone for reading and giving this a moment of your time.
- cxvjeff answered 9 years ago
So again… it’s been awhile since I raised the question – thought it might be worth raising again. Is there any chance that FMOD will be moving to utilizing more than one VST plugin at a time? I know there’s been extensive work being done to bringing the iPhone into the loop so I can understand why this isn’t a top priority. But it is a functionality that I could use the crap out of in my program. Any feedback is appreciated as always!
FMOD supports multiple loaded VSTs.
[quote="cxvjeff":1ed0u1vp]Now I’ve been more careful to read my documentation and find an obscure line in the System::createDSPByType doc that Winamp DSP and VST plugins will only return the first plugin of this type that is loaded.
Is this still true?[/quote:1ed0u1vp]
The System::createDSPByType() docs say:
[quote:1ed0u1vp]Note! Winamp DSP and VST plugins will only return the first plugin of this type that was loaded!
To access all VST or Winamp DSP plugins the System::createDSPByPlugin function! Use the index returned by System::loadPlugin if you don’t want to enumerate them all.
This means if you have loaded a bunch of VSTs with System::loadPlugin(), createDSPByType() will only return the first VST. Instead, you should use the handle return by loadPlugin() and call System::createDSPByPlugin().
You can find the code in the VST Plugin Viewer code example.
- Guest answered 8 years ago
[b:14aoo6vn]Eugene you genius![/b:14aoo6vn]
Gino – thanks so much for the reply! After getting your message I was quick to look into the API modules I had loaded in VB but didn’t find any function by that name. I’ve downloaded the newest package and low and behold there they are – the functions that is. I haven’t got a working test going yet but this will answer one of my most difficult questions I’ve had concerning the FMOD platform!
I appreciate you going back and finding this post and informing me of my errors. I can’t tell you how excited you’ve made me for my Tuesday morning! Thanks gino!!
Please login first to submit.