summaryrefslogtreecommitdiffstats
path: root/modules/noise/cron
diff options
context:
space:
mode:
Diffstat (limited to 'modules/noise/cron')
-rwxr-xr-xmodules/noise/cron/bin/zeit18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/noise/cron/bin/zeit b/modules/noise/cron/bin/zeit
new file mode 100755
index 00000000..7282c409
--- /dev/null
+++ b/modules/noise/cron/bin/zeit
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+beep -l 1000 -f 4000
+sleep 1
+/krebs/modules/morse/morse.sh -l 100 -f 700 `date +%k`
+sleep 1
+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