[PD] Connecting pd and java
palli at pallit.lhi.is
Mon Dec 8 17:15:28 CET 2003
Here's how I would do it:
I would make a perl based server with a socket that accepts data and sends it
back out. Put a netsend in your PD patch and connect to the perl server.
Connect fiddles output to the netsend. Create a socket in your java program
that connects to the perl server. That's it. Everything will be in real-time,
no files to write to.
On Monday 08 December 2003 16:01, 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