-
oromoiluig
is there a way to send a message from an abstraction to the parent patch? I'd need this to let the abstractino create a subpatch in the parent patch
-
oromoiluig
is there any particular reason why you don't use a bandlimited impulse?
-
oromoiluig
Thanks, I had already got to this point. But as you can see, you actually use the name of the parent patch - which is called pd-parent.pd - , and thus if you call [abstraction] from a patch that is not called parent.pd , this wouldn't work . Furthermore, shoud you have more than one patch called parent.pd , this would create subpatch in each of them, which I don't want.
I'm looking for something that just identifies the parent patch, whatever it may be -
oromoiluig
I'd use something like
|obj 0 0 pd my_subpatch(
|to create the subpatch.
What I want to do is the abstraction to create a subpatch in the parent patch, but without passing any argument to the abstraction, and without even the need for the parent patch to have a name.
is this possible? -
oromoiluig
I'd prefer not.
anyhow, what is the syntax to do that?