[PD] return a list of externals

Claude Heiland-Allen claudiusmaximus at goto10.org
Sat Sep 11 01:37:34 CEST 2010


On 10/09/10 18:55, Kim Cascone wrote:
> is there a way to get a list of all the externals used in a patch?

Yes, probably in several ways.  One I used is to patch Pd to print out 
the list of all classes registered when they get registered (and the 
library names when they are loaded), so the first lot are internal, and 
the rest external.  Using this you can get some plain lists of objects 
from different libraries.

Then you can use some shell scripts (and the lists you generated from 
the patched Pd) to filter out all the internal objects from the patch 
files, and get a list of all the externals used.  For example code:

https://code.goto10.org/svn/maximus/2008/pdpatchinfo/

(may have slightly bitrotted, and probably the object lists are out of 
date by now).

> other than by hand of course...
> I see nothing in pd --help


Claude
-- 
http://claudiusmaximus.goto10.org



More information about the Pd-list mailing list