From 005b1230779c0ef657c3fb8d4c65810d2f603470 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 19 Sep 2021 10:51:31 -0400 Subject: [PATCH] suppress aplay output on WAV play --- groundstation/packet.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/groundstation/packet.sh b/groundstation/packet.sh index b4fd3fbd..0811eb44 100755 --- a/groundstation/packet.sh +++ b/groundstation/packet.sh @@ -124,10 +124,10 @@ else set -- $value #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) & + (while true; do (sleep 2 && aplay -D hw:0,0 /home/pi/CubeSatSim/telem.wav &>/dev/null); 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) & + (while true; do (sleep 2 && aplay -D hw:${2:0:1},0,0 /home/pi/CubeSatSim/telem.wav &>/dev/null); done) & timeout 30 direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf.conf -r 48000 -t 0