frequency=$(zenity --list 2>/dev/null --title="Choose the frequency" --column="kHz" --column="Use"145800"ISS"434900"CubeSatSim"144800 Other "Choose another frequency" SSTV "Test SSTV decoding with WAV file")
#echo $frequency
echo
echo
echo"Choose the number for the frequency for SSTV decoding:"
echo"Choose the number for the frequency for SSTV decoding:"
@ -41,14 +45,14 @@ echo
read -r choice
read -r choice
if["$choice"="1"];then
if["$choice"="1"]||["$frequency"="145800"];then
frequency=145800000
frequency=145800000
echo"Frequency is"$frequency
echo"Frequency is"$frequency
echo
echo
echo"If the ISS is overhead (check Gpredict) and in SSTV mode (see social media), you can receive images."
echo"If the ISS is overhead (check Gpredict) and in SSTV mode (see social media), you can receive images."
elif["$choice"="2"];then
elif["$choice"="2"]||["$frequency"="434900"];then
frequency=434900000
frequency=434900000
echo"Frequency is"$frequency
echo"Frequency is"$frequency
@ -56,7 +60,7 @@ echo
echo"If your CubeSatSim is transmitting in SSTV mode (mode 6) you should get images."
echo"If your CubeSatSim is transmitting in SSTV mode (mode 6) you should get images."
echo"Note: if you see and hear an SSTV signal but don't get any images, the CubeSatSim signal might have a frequency offset. Try rebooting the CubeSatSim to fix."
echo"Note: if you see and hear an SSTV signal but don't get any images, the CubeSatSim signal might have a frequency offset. Try rebooting the CubeSatSim to fix."
elif["$choice"="3"];then
elif["$choice"="3"]||["$frequency"="Other"];then
echo
echo
@ -68,7 +72,7 @@ read -r frequency
frequency=$frequency"000"
frequency=$frequency"000"
else
elif ["$choice"="4"]||["$frequency"="SSTV"];then
echo"A recorded Scottie 2 SSTV WAV file will play and you should see an image decoded."
echo"A recorded Scottie 2 SSTV WAV file will play and you should see an image decoded."