RNBO building VST effect vs VSTi
Hi all, I'm using the RNBO JUCE template to build a simple stereo echo. Once built, the VST is categorized in Reaper as a VSTi. It should be a VST effect, not an instrument. I'm wondering if there's a way to specify this somewhere in the C++ code.
As a side question, I'm suspecting that there's a functional difference between VST and VSTi. My echo has a wet/dry mix. In Reaper, when set to 100%, I'm still hearing the dry signal. When testing in Max, 100% wet totally blocks the dry signal. Can anyone confirm that this is the expected behavior for VSTi? I'm hoping that if I can specify my build as a VST effect that the 100% wet mix will function correctly.
i dont know offhand where, but yes, instrument or effect it is an attribute of VST plug-ins.
i think it is called IsInstrument (just like the message for the call in the max object) and you should find it under PlugInCharacteristics in JUCE.
the main difference is where they show up in some hosts and that instruments did not support audio-in (at least that was true for VST 2.x)
i have hacked most instruments in classic MacOS the other way round back in the days; to make them show up as effects - so that i can open more instruments than the host program suggested. it is a single byte you have to change, so you can also do it later in the build (if you know where to look)
regarding audio through options, every host handles that different. many DAWs for example have special send effects slots, while vst~ in max is of course always an insert effect.
if you implement a custom send effects routine in max, the "pass audio when plug-in is turned off" option of vst~ does no longer make any sense.
Thanks Roman! I'm looking at PluginCharacteristics now and everything is unchecked (including "Plugin is a synth"). Additionally, under Plugin VST3 Category "Fx" is selected. Searching through the generated code, I see many instances of IsInstrument = false. So, I'm still perplexed.
Hi all, I believe you are looking for line 24 in Plugin.cmake, where you can change IS_SYNTH to FALSE in order to build an effect rather than an instrument.
Let me know if this gets you where you need to go...
That's it! Thanks Alex!