diff --git a/groundstation/packet.sh b/groundstation/packet.sh index a7c0e81a..638ac5d3 100755 --- a/groundstation/packet.sh +++ b/groundstation/packet.sh @@ -123,9 +123,12 @@ else echo "$value" > /dev/null set -- $value - aplay -D hw:0,0 /home/pi/CubeSatSim/telem.wav & - aplay -D hw:${2:0:1},0,0 /home/pi/CubeSatSim/telem.wav & - + #aplay -D hw:0,0 /home/pi/CubeSatSim/telem.wav & + (while true; do (sleep 2 && aplay -D hw:0,0 /home/pi/CubeSatSim/telem.wav); done) & + + #aplay -D hw:${2:0:1},0,0 /home/pi/CubeSatSim/telem.wav & + (while true; do (sleep 2 && aplay -D hw:${2:0:1},0,0 /home/pi/CubeSatSim/telem.wav); done) & + timeout 30 direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf-4800.conf -r 48000 -t 0 echo