summaryrefslogtreecommitdiff
path: root/utilities/modem_transmit
blob: 8f85c7810621f275f40d31294208c67d95a51b2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/zsh

OUT="$(mktemp)"

python blinkenrocket.py =(echo -n "$1"$'\0') $OUT

case "$(uname -s)" in
Darwin)
   	play $OUT
   	;;
*) 
    aplay $OUT
    ;;
esac

rm $OUT