pix pix@test.at wrote:
In a sub-atch, or an abstraction, the string $0 expands to a unique value for that sub patch. So within a sub-patch "s $0-foo"will appear on "r $0-foo" and "s $0-bar" will appear on "r $0-bar".
if you need to have a group of subpatches that share send/receives, then you should hand in a identifier for the group as a parameter (eg "pd mysubpatch group1". lets say you hand it in as the first parameter, subpatch a could write to "s $1-foo" and subpatch b could read from "r $1-foo" etc (in this example $1-foo gets translated to group1-foo and is used as the rend/receive name).
In addition to these, Guenter Geiger's ggee (Guenter Geiger's Excellent Externals? download here ftp://xdv.org/pub/gige/ggext) have sendlocal(sl) and receivelocal (rl) objects, those send and receive their message locally (per canvas).
I hope these objects also help you.
Uta.
How do I get names for send and receive that have scope?
I keep looking at template, but I can't figure out how it works.
I was hoping someone could clue me before I start digging in the source.
(jfm3)