From 58a312ff270c9ce423c7a39e1dda0526e5b4fae0 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Wed, 11 Aug 2021 09:40:49 -0400 Subject: [PATCH] added tee to also play audio to speaker --- groundstation/sstv_decode_sim.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/groundstation/sstv_decode_sim.sh b/groundstation/sstv_decode_sim.sh index 300895ee..380077b3 100755 --- a/groundstation/sstv_decode_sim.sh +++ b/groundstation/sstv_decode_sim.sh @@ -41,6 +41,7 @@ value=`aplay -l | grep "Loopback"` echo "$value" > /dev/null set -- $value -rtl_fm -M fm -f 434.9M -s 48k | aplay -D hw:${2:0:1},0,0 -r 48000 -t raw -f S16_LE -c 1 +#rtl_fm -M fm -f 434.9M -s 48k | aplay -D hw:${2:0:1},0,0 -r 48000 -t raw -f S16_LE -c 1 +rtl_fm -M fm -f 434.9M -s 48k | tee >(aplay -D hw:${2:0:1},0,0 -r 48000 -t raw -f S16_LE -c 1) | aplay -D hw:0,0 -r 48000 -t raw -f S16_LE -c 1 $SHELL