Hello, is there an option for opening or closing the graphical interface within the same instance of pd? Something like -nogui but in realtime.
[] | [; pd gui $1( ?
I would like to control pd with a python's tkinter interface, with having the possibility of enabling or not pd's gui, thanks for attention. Patco.
___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Demandez à ceux qui savent sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com
On Tue, 17 Oct 2006, Patco wrote:
is there an option for opening or closing the graphical interface within the same instance of pd? Something like -nogui but in realtime.
You might mean at runtime. Runtime means "without restarting"; realtime means "without clicks/dropouts". Well, maybe that you'd want it realtime, but that'd be a bit too much to ask.
PureData can't possibly detach/attach clients at runtime. DesireData could in the future, as much of the redesign took this feature into account, but it still isn't implemented. When it does, however, you'll also be able to connect multiple clients.
[] | [; pd gui $1( ?
Certainly not. Instead, you'll do something like:
pd-server -port 12345 pd-client -port 12345 pd-client -port 12345 ...
with as many clients as you want, and the ability to add more and remove them at runtime. DesireData has client-side selection/clipboard/undo mostly because it would help with the multiple clients (among other reasons).
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
Mathieu Bouchard a écrit :
you'll do something like:
pd-server -port 12345 pd-client -port 12345 pd-client -port 12345 ...
with as many clients as you want, and the ability to add more and remove them at runtime.
Excellent, so it would be possible to control one pd-server with as many graphical interfaces we want. If the state of a patch on the server has been modified from one client, how the graphical data are updated, on another client? It might be possible to do something like that with using rradical and several instances of pd, one server with -nogui, a main client, and as many clients as I need for different graphical interfaces, all communicating, with OSCx protocol. Thanks for the useful informations, Patco.
DesireData has client-side selection/clipboard/undo mostly because it would help with the multiple clients (among other reasons).
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Demandez à ceux qui savent sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com
On Sat, 21 Oct 2006, Patco wrote:
Mathieu Bouchard a écrit :
with as many clients as you want, and the ability to add more and remove them at runtime.
Excellent, so it would be possible to control one pd-server with as many graphical interfaces we want. If the state of a patch on the server has been modified from one client, how the graphical data are updated, on another client?
Just using more observers. DesireData uses the observer pattern for handling graphical updates. However this does not mean that each client needs to be registered "personally" with every server object that is visible in that client. DesireData has that concept of observer hierarchy so that containers can be representants for all of their contents - a patch represents itself but also all of the objects and wires contained in it.
Therefore a client needs only register directly with toplevel patches that it's going to display. It does so through the [manager] class, for which there is one instance only, but there would be one per client. One [manager] object represents a client. All [manager] objects live outside of any patches at all.
It might be possible to do something like that with using rradical and several instances of pd, one server with -nogui, a main client, and as many clients as I need for different graphical interfaces, all communicating, with OSCx protocol.
DesireData uses the same protocol as PureData, which is a modified [netreceive] that can also send TCL code. Switching to TCP-OSC could be an idea, but I don't see it as being urgent at all.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada