summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@krebs>2011-04-22 11:02:38 +0200
committerroot <root@krebs>2011-04-22 11:02:38 +0200
commitca41d4bf1532e8a7cd0655e53796529b7a144396 (patch)
tree7c482b8d892660e580830afbc43f535c248368d8
parent54939df512e5b9c3d4831b2eca15277f2a6f48c9 (diff)
cron/bin/zeit: initial commit
-rwxr-xr-xcron/bin/zeit14
1 files changed, 14 insertions, 0 deletions
diff --git a/cron/bin/zeit b/cron/bin/zeit
new file mode 100755
index 00000000..d863ed7a
--- /dev/null
+++ b/cron/bin/zeit
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+expect >/dev/null <<EOF
+spawn nc localhost telnet
+expect READY.
+send "/zeit\r"
+expect READY.
+# pitch set to 10
+expect READY.
+# Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
+expect READY.
+# pitch changed from 10 to 100
+expect READY.
+EOF