There's also the pipeio~ object from the ext13 extensions: http://pd.klingt.org/files/ I looked at the source code; the pipewrite~ object actually writes a wav file to a pipe, but the piperead~ object reads data from a pipe without checking if it's a wav stream. So you might be in luck with piperead~.
Or you can use the shell object from the ggee extensions: ftp://xdv.org/pub/gige/ggext/ I think version 0.24 should work. -- Marc
Le jeu 13/03/2003 à 20:44, James Fung a écrit :
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