Is it possible to unload a plugin from a vst?
I've noticed that one difference between the behavior of VST~ on Max 6 vs Max 5 is that on the former, when you first instantiate a [vst~] object, there's no plugin loaded. In Max 5, there always seems to be a default plugin with a parameter called GAIN.
So I'm wondering whether, in Max 6, there's a way to unload a plugin so that if a [vst~] is not needed for a while, there's no need for a plugin to be taking up memory, etc.
That's what I'm dong now (I send a plugin name called NONE). I just though there might be a proper unload in Max 6
[plug none] is what I do as well. Works fine.
If I send the message 'plug none' to a vst~, I get a message
"Can't find plug-in none"
in the Max window. Certainly, the previous plugin is gone (at least "edit" doesn't do anything) but I would have liked to have avoided the error message
Hi I've just found this. If I rig up a vst, load a plugin, and wire in a message
plug none
lock the patcher and click that I get the same message in the console and the plugin does not unload. Max "Version 8.6.1 (b9925cf828e) (arm64 mac)".
Unsure why there is no explicit unload, or at least mention of 'plug none' in the manual. Searching the reference for the vst~ object for the string 'none' reveals nought.
the message from DHJ is old enough to match to versions of vst~ which actually still could unload plug-ins like this.
thanks - it does seem off that C74 took the unload capability out of the app which seems like it would have been more work for a worse experience.