shajen / rtl-sdr-scanner

Automatically scan and record selected frequencies ranges using rtl-sdr.
GNU General Public License v3.0
58 stars 14 forks source link

how to make one frequency range ? #3

Closed khanfar closed 3 years ago

khanfar commented 4 years ago

hi , thanks for your project , i have problem how to make just one frequency range ?? like this : start from 420 to 425 and ignore all other frequency , what should i type ? and how to increase gain ? and whats -vvv mean ? and -p , bf 10 , -fbf , whats all meaning ?

shajen commented 4 years ago

You can set everything in config.json configuration file. For your purpose you should write something similar to this in config.json:

{
  "frequencies_ranges": [
    {
      "start": 420000000,
      "stop": 426000000,
      "modulation": "fm"
    }
  ],
  "ignored_frequencies_ranges": [],
  "device": {
    "ppm_error": 0,
    "tuner_gain": 0
  },
  "scanning": {
    "noise_level": -7.9,
    "bandwidth": 2000000,
    "samples": 10240,
    "fft": 16384
  },
  "recording": {
    "squelch": 5,
    "min_recording_time": 1,
    "max_recording_time": 60,
    "max_silence_time": 1
  }
}

To increase gain you should change device.tuner_gain value which is also stored in config.json file. I hope that all names of parameters stored in configuration file are clear. All of them could be changed.

Meaning of all parameters you could read in help.

shajen@hestia ~/git/rtl-sdr-scanner $ ./sources/main.py --help
usage: main.py [-h] [-ld dir] [-wd dir] [-dr] [-pbf n] [-fbf] [-v] file

positional arguments:
  file                  path to config file

optional arguments:
  -h, --help            show this help message and exit
  -ld dir, --log_directory dir
                        store output log in directory
  -wd dir, --wav_directory dir
                        store output wav in directory
  -dr, --disable_recording
                        disable recording, only scannig
  -pbf n, --print_best_frequencies n
                        print n best frequencies
  -fbf, --filter_best_frequencies
                        filter printed n best frequencies
  -v, --verbose
shajen@hestia ~/git/rtl-sdr-scanner $ 
khanfar commented 4 years ago

Thanks . I'll try