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

OUT="$(mktemp)"
trap "rm -f '$OUT'" EXIT INT QUIT TERM

python blinkenrocket.py $OUT "$@"

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