creating a list of all available vst plugins

Feb 22, 2006 at 5:17am

creating a list of all available vst plugins

Hi,

I am trying to create a pluggo plugin that allows one to select a particular VST plugin out of a list and schedule it to be run over the incoming audio streams in quick bursts. But I have been having problems figuring out how to create such a list of all available plugins. The folder object doesn’t seem well suited to this task, because I also want to search through all the subfolders in the VST directory. (And it doesn’t seem to be showing only plugins anyway when given the VST folder as an argument and BNDL as the filter parameter.) Does anyone have a better suggestion as to how one might do this? My best idea at the moment is to write an external that recursively searches through the VST folder and its subfolders. But maybe there is an external out there that does this already?

Thanks,
Greg Kellum

#24547
Feb 22, 2006 at 5:32am

Hi,

I’m exactly sure what you are trying to do, but how about an ubumenu
that is autopopulated with the contents of your vst folder. i use
them in my performance patch to call up various plugins and it seems
well suited for listing all of the plugins i have installed in my vst
folder. just make sure the folder containing the plugins is in your
search path. again, not sure if this is what you mean, but it might
do the trick.

cheers,

corey

#71187
Feb 22, 2006 at 6:21am

sorry typo….i’m NOT exactly sure what you are trying to do…..

#71188
Feb 22, 2006 at 10:11am

Take a look at Jhno’s folderiter object….it can be found thru maxobjects.com or in the userpages…..

make the folderiter iterate thru all subfolders of the VST folder, sort out all aPcs types…strip the path and feed it to a menu…

it’s would be best to use something like regexp instead of the strippath object to remove the path, since it’s a lot faster, as it dosen’t check if each file is in the searchpath…

#71189
Feb 22, 2006 at 1:27pm

hook up this js to an opendialog and ubuenu. Add your vst directory to the searchpaths. Should work on OSX not sure about XP.

oli

http://www.oli.adbe.org

// ol.plugfolder.js
// report back all vst plugins

outlets = 1;
var ftype = “aPcs”;

var os = max.os;
regpattern = new RegExp(“.dll”, “i”);

autowatch = 1;

function infolder(fpath)
{
var f = new Folder(fpath);
f.reset();
while (!f.end)
{
if (f.filetype == “fold”)
{
var foldername;
// if path doesn’t end with a slash add one
if (f.pathname.charAt(f.pathname.length-1) != “/”)
foldername = f.pathname + “/” + f.filename;
else
foldername = f.pathname + f.filename;

infolder(foldername);
}

if(f.filetype == ftype)
{

var plugnamestr = f.filename;

var result = plugnamestr.split(regpattern);
outlet(0,”append”,result);
}
f.next();
}
f.close();
}

function anything()
{
outlet(0,”clear”);
// outlet(0,”append”,”Plugin”);
infolder(messagename);
}

function loadbang()
{
outlet(0,”clear”);
// outlet(0,”append”,”Plugin”);
infolder(“Macintosh HD:/Library/Audio/Plug-Ins/VST/”);
}

#71190
Feb 22, 2006 at 1:53pm

by the way the vst~ object is unsupported in pluggo so I don’t know if you’ll be able to achieve what you want.

oli

#71191
Feb 23, 2006 at 5:45am

#71192
Feb 23, 2006 at 11:05pm

I’m a bit late to this discussion – and i may have missed something but why not just use ubumenu with it’s depth and auto populate functions it’s perfect no?

this is a simple example:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 564 176 33 196617 clear;
#P comment 205 294 63 196617 path of vst:;
#P window linecount 0;
#P message 271 293 359 196617;
#P window linecount 1;
#P newex 271 259 62 196617 prepend set;
#P comment 401 250 93 196617 number vst’s found;
#P newex 178 168 74 196617 prepend prefix;
#P number 364 248 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 364 228 72 196617 route populate;
#P message 178 122 194 196617 iBookHD:/Library/Audio/Plug-Ins/VST/;
#P message 533 121 88 196617 types BNDL aPcs;
#P button 178 43 15 0;
#P user ubumenu 178 203 197 196617 0 1 1 0;
#X types BNDL aPcs;
#X prefix_set 0 1 iBookHD:/Library/Audio/Plug-Ins/VST/ 6;
#P comment 375 123 147 196617 < your vst folder filepath here;
#P fasten 12 0 1 0 569 198 183 198;
#P connect 2 0 4 0;
#P fasten 2 0 3 0 183 112 538 112;
#P connect 9 0 10 0;
#P connect 1 1 9 0;
#P connect 4 0 7 0;
#P connect 7 0 1 0;
#P connect 1 2 5 0;
#P connect 5 0 6 0;
#P fasten 3 0 1 0 538 193 183 193;
#P window clipboard copycount 13;

#71193
Feb 24, 2006 at 5:27am

Hi,

Yeah, that works even better than the other methods. The ubumenu alphabetizes the list and heirarchizes (sp?) it. Thanks for the tip! I always used the other drop down list object. So, I had no idea that ubumenu could do that.

greg

#71194
Feb 24, 2006 at 11:06pm

? One of my best pluggo plugin contains 3 of them since a few months…

f.e

#71195
Feb 26, 2006 at 5:57pm

#71196

You must be logged in to reply to this topic.