blob: 7282c4097a8b45057fc743468706b962209ba016 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|