Created
March 18, 2017 18:57
-
-
Save cyber-atomus/026c077df168e763c46b26d4492bc78e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ "$1" = "ISS" ];then | |
FREQ=437550000 | |
SAT="ISS (ZARYA)" | |
TLE=/tmp/amateur.txt | |
elif [ "$1" = "ISSTV" ];then | |
FREQ=145800000 | |
SAT="ISS (ZARYA)" | |
TLE=/tmp/amateur.txt | |
elif [ "$1" = "NO44" ]; then | |
FREQ=145825000 | |
SAT="PCSAT (NO-44)" | |
TLE=/tmp/amateur.txt | |
elif [ "$1" = "PSAT" ]; then | |
FREQ=145825000 | |
SAT="PSAT" | |
TLE=/tmp/multi.txt | |
else | |
FREQ=145825000 | |
SAT=NONE | |
fi | |
rtl_sdr -s 960000 -f $FREQ -g 44 -p 37 - |\ | |
csdr convert_u8_f |\ | |
doppler4 track --samplerate 960000 --intype f32 --outtype f32 --frequency $FREQ --tlefile "$TLE" --tlename "$SAT" --location lat=53.3404,lon=15.0579,alt=25 |\ | |
demod4 --samplerate 960000 --bandwidth 10000 --intype f32 --outtype i16 --resamplerate 48000 fm --deviation 5000 |\ | |
csdr fir_decimate_cc 20 0.015 HAMMING |\ | |
csdr fmdemod_quadri_cf |\ | |
csdr limit_ff |\ | |
csdr convert_f_s16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment