pdsend (was: Re: [PD] how do i interact with pd without gui?)

Mathieu Bouchard matju at sympatico.ca
Thu Apr 1 12:34:27 CEST 2004


On Thu, 1 Apr 2004, Frank Barknecht wrote:

> Tim Blechmann hat gesagt: // Tim Blechmann wrote:
> > > pdsend 4444 "my_msgs hello world;"
> > this is actually not working ... pdsend reads from stdin ...
> > i don't think this is very useful, expecially if you want to do write
> > some shell scripts ...
> Connecting to Pd is a simple socket-connection, for which you even
> could use something like netcat, so I'd see not much use in changing
> pdsend just to make scripting easier. 

I don't understand; is there a problem or some difficulty with the
following command?

  echo my_msgs hello world \; | pdsend 4444

or is there with the following one?

  pdsend 4444 <<EOF
    my_msgs hello world ;
    my_msgs hello world take deux ;
    my_msgs hello world again ;
  EOF

or my favourite:

  (
    echo my_msgs hello world \;
    echo my_msgs hello world take deux \;
    echo my_msgs hello world again \;
  ) | pdsend 4444

________________________________________________________________
Mathieu Bouchard                       http://artengine.ca/matju





More information about the Pd-list mailing list