aboutsummaryrefslogtreecommitdiff
path: root/doc/additional/pd-msg
diff options
context:
space:
mode:
Diffstat (limited to 'doc/additional/pd-msg')
-rwxr-xr-xdoc/additional/pd-msg/3.pdscript/README21
-rwxr-xr-xdoc/additional/pd-msg/3.pdscript/test.sh2
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 <<EOF
+pdsend $PORT <<EOF
freq $1 $2;
EOF
}