Greetings
I am interested how I can pass PD data to and from other applications. In particular I want to exchange messages to Rebol and send PD commands over internet. http://www.rebol.com
This could be done by calling rebol directly via shell or via TCP/IP based communications. Rebel can make tniy cliuent-server apps which install and run cross platform easily.
Are there any PD modules which would allow to do this already? For example is there a special send/receiev mode or module whih cwill let me call an pplication sn apass arguments to it? ... stream data to a TCP/IP port etc.
Thanks
Have a look at netsend and netreceive. TCP and UDP ports can be used this way. Have a look in the reference folder in your PD dir.
Cheers
Soeren
Are there any PD modules which would allow to do this already? For example is there a special send/receiev mode or module whih cwill let me call an pplication sn apass arguments to it? ... stream data to a TCP/IP port etc.
I forgot to mention. To get data to into or outside PD using netsend/netrecieve you should compile u_pdreceive.c and u_pdsend.c located in the src dir. Those are stand alone programs which can communicate with PD netsend/recieve.
I have no idea if or how they work though.
Take care Soeren
Have a look at netsend and netreceive. TCP and UDP ports can be used this way. Have a look in the reference folder in your PD dir.
Thanks very much.. I'll let you know if I get it running nicely.
btw, since I am still very new to PD I seem to have better lick usign google than the archives own search. Any tips?
----- Original Message ----- From: "Søren Bovbjerg" bovbjerg@musik.auc.dk To: "Jason Cunliffe" jasonic@nomadics.org; pd-list@iem.kug.ac.at Sent: Sunday, September 30, 2001 4:37 AM Subject: Re: [PD] How to pass data between PD and other applications?
I forgot to mention. To get data to into or outside PD using netsend/netrecieve you should compile u_pdreceive.c and u_pdsend.c located in the src dir. Those are stand alone programs which can communicate with PD netsend/recieve.
I have no idea if or how they work though.
Take care Soeren
Have a look at netsend and netreceive. TCP and UDP ports can be used this
way. Have a look in the reference folder in your PD dir.
Hi.
Here 3 basic links to find all kind of informations about PD & related :
http://crca.ucsd.edu/~msp/ = The source http://www.pure-data.org/ = The FAQ & Links http://iem.kug.ac.at/pdwiki/ = The Links and additional doc.
Hope this was what you where asking for. Damien.
Le Dimanche 30 Septembre 2001 16:21, Jason Cunliffe a écrit :
Thanks very much.. I'll let you know if I get it running nicely.
btw, since I am still very new to PD I seem to have better lick usign google than the archives own search. Any tips?
- Jason
----- Original Message ----- From: "Søren Bovbjerg" bovbjerg@musik.auc.dk To: "Jason Cunliffe" jasonic@nomadics.org; pd-list@iem.kug.ac.at Sent: Sunday, September 30, 2001 4:37 AM Subject: Re: [PD] How to pass data between PD and other applications?
I forgot to mention. To get data to into or outside PD using netsend/netrecieve you should compile u_pdreceive.c and u_pdsend.c located in the src dir. Those are stand alone programs which can communicate with PD netsend/recieve.
I have no idea if or how they work though.
Take care Soeren
Have a look at netsend and netreceive. TCP and UDP ports can be used this
way. Have a look in the reference folder in your PD dir.
I have no idea if or how they work though.
netsend/receive works very well. But since those are standalone programs, I extracted the necessary code out of them in order to include it in my c projects.
The FUDI protocol used by netsend/receive is very simple: a list followed by semicolon and a linefeed. It should be easy to support this protocol in any programming language.
Marc
another tool which i sometimes use to write for example simple cgi scripts is "netcat" the tcp/ip swiss army knife ;-)
simply try in your shell:
or something like that ...
use your own ip adress of course and listen then to the port 9000 with netreceive in your pd patch
cheers
erich
On Mon, 1 Oct 2001, Søren Bovbjerg wrote:
u_pdreceive.c and u_pdsend.c located in the src directory should also hold this information.
The FUDI protocol used by netsend/receive is very simple: a list followed by semicolon and a linefeed. It should be easy to support this protocol in any programming language.
rat@telecoma.net wrote:
another tool which i sometimes use to write for example simple cgi scripts is "netcat" the tcp/ip swiss army knife ;-)
simply try in your shell:
echo "foo blah;" | nc 192.168.0.1 9000
or something like that ...
use your own ip adress of course and listen then to the port 9000 with netreceive in your pd patch
When I use TCP, I usualy use telnet command for testing the connection. something like this:
%telnet 127.0.0.1 3001 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. foo 100;
Uta.