[PD] Connecting pd and java

Pall Thayer 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:
> Hello,
>    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?
> Thanks,
>    Stefania
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list

Pall Thayer

More information about the Pd-list mailing list