[PD] Args for a patch

Andrew Faraday jbturgid at hotmail.com
Thu Jul 22 00:23:12 CEST 2010


Basically yes, sort of. matju's got it on the money. If you use $1, $2 etc. to mark the position of your arguments within a patch, save it, then save an empty patch in the same location (or else put the location of your first patch in your paths) then you can make an object with the name of your patch, which operates as an abstraction, essentially an object containing your patch. Which will take a list of arguments, the first of which will effectively replace $1 within it, the second, $2 and so on. 
So, yes, but you have to open the patch from within PD. 
Hope that's helpful for you. 

> Date: Wed, 21 Jul 2010 18:11:16 -0400
> From: matju at artengine.ca
> To: jancsika at yahoo.com
> CC: pd-list at iem.at
> Subject: Re: [PD] Args for a patch
> 
> On Wed, 21 Jul 2010, Jonathan Wilkes wrote:
> 
> > Hi list,
> >     Is it possible to specify arguments for a pd-file when you open it?
> 
> no.
> 
> or: just if you instantiate it as an abstraction.
> 
>   _ _ __ ___ _____ ________ _____________ _____________________ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
 		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100721/43d54d97/attachment.htm>


More information about the Pd-list mailing list