[PD] msg to abstractions
claude at goto10.org
Thu May 5 12:56:18 CEST 2011
On 05/05/11 10:31, Jeppi Jeppi wrote:
> Hi again,just another question regarding the pd-msg system. Say I have two parametrized abstractions [boo 1] and [boo 2] loaded in my patch. When I send a message to them to dynamically create some objects inside, I send it as [obj 20 30 metro 100(--->[s pd-boo.pd] which, of course, goes to both instances.
> Would it be a way to send the message only to a single instance, maybe taking into account the creation parameters?
> Adding prefix to the abstraction names is not elegant, as that would require previously creating n abstractions, named [1_boo] , [2_boo] and so on...clumsy
I would probably workaround this stuff by doing something like this:
[inlet] <-- or a global [receive BOO]
| [clear( <-- click this before saving too
<-- the $0 is local to each abstraction
Then [list prepend 1] etc each message before sending it to all the
[inlet] or [send BOO] or whatever.
More information about the Pd-list