[PD] scoping sends and receives

ClaudiusMaximus claudiusmaximus at goto10.org
Fri Sep 9 23:11:22 CEST 2005

shift8 wrote:
> hi all - 
> how hard would it be to code in an option for an additional arg to
> [send] that gives it scope?  for example, [s foo] sends foo globaly.  

Probably quite hard, and not really worth it given you can use $0 as a
local patch prefix.

> [s foo local] would make the send local to it's containg patch, and
> subpatches, but not to the parent patch.  

Try [s $0-foo] for this case.

You can pass $0 to contained abstractions so they can [r $1-foo] where
$1 is the parent's $0 that has been passed in.

> [s foo patch] would make it local only to the containing patch, and not
> subpatches or parent.  this make sense?

Try [s $0-foo] and use abstractions instead of subpatches for this case.

> -shift8


More information about the Pd-list mailing list