Hello,
I'm working for a project called virtual instrument of music. For the application we use the programmes Virtools and pd and a third one for the communication between them.
The system works well, but for several reasons it might be good to establish a direct connection between Virtools and pd.
For it is not possible with [netreceive] I searched for other possibilities and found [netserver] and [netclient] from maxlib. I'm a beginner on pd, and I have great difficulties in compiling the source code from maxlib, so here is my question if anyone has useful tips concerning the makfile? I know that I have to change it but it's the first time so I don't really know what to do ... Or even better has anyone the already working *.dll?
Has anyone tried to solve a similar problem of connecting two programmes? In Virtools there is a so called building block that allows to send web messages via the post method - to send a new message the connection has to be closed, but the problem was that [netreceive] couldn't do this.
(By the way I'm using windows XP, pd version is 0.39-0, for compiling I have the cygwin compiler.)
Thanks for any help, best regards, Christina Leitner
Die MSN Homepage liefert Ihnen alle Infos zu Ihren Lieblingsthemen. http://at.msn.com/
hi
"Christina Leitner" chr.leitner@hotmail.com wrote:
Has anyone tried to solve a similar problem of connecting two programmes? In Virtools there is a so called building block that allows to send web messages via the post method - to send a new message the connection has to be closed, but the problem was that [netreceive] couldn't do this.
[netclient] and [netserver] works quite similar to [netsend] and [netreceive], besides that a [netclient]-[netserver] connection works in both directions. but here also: you cannot close a connection from [netserver]. might be, it does not work for you. problem 2: afaik, they also terminate a message with ';', not with '\n'. it could become difficult to create messages in http-syntax with them.
i have binaries for all platforms. i'll send you the .dll directly, so you can test yourself.
roman
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Pd-extended has all of the maxlib binaries in it, included
[netserver]/[netclient].
[netsend]/[netreceive] and [netserver]/[netclient] both just send Pd
messages over network sockets. But the Pd message format is very
easy, so if Virtools can open a network socket and generate and parse
simple text, then it can communicate directly with Pd. The message
format "any text ;\n", i.e. any kind of ASCII text that is terminated
by a semi-colon and a carriage return. People have successfully used
this method to exchange data with Java, PHP, Flash, etc.
OSC is another option, if Virtools can do OSC. Those objects are
also included in Pd-extended: [sendOSC], [dumpOSC], and [OSCroute].
.hc
On Mar 27, 2006, at 9:53 AM, Christina Leitner wrote:
Hello,
I'm working for a project called virtual instrument of music. For the application we use the programmes Virtools and pd and a
third one for the communication between them.The system works well, but for several reasons it might be good to
establish a direct connection between Virtools and pd.For it is not possible with [netreceive] I searched for other
possibilities and found [netserver] and [netclient] from maxlib. I'm a beginner on pd, and I have great difficulties in compiling
the source code from maxlib, so here is my question if anyone has
useful tips concerning the makfile? I know that I have to change it
but it's the first time so I don't really know what to do ... Or even better has anyone the already working *.dll?Has anyone tried to solve a similar problem of connecting two
programmes? In Virtools there is a so called building block that allows to send
web messages via the post method - to send a new message the
connection has to be closed, but the problem was that [netreceive]
couldn't do this.(By the way I'm using windows XP, pd version is 0.39-0, for
compiling I have the cygwin compiler.)Thanks for any help, best regards, Christina Leitner
Die MSN Homepage liefert Ihnen alle Infos zu Ihren Lieblingsthemen.
http://at.msn.com/
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
¡El pueblo unido jamás será vencido!