Forums > MaxMSP

patcher send / receive

Feb 09 2006 | 11:26 am

hey guys

is there a set of send / receive objects that communicate only inside a patcher (kind of like pv does)…. this would be pretty useful inside poly~ objects.

or am i stupid and the whole pattr deal solve this?


Feb 09 2006 | 11:36 am

You can use #0- in the beginning of names, to generate an unique nr when an
instance of a patch is created. If you use this for your send/receives
inside poly, every instance/voice has it’s unique id.


Feb 09 2006 | 11:43 am

thanks a lot, that did it


Feb 09 2006 | 11:50 am

On 9 Feb 2006, at 11:26, Federico wrote:

> is there a set of send / receive objects that communicate only
> inside a patcher

This is something of a FAQ. There’s a semi-hack to use generated
local symbols with "#0" as a prefix; this will be expanded into a
unique symbol for the patcher (and any immediate sub-patchers
embedded using [p xxx]. So you can use [send #0_postfix] and [receive
#0_postfix] and they’ll be patcher-local.

— N.

nick rothwell — composition, systems, performance — http://

Feb 09 2006 | 11:52 am

And there is a very well-documented example of the #0- technique in the
Vocoder example patch. Worth reading. As are the other examples and

Also, you can adapt the technique to use an explicit #digit argument if
you want to allow several instantiations of an abstraction to share
data, but have another group of instantations sharing a different group
of data, and so on.

— P.

————– ————–
Peter Castine | ^
| Litter Power & Litter Bundle for Jitter | | iCE: Sequencing, Recording, and Interface Building | for Max/MSP
| Extremely cool

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP