"local" send/receive

Feb 21, 2007 at 5:02pm

"local" send/receive

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

#30389
Feb 21, 2007 at 7:04pm

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

#97047
Feb 21, 2007 at 7:13pm

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..

#97048
Feb 21, 2007 at 7:30pm

#97049
Feb 21, 2007 at 7:37pm

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

#97050
Feb 21, 2007 at 7:38pm

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

#97051
Feb 21, 2007 at 7:55pm

#97052
Feb 21, 2007 at 8:41pm

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

#97053

You must be logged in to reply to this topic.