Alexandre Quessy a écrit :
Hi, A few questions regarding dynamic patching using only Pd messages (or internals) :
- Is it possible to delete and disconnect objects without clearing
the whole canvas ?
yes [find 'objectname', cut( and [findagain, cut( if your patch isn't so complicated, it's possible to use these messages, with a counter for tracking the object to delete. I use it for creating-destroying GOP in a single patch, like in any sound software where you can ,for example, adding or removing an instrument, or an fx...
- Is it ok to create GUI objects with not even half the arguments it
could take ? Pd seems to be likely to crash when we create GUI objects using a message with the atom "empty" in it.
Yes, but the GUI will have the default values
- Is the use of [namecanvas $0] recommended or totally deprecated ?
is namecanvas usefull?
- Where can I find an abstraction or object to convert any familiar
representation of colors to the Tk colors (or whatever is used for GUI objects) ?
in iem gui help files, it's just a patch that is multiplexing the three color numbers RGB into a single negative number
___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com