creating a list of all available vst plugins


    Feb 22 2006 | 5:17 am
    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

    • Feb 22 2006 | 5:32 am
      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
    • Feb 22 2006 | 6:21 am
      sorry typo....i'm NOT exactly sure what you are trying to do.....
    • Feb 22 2006 | 10:11 am
      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...
    • Feb 22 2006 | 1:27 pm
      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
      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/");
      }
    • Feb 22 2006 | 1:53 pm
      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
    • Feb 23 2006 | 5:45 am
    • Feb 23 2006 | 11:05 pm
      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:
    • Feb 24 2006 | 5:27 am
      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
    • Feb 24 2006 | 11:06 pm
      ? One of my best pluggo plugin contains 3 of them since a few months...
      f.e