[PD] Fwd: absolute vs relative filepath on oggread~
Jonathan Wilkes
jancsika at yahoo.com
Fri Feb 8 23:32:28 CET 2013
----- Original Message -----
> From: Ivica Ico Bukvic <ico at vt.edu>
> To: 'Hans-Christoph Steiner' <hans at at.or.at>; pd-list at iem.at
> Cc:
> Sent: Friday, February 8, 2013 4:18 PM
> Subject: Re: [PD] Fwd: absolute vs relative filepath on oggread~
>
> But it doesn't give you the name of the patch itself (which could be useful
> for auto-naming files associated with the patch, e.g. soundfiles). L2ORk's
> patch_name does everything getdir does (optional argument traverses
> structure upwards to provide you with info of patches/abstractions above it)
> plus gives you the patch name.
So does canvasinfo:
http://article.gmane.org/gmane.comp.multimedia.puredata.devel/11601/match=classinfo
with a bang method that prints all the canvas attributes to the console for quick reference.
Way easier for the user since each attribute is a method within a single object,
with a standard interface (and if more attributes are needed it's trivial to add them without
breaking anything). Also easier to develop, as adding another attribute is as simple as
adding a method (as opposed to copy/pasting yet another external class, which is the
equivalent of copy/pasting subpatches instead of learning to use abstractions in Pd).
-Jonathan
More information about the Pd-list
mailing list