From 7d48cee76a231c32c67130c28ce65fabaae9f451 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 21 Mar 2004 05:41:45 +0000 Subject: embellished the docs a bit svn path=/trunk/; revision=1462 --- doc/additional/pd-msg/3.pdscript/README | 21 +++++++++++++-------- doc/additional/pd-msg/3.pdscript/test.sh | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/doc/additional/pd-msg/3.pdscript/README b/doc/additional/pd-msg/3.pdscript/README index dbfc7054..f5831b48 100755 --- a/doc/additional/pd-msg/3.pdscript/README +++ b/doc/additional/pd-msg/3.pdscript/README @@ -1,16 +1,21 @@ -This is a short example how to "script" a pd patch -with pd commands. +This is a short example how to "script" a Pd patch with pd commands. +You will need to have 'pdsend' installed, which is a command line +tool for sending messages to Pd. There is one included in this +directory which might work for you. -First start pd -# pd lisp.pd +First start Pd with the patch "lispg.pd". It has a [netreceive 3005] +object in it which allows the patch to receive messages on port 3005. -Then either start the automated shell script -# ./test.sh +# pd -open lisp.pd -or pipe the pd commands to pdsend directly: +Then either start the automated shell script: + +# sh ./test.sh + +or pipe the Pd commands to 'pdsend' directly: # pdsend 3005 < test.txt -Read through text.txt for further explanations +Read through test.txt for further explanations. Guenter diff --git a/doc/additional/pd-msg/3.pdscript/test.sh b/doc/additional/pd-msg/3.pdscript/test.sh index 107d3ec0..27b4b5e5 100755 --- a/doc/additional/pd-msg/3.pdscript/test.sh +++ b/doc/additional/pd-msg/3.pdscript/test.sh @@ -5,7 +5,7 @@ PORT=3005 function setfreq() { -./pdsend $PORT <