Send data from your data source via a socked using FUDI (look into the pure data src directory for *_pdsend.c) and use the [netreceive] object in pure-data. Or use MIDI.
Or load pyext and use files from there in a secondary thread. Or use modules "os" or "popen". (this means few lines of Python)
Or rewrite you program in Python. Or in PD. :)
There are also other ways.
Maurizio Umberto Puxeddu.
On Fri, 2003-03-14 at 02:44, James Fung wrote:
Hi,
I'm wondering if someone would have ideas on how to read data in from stdin, or a /dev/ file or a fifo in pure-data. I've got another program producing data (basically a stream of numbers) and i'd like it to set variables in purdata (e.g. to set the freq. of the osc~). I've tried piperead~ but it seems to want to take .wav data instead.
Is there a way in pure-data to do this?
Thanks for any help - it is appreciated.
-James
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list