On Tue, 19 Jul 2005, nico bats wrote:
so how to send the wmpid result in pd (sorry but it's near 6 o'clock in the morning in france.....)
you can use the pdsend command which may be the Bash equivalent of [netsend] and send this info to a [netreceive] in the patch. Alternatively, you could write the $! to a file and load it using [coll] or something similar.
personally, though, I'd write an external for it:
GridFlow::FObject.subclass("pid",1,1) {def _0_bang() send_out 0,$$ end}
and paste it in ~/.gridflow_startup
then, banging such a [pid] object gives me the pid of the current pd server.
it's also easy using Python.
,-o--------o--------o--------o-. ,---. irc.freenode.net #dataflow |
| The Diagram is the Program tm| | ,-o-------------o--------------o-.
-o------------o-------------o-' | | Mathieu Bouchard (Montréal QC) | | téléphone:+1.514.383.3801
---' `-o-- http://artengine.ca/matju -'