Monitor with Python and RTL-SDR
Python, RTL-SDR, numpy This is modified version based on rtl-sdr-close-call-monitor https://github.com/nootedandrooted/rtl-sdr-close-call-monitor It scans tetra uplink european frequencies. import sys import time import numpy as np from rtlsdr import RtlSdr sdr = RtlSdr() sr = 2.4e6 shift = 1.2e6 start_freq = 380.0125e6 end_freq = 0 freq = 381.2125e6 sdr.sample_rate = sr # Hz sdr.freq_correction = 1 # PPM sdr.gain = 30 # dB num_samples = 2**16 squelch_level = -30 n = 0 while True: gain_question = str(input("Do you want to use the default gain? (30dB) (y/n): ")) if gain_question == 'y': print("Using the default gain (30 dB)") break elif gain_question == 'n': gain_custom = int(input("Please enter the gain (in dB): ")) sdr.gain = gain_custom break else: ...