thanks IOhannes, Frank!
Both your approaches seem to be solving my problem so far.
And mixing the 2 techniques makes possible some interesting operations with abstractions and unique id.
I'm trying to build kind of automated/dynamic patcher to create chains of gop abstractions fast and easy.
I'll keep you updated...
cheers
M
Marco Donnarumma wrote:
>> If you want a loadbang, you can send a message "loadbang" to "pd-mypatch",
>> i.e.:
>>
>> [;
>> pd-mypatch.pd obj 10 10 myobject;
>> pd-mypatch.pd loadbang(
>>
>> Ciao
>> --
>> Frank
>>
>>
>
> Thanks Frank, I was already trying to send a loadbang, but the first
> [instance] has the right id (1), then the following [instance] has id = 3,
> the next 6 and so on. Besides also other instances of [instance] with
> different arguments are affected the same way while sending a loadbang to
> the parent patch.
> You can test this in the example patch I sent yesterday.
> Probably I'm missing something, but I'm struggling to make it work without
> good results.
if you want to send a single bang to a single object the arguments of
which you can control (and know) you can do:
[; pd-mypatch.pd obj 10 10 myobject <myuniqid>;
<myuniqid>_loadbang bang; (
and them make sure you have a [r $1_loadbang] in your [instance]
madfas
IOhannes