[PD] pd console output within pd

Roman Haefeli reduzierer at yahoo.de
Fri Dec 8 20:58:53 CET 2006


hi marius

forget about my solution i posted before. i forgot that netreceive wants
every message terminated with a ';'.

anyway, IOhannes' solution seems to be much better. nevermind.

roman

On Fri, 2006-12-08 at 17:57 +0100, IOhannes m zmoelnig wrote:
> marius schebella wrote:
> > hi,
> > I am thinking of a possibility to get the console output back into pd. I
> > have a remote patch on a client machine that can open video files and I
> > want to send the success or error message to the server through osc.
> > Is it possible to get the console output back into pd?
> > is it possible to grab the console output in any other way?
> > marius.
> 
> 
> a quick hack using FUDI:
> 
> #!/bin/sh
> pd -verbose -stderr 2>&1 | while read line
>   do echo "${line};" | pdsend 6666 localhost udp
> done
> 
> 
> but of course it would be better to get the information you want
> directly instead of parsing the console output.
> e.g. the 2nd outlet of [pix_film] gives you some information of how well
> it succeeded to open a video file.
> 
> 
> mfg.asdr
> IOhannes
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de





More information about the Pd-list mailing list