hi list, is it possible to create connections between abstractions dynamically?
i want to create abstractions dynamically and i would like that my new abstractions appears connected with a subpatch.. how can i do this?
thanx
yukio kuroiwa yukio_kuroiwa@fastmail.fm
You need to know the object and inlet/outlet numbers of the two objects
you want to connect. Check out the pd-msg documentation, it covers
this topic with simple examples. Its included in the Pd-extended
distro in the Help menu, under Help->manuals->pd-msg.
.hc
On Dec 24, 2005, at 8:24 AM, yukio kuroiwa wrote:
hi list, is it possible to create connections between abstractions dynamically?
i want to create abstractions dynamically and i would like that my new abstractions appears connected with a subpatch.. how can i do this?
thanx
yukoi -- yukio kuroiwa yukio_kuroiwa@fastmail.fm
-- http://www.fastmail.fm - The professional email service
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
"Computer science is no more related to the computer than astronomy is
related to the telescope."
-Edsger
Dykstra
On Sat, 24 Dec 2005 08:24:00 -0800 "yukio kuroiwa" yukio_kuroiwa@fastmail.fm wrote:
hi list, is it possible to create connections between abstractions dynamically?
check dyn~: http://grrrr.org/ext/
tim
Hallo, yukio kuroiwa hat gesagt: // yukio kuroiwa wrote:
hi list, is it possible to create connections between abstractions dynamically?
i want to create abstractions dynamically and i would like that my new abstractions appears connected with a subpatch.. how can i do this?
There are basically two ways to do this with plain Pd. One is to really create connections using internal messages. The message for connections is "connect", see attached example from the pd-msg patches, that you can find in the pd-CVS.
Another approach is to not use connections at all, but instead do everything through sends and receives inside of your abstractions, that get named through the abstraction's arguments. I used this approach inside the control-surface that I posted yesterday.
The third approach would be the dyn~ external, which is useful if you want to create more complex patches automatically.
Frank Barknecht _ ______footils.org_ __goto10.org__