Forums > MaxMSP

Is it possible to unload a plugin from a vst?

May 2, 2014 | 5:50 pm

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.


May 2, 2014 | 8:56 pm

send the message "plug dummy" or substitute the word ‘dummy’ with any non-existent vst on your system. there will be an inconsequential error message in the max window saying it couldn’t find the vst but the object will be freed of any previously loaded vsts.

not ideal, but works fine til some other solution comes along :)


May 3, 2014 | 3:33 am

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


May 7, 2014 | 9:44 am

[plug none] is what I do as well. Works fine.


May 7, 2014 | 10:25 am

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


Viewing 5 posts - 1 through 5 (of 5 total)