3 # play the sound files specified.
5 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
8 #echo no sound file specified.
12 export PLAYCMD=/usr/bin/play
13 if [ ! -f "$PLAYCMD" ]; then
17 if [ ! -z "$(psfind artsd)" ]; then
18 # we see artsd running...
20 elif [ ! -z "$(psfind esd)" ]; then
21 # we see esd running...
23 elif [ ! -z "$(psfind pulseaudio)" ]; then
24 # we see pulse running...
26 elif [ ! -z "$WINDIR" ]; then
27 # kludge for win32; we provide our own sound player.
30 echo "I don't know how to play sounds for this OS and sound system."
33 # play the sounds individually; playsound can handle multiple files, but
34 # "play" doesn't want to on some systems.
35 for i in $*; do $PLAYCMD $i >/dev/null 2>&1; done