yo how can i redirect the output of an atom to a unix fifo? tried [shell] but it went mad. saying "old process still running" sending a [mkfifo mypipe( to [shell] doesnt seem to work any ideas? gràcies r
hi
i'm a linux-newbie, so it could be that i'm telling you something absolutely not related to your question, but i'll give myself a try: i once controlled mplayer by pd through a pipe. what i did: mknod mypipe p then i wrote into mypipe from pd with [textfile]. i hope i could help you.
roman
On Mon, 5 Sep 2005 19:14:27 +0200 roc principio@ilimit.es wrote:
yo how can i redirect the output of an atom to a unix fifo? tried [shell] but it went mad. saying "old process still running" sending a [mkfifo mypipe( to [shell] doesnt seem to work any ideas? gràcies r _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
good one, roman.
i just tried it very roughly, and the only problem i encounter is
when i try to write into the [textfile]
i need to write the output from one of the outlets of fiddle~ into
the txt file,
so far i only managed to *freeze* pd. which of course means i'm in
the wrong direction...
here it is:
thankee r
hey roc
i think you are not. i experienced the same, when starting your patch. but, at least on my computer, pd only freezes, when mypipe pipes to nothing. i tried: cat mypipe then, after writing [textfile] to pipe i had to re-'cat mypipe' again before the next write and so on. it seems, that when the other side of pipe goes to somewhere, pd won't freeze.
roman
On Mon, 5 Sep 2005 22:02:56 +0200 roc principio@ilimit.es wrote:
good one, roman. i just tried it very roughly, and the only problem i encounter is
when i try to write into the [textfile] i need to write the output from one of the outlets of fiddle~ into
the txt file, so far i only managed to *freeze* pd. which of course means i'm in
the wrong direction... here it is:
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
Hallo, roc hat gesagt: // roc wrote:
i just tried it very roughly, and the only problem i encounter is
when i try to write into the [textfile] i need to write the output from one of the outlets of fiddle~ into
the txt file, so far i only managed to *freeze* pd. which of course means i'm in
the wrong direction...
You could also use [netsend] and then do the pipe-writing with shell utils like pdreceive, netcat or a simple Python/Perl/Ruby/whatever script reading from the net socket opened by pd. I guess, pdreceive would be the first thing to try:
$ mkfifo fifoddle $ pdreceive 9999 tcp > fifoddle
Frank Barknecht _ ______footils.org_ __goto10.org__
how can i redirect the output of an atom to a unix fifo? tried [shell] but it went mad. saying "old process still running" sending a [mkfifo mypipe( to [shell] doesnt seem to work any ideas? gràcies
my first idea would be to use py/pyext ...
t