From edff2860a70f79113cdb653f5b550338a3d2a38f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 23 Aug 2021 22:05:12 -0400 Subject: [PATCH] frequency input working --- groundstation/sstv_decode_prompt.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/groundstation/sstv_decode_prompt.sh b/groundstation/sstv_decode_prompt.sh index 00ff13a3..c14507dc 100755 --- a/groundstation/sstv_decode_prompt.sh +++ b/groundstation/sstv_decode_prompt.sh @@ -43,11 +43,11 @@ read -r choice if [ "$choice" = "1" ]; then -frequency=145800 +frequency=145800000 elif [ "$choice" = "2" ]; then -frequency=434900 +frequency=434900000 else @@ -59,8 +59,12 @@ echo read -r frequency +frequency=$frequency"000" + fi +echo $frequency + sleep 2 qsstv & @@ -75,7 +79,7 @@ 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 | 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 -rtl_fm -M fm -f $frequencyk -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 +rtl_fm -M fm -f $frequency -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 sleep 5