hi all,
just an idea: This would be a feature I would like: Turn all abstractions used in a patch into subpatches, replacing the "$1's" in objects inside by the actual assigned numbers or arguments. That way you could more esily distribute a patch as one file.
Tim
On Thu, 15 Oct 2009, info@timvets.net wrote:
just an idea: This would be a feature I would like: Turn all abstractions used in a patch into subpatches, replacing the "$1's" in objects inside by the actual assigned numbers or arguments. That way you could more esily distribute a patch as one file.
It doesn't work with objects that use t_canvasenvironment, such as GridFlow's [args], but also, [canvasargs] and other similar things... whenever an abstraction looks up its own dir or search path.
the exact quote, from the g_canvas.c definition:
struct _canvasenvironment { t_symbol *ce_dir; /* directory patch lives in */ int ce_argc; /* number of "$" arguments */ t_atom *ce_argv; /* array of "$" arguments */ int ce_dollarzero; /* value of "$0" */ t_namelist *ce_path; /* search path */ };
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
--- On Thu, 10/15/09, info@timvets.net info@timvets.net wrote:
From: info@timvets.net info@timvets.net Subject: [PD] turn abstractions into subpatches To: pd-list@iem.at Date: Thursday, October 15, 2009, 4:52 PM hi all,
just an idea: This would be a feature I would like: Turn all abstractions used in a patch into subpatches, replacing the "$1's" in objects inside by the actual assigned numbers or arguments. That way you could more esily distribute a patch as one file.
Tim
I think it would be much more useful to have the [pdddefine] functionality that Luke Iannini proposed back in 2006. (Just search the list for pddefine to see his proposal.) One of the reasons I like this idea is because one could immediately use "one-off" abstractions in a new patch without having to save anything.
The "bundle" file type discussed in the same thread would also be very useful.
-Jonathan