[PD] Connecting pd and java
mpuckett at man104-1.ucsd.edu
Mon Dec 8 18:18:23 CET 2003
Probably the best way to do this would be to use "netsend" within
Pd and make teh java code open a port and receive the (text) Pd messages.
Somewhat easier (and certainly the first step to try) would be to "netsend"
to the "pdreceive" program (in pd/bin) which you can then pipe to Java.
The Pdreceive code should be easy enough to incorporate into the Java
program itself if your development environment allows loading C libs into
On Mon, Dec 08, 2003 at 08:01:19AM -0800, Stefania Serafin wrote:
> we are trying to save the output of fiddle to a file so it can be read
> by a java program in real-time.
> We are using a dos prompt and write the pd output to a file using a pipe,
> then getting this output as text input to java.
> Unfortunately the way it is done now pd does not update the file fast
> enough. There is some sort of buffering that prevents real-time. Do you
> know how this problem can be fixed?
> PD-list mailing list
> PD-list at iem.at
More information about the Pd-list