-export PLAYCMD=/usr/bin/play
-if [ ! -f "$PLAYCMD" ]; then
- PLAYCMD=echo
-fi
-
-if [ ! -z "$(psfind artsd)" ]; then
- # we see artsd running...
- PLAYCMD=artsplay
+export BASIC_PLAY_CMD='echo Unknown basic sound player...'
+
+if [ -f "/usr/bin/play" ]; then
+#echo we see /usr/bin/play available...
+ BASIC_PLAY_CMD=/usr/bin/play
+elif [ ! -z "$(whichable afplay)" ]; then
+#echo we see afplay available...
+ BASIC_PLAY_CMD=afplay
+elif [ ! -z "$(psfind artsd)" ]; then
+#echo we see artsd running...
+ BASIC_PLAY_CMD=artsplay