summaryrefslogtreecommitdiffstats
path: root/noise
diff options
context:
space:
mode:
authorkrebs <krebs@fuerkrebs>2011-09-09 20:06:13 -0400
committerkrebs <krebs@fuerkrebs>2011-09-09 20:08:19 -0400
commite71fd36593eebd402dd2aa2425473827dda1c9f2 (patch)
tree61c3b6f34ad73fa345351eda8871b5955055665b /noise
parent9e81bd677a1efa4533ff4eee84610518f6d5ff4b (diff)
//noise /overlord: little fixture
Diffstat (limited to 'noise')
-rwxr-xr-xnoise/modules/overlord33
1 files changed, 21 insertions, 12 deletions
diff --git a/noise/modules/overlord b/noise/modules/overlord
index 6df2451d..6edb0fd8 100755
--- a/noise/modules/overlord
+++ b/noise/modules/overlord
@@ -2,22 +2,31 @@
set -euf
announce() {
-sleep 0.4; amixer -q -c 0 -D hw:0 sset Front 90%
-sleep 0.4; amixer -q -c 0 -D hw:0 sset Front 80%
-sleep 0.4; amixer -q -c 0 -D hw:0 sset Front 70%
-sleep 0.4; amixer -q -c 0 -D hw:0 sset Front 60%
-sleep 0.4; amixer -q -c 0 -D hw:0 sset Front 50%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 90%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 80%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 70%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 60%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 50%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 40%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 30%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 20%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 10%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 0%
/krebs/streams/streams stop
amixer -q -c 0 -D hw:0 sset Front 100%
mplayer /krebs/god/overlord/announce.mp3
-/krebs/streams/streams start &
espeak -v de -s 120 -a 900 "$*"
-amixer -q -c 0 -D hw:0 sset Front 40%
-sleep 0.4; amixer -q -c 0 -D hw:0 sset Front 50%
-sleep 0.4; amixer -q -c 0 -D hw:0 sset Front 60%
-sleep 0.4; amixer -q -c 0 -D hw:0 sset Front 70%
-sleep 0.4; amixer -q -c 0 -D hw:0 sset Front 80%
-sleep 0.4; amixer -q -c 0 -D hw:0 sset Front 90%
+/krebs/streams/streams start
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 0%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 10%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 20%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 30%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 40%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 50%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 60%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 70%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 80%
+sleep 0.1; amixer -q -c 0 -D hw:0 sset Front 90%
}
case "$1" in