summaryrefslogtreecommitdiff
path: root/utilities/modem_transmit
diff options
context:
space:
mode:
Diffstat (limited to 'utilities/modem_transmit')
-rwxr-xr-xutilities/modem_transmit10
1 files changed, 9 insertions, 1 deletions
diff --git a/utilities/modem_transmit b/utilities/modem_transmit
index 011022f..b36d4a7 100755
--- a/utilities/modem_transmit
+++ b/utilities/modem_transmit
@@ -2,4 +2,12 @@
python modem.py =(echo -n "$1"$'\0') /tmp/wat.wav
-aplay /tmp/wat.wav
+case "$(uname -s)" in
+Darwin)
+ play /tmp/wat.wav
+ ;;
+*)
+ aplay /tmp/wat.wav
+ ;;
+esac
+