From 740da1cfd96f9d2bf8a3fea5a538a1edbc371af3 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Wed, 11 Aug 2021 09:39:53 -0400 Subject: [PATCH] added tee to also play audio to speaker --- groundstation/aprs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/groundstation/aprs.sh b/groundstation/aprs.sh index 315a6ba0..917d8e7f 100755 --- a/groundstation/aprs.sh +++ b/groundstation/aprs.sh @@ -36,6 +36,7 @@ echo "$value" > /dev/null set -- $value rtl_fm -M fm -f 144.39M -s 48k | aplay -D hw:${2:0:1},0,0 -r 48000 -t raw -f S16_LE -c 1 +rtl_fm -M fm -f 144.39M -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