[PD] array size (was Re: arraysize)

Miller Puckette msp at ucsd.edu
Tue Oct 2 23:25:16 CEST 2012


> 
> speaking of "#A": would it add any incompatibility, if the
> array-loading mechanism could be extended to _all_ objects.
> e.g. if an array is saved in-patch, we get something like
> 
> <snip>
> #X array array1 3 float 3;
> #A 0 -0.5 -0.3 -0.1;
> #X array array2 3 float 3;
> #A 0 0.5 0.3 0.1;
> </snip>
> 
> after the 1st line (that creates 'array1'), the receiver "#A" is bound
> to this newly created array. in the 2nd line a message is sent to
> array1 via this receiver.
> in the 3rd line (creating 'array2'), the "#A" is unbound from "array1"
> and bound to "array2".
> 
> it would be great if this could be extended to any object:
> <snip>
> #X obj 100 100 print;
> #A foo bar;
> #X obj 200 200 f;
> </snip>
> would send [foo bar( to [print] before all loadbangs and stuff, even
> before [f] is created.
> 
yep... I just hit this fixing up the new "text" object and have fixed the
source to make this work for any object - search for #A in the newest git.

cheers
M




More information about the Pd-list mailing list