From 437559dcadb7d904ed690a0c832660c4d085201e Mon Sep 17 00:00:00 2001 From: Sebastian Muszytowski Date: Fri, 22 Jan 2016 19:26:01 +0100 Subject: add a bit of OS specific stuff --- utilities/modem_transmit | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 + -- cgit v1.2.3