summaryrefslogtreecommitdiffstats
path: root/god
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-09-27 01:19:39 +0200
committerlassulus <lassulus@googlemail.com>2013-09-27 01:19:39 +0200
commit0467a9767dfe917e79183dcdae5b9dfdadd1442a (patch)
tree05500e73fb1fcc443c04cffdd7fc410b9f53e1fb /god
parent7d6249f234a59dc26bf0947b3f0a73651b7bdfe6 (diff)
parentd23bb310a7306950b45400816134010a9a7a9ed3 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'god')
-rw-r--r--god/ivan/announce.wavbin0 -> 691244 bytes
-rwxr-xr-xgod/ivan/ivan5
-rw-r--r--god/ivan/satz-liste1
3 files changed, 6 insertions, 0 deletions
diff --git a/god/ivan/announce.wav b/god/ivan/announce.wav
new file mode 100644
index 00000000..54ec73cf
--- /dev/null
+++ b/god/ivan/announce.wav
Binary files differ
diff --git a/god/ivan/ivan b/god/ivan/ivan
index c35cccf7..f8cbcb8b 100755
--- a/god/ivan/ivan
+++ b/god/ivan/ivan
@@ -8,6 +8,8 @@ k="${noise_capital-0}"
a="${noise_amplitude-600}"
g="${noise_gap-1}"
RND_DELAY=3600
+CACHE_DIR=/opt/ivan-cache
+export CACHE_DIR
#set -x
function helpme ()
{
@@ -26,9 +28,12 @@ EOF
while true
do
+ aplay announce.wav
if [ -n "${USING_ESPEAK:-}" ];then
espeak -v $v -p $p -k $k -a $a -g $g "`shuf \"$SATZ_LISTE\" | tail -1`"
else
+ ./naturalvoices_cached.sh "Achtung, Achtung, es erfolgt eine Durchsage!"
+ sleep 0.3
./naturalvoices_cached.sh "`shuf \"$SATZ_LISTE\" | tail -1`"
fi
[ ! "${1:-}" = "-d" ] && exit 0 # break if not daemonized
diff --git a/god/ivan/satz-liste b/god/ivan/satz-liste
index 048943ee..880bba45 100644
--- a/god/ivan/satz-liste
+++ b/god/ivan/satz-liste
@@ -37,3 +37,4 @@ mache dich mit den standorten der feuerlöscher vertraut
Steuerung Alt Entfernen
Leute die Nubsies von Netzwerk kabeln abbrechen, werden geschlagen
Setz dich, nimm dir nen Keks, machs dir Schön bequem
+warum liegt denn hier stroh rum