From e73eebac6be277bb20d1effc25d4c29900eb1df1 Mon Sep 17 00:00:00 2001 From: Momo Date: Fri, 9 Sep 2011 14:57:09 +0200 Subject: //god/overlord initial commit --- god/overlord | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 god/overlord diff --git a/god/overlord b/god/overlord new file mode 100644 index 00000000..087303cb --- /dev/null +++ b/god/overlord @@ -0,0 +1,8 @@ +#!/bin/bash + +announcement=$1 +LC_ALL=C aplay -l|sed -n 's/^card \([0-9]\+\):.*\[USB Audio\]$/\1/p' + +mplayer -ao=alsa:device=surround40:CARD=default,DEV=0 announce.mp3 +/krebs/util/bin/natural $announcement + -- cgit v1.2.3