+if [ -f "/usr/bin/play" ]; then
+#echo we see /usr/bin/play available...
+ BASIC_PLAY_CMD=/usr/bin/play
+elif [ ! -z "$WINDIR" ]; then
+#echo "kludge for win32; we provide our own sound player."
+ BASIC_PLAY_CMD=playsound
+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