Getting VST plug in name when loading?

mkap7's icon

Hi folks,

I'm working on a patcher that uses gamepads to control VST synths. Thanks to helpful hints from several of you, it is doing almost everything I want it to do - loads two different VST synths, and populates umenus with patch names and parameters. But there is one simple thing that I still need to add: when the user loads a new VST plugin, is there a way to get the name of the plug in? I see messages to open, and to get program and parameter names, and to read and write programs....but nothing for retrieving the name of the plug.

I assume that there is a way to do this - maybe it appears at the head of a longer string in response to some other query, for example. Anyone have any ideas?

Thanks (again),

-mk

Source Audio's icon

User can not load the plugin without passing it's name or path to vst object.

Insert your "spy" there and you have the name.

That would do if you use opendialog with set plug type.

or you can try 11vstwindow external

mkap7's icon

Hello again - hmmmm.......not sure if I'm understanding you (yet). When I load the plug, it is with a message that just says "plug" going to the vst object. This does open a dialog, where you navigate to the VST folder and choose a plug. So the user of course knows what plug is being loaded. But how would I "insert a spy" here to grab the name to display it in the patcher?

Thanks,

-mk

Source Audio's icon

option 1:

option 2:

use vst scan, and let users only pick from umenu's

option 3: use 11vstwindow external

mkap7's icon

OK, going to need some time to assimilate these. Thanks again!

-mk