diff --git a/Using-OpenWebRX-with-an-AirSpy.md b/Using-OpenWebRX-with-an-AirSpy.md index 08a2c93..f1c1904 100644 --- a/Using-OpenWebRX-with-an-AirSpy.md +++ b/Using-OpenWebRX-with-an-AirSpy.md @@ -14,25 +14,12 @@ sudo ldconfig The next step is to make the following changes to `config_webrx.py`: -**For AirSpy R1/R2:** - ```python -samp_rate = 2500000 #can only be 2500000 or 10000000 +samp_rate = 2500000 #can be 2500000 or 10000000 for AirSpy R1/R2, and 3000000 for AirSpy Mini center_freq = 144900000 rf_gain = 8 bias_tee = 0 -start_rtl_command = "airspy_rx -f{center_freq} -r /dev/stdout -a{samp_rate_switch} -g{rf_gain} -b{bias_tee}".format(bias_tee=bias_tee, rf_gain=rf_gain, center_freq=str(center_freq/1e6), samp_rate_switch=(0 if samp_rate==10000000 else 1)) -format_conversion = "csdr convert_s16_f" -``` - -**For AirSpy Mini:** - -```python -samp_rate = 3000000 -center_freq = 144900000 -rf_gain = 8 -bias_tee = 0 -start_rtl_command = "airspy_rx -f{center_freq} -r /dev/stdout -a{samp_rate_switch} -g{rf_gain} -b{bias_tee}".format(bias_tee=bias_tee, rf_gain=rf_gain, center_freq=str(center_freq/1e6), samp_rate_switch=2) +start_rtl_command = "airspy_rx -f{center_freq} -r /dev/stdout -a{samp_rate_switch} -g{rf_gain} -b{bias_tee}".format(bias_tee=bias_tee, rf_gain=rf_gain, center_freq=str(center_freq/1e6), samp_rate=samp_rate) format_conversion = "csdr convert_s16_f" ```