aboutsummaryrefslogtreecommitdiff
path: root/doc/additional/pd-msg/3.pdscript/test.sh
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2002-11-13 08:53:08 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2002-11-13 08:53:08 +0000
commit59b6ed633cd63ec112f4367365ac14479a8e4120 (patch)
tree93246a8e380042152689005b2e50a542b03c5bd9 /doc/additional/pd-msg/3.pdscript/test.sh
parent02a5595973b61d2cf789b9074167ed73b928d157 (diff)
This commit was generated by cvs2svn to compensate for changes in r208,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=209
Diffstat (limited to 'doc/additional/pd-msg/3.pdscript/test.sh')
-rwxr-xr-xdoc/additional/pd-msg/3.pdscript/test.sh38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/additional/pd-msg/3.pdscript/test.sh b/doc/additional/pd-msg/3.pdscript/test.sh
new file mode 100755
index 00000000..107d3ec0
--- /dev/null
+++ b/doc/additional/pd-msg/3.pdscript/test.sh
@@ -0,0 +1,38 @@
+#!/bin/sh
+
+PORT=3005
+
+
+function setfreq()
+{
+./pdsend $PORT <<EOF
+freq $1 $2;
+EOF
+}
+
+#
+# Read in the script
+#
+./pdsend $PORT < test.txt
+
+sleep 3
+setfreq 220 5000
+sleep 5
+setfreq 1000 100
+sleep 1
+setfreq 100 50
+sleep 1
+setfreq 3000 1000
+sleep 1
+setfreq 100 1000
+sleep 1
+setfreq 3000 1000
+sleep 1
+setfreq 100 1000
+sleep 1
+setfreq 3000 1000
+sleep 1
+setfreq 100 1000
+# and so on
+
+