summaryrefslogtreecommitdiffstats
path: root/god/overlord
blob: 087303cb7515586a36cb5bc663894971e51967dc (plain)
1
2
3
4
5
6
7
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