[PD] external returning its own path
msp at ucsd.edu
Tue Sep 11 20:21:26 CEST 2012
If you know the filename, you can call open_via_path which returns
the directory the file was eventually found in -- then you can close the
file but keep the directory name for later use.
On Tue, Sep 11, 2012 at 12:56:47PM -0400, Joel Matthys wrote:
> Hi all. I'm working on a Pd external which encapsulates the audio
> language RTcmix, based on Brad Garton's [rtcmix~] Max object. The
> language and its audio functions are in a dylib in the external's
> My problem is that the external needs to know its own path in order
> to correctly find and reference the dylib. Max has nameinpath() and
> path_topathname() which help with this. Pd's open_via_path() won't
> work here because the path is the unknown.
> Does anyone have a suggestion about how to access the external's
> path dynamically?
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list