Forums > MaxMSP

"local" send/receive

February 21, 2007 | 5:02 pm

is there any way to have send objects that only send to items within the current patcher and/or its subpatchers?


February 21, 2007 | 7:04 pm

pvar ? or use #1_send_to_some_destination where #1 is a unique
argument you provide to your subpatcher, or, if you are lazy, use
#0_send_to_some_unique_dest where #0 is autmagically unique for your
sub patcher.

On Feb 21, 2007, at 12:02 PM, thezer0ist wrote:

>
> is there any way to have send objects that only send to items
> within the current patcher and/or its subpatchers?

v a d e //

http://www.vade.info
abstrakt.vade.info


February 21, 2007 | 7:13 pm

yeah.. pvar doesn’t really work exactly like i want, since it’s analagous to value instead of send.
i’ll try the #0 thing (thanks, by the way.. i didn’t know about that). it’d be nice to be able to keep the names clean, but not really necessary. still, i may end up writing externals to do this eventually, but it’d be nice if someone has already done it..


February 21, 2007 | 7:30 pm


February 21, 2007 | 7:37 pm

yeah, i’ll probably end up using that. thanks.


February 21, 2007 | 7:38 pm

if you download v001 there is a very simple set of abstractions I
made that use a slightly cleaner ‘namespace’, so you can have
subpatcher.movie1 and subpatcher.movie2 or whatever you want as send/
receive targets. Feel free to hack the shit out of them :)

On Feb 21, 2007, at 2:13 PM, thezer0ist wrote:

>
> yeah.. pvar doesn’t really work exactly like i want, since it’s
> analagous to value instead of send.
> i’ll try the #0 thing (thanks, by the way.. i didn’t know about
> that). it’d be nice to be able to keep the names clean, but not
> really necessary. still, i may end up writing externals to do this
> eventually, but it’d be nice if someone has already done it..

v a d e //

http://www.vade.info
abstrakt.vade.info


February 21, 2007 | 7:55 pm


February 21, 2007 | 8:41 pm

Here is my ForwardMessage. I use #1 to create local names within instances
of an object. This way the send/receives are local but not private.

On 2/21/07 12:02 PM, "thezer0ist"

wrote:

>
> is there any way to have send objects that only send to items within the
> current patcher and/or its subpatchers?

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


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