move the default sdrs to the new defaults file

This commit is contained in:
Jakob Ketterl 2021-03-24 17:19:49 +01:00
parent a90f77e545
commit 5f7daba3b2
2 changed files with 238 additions and 120 deletions

View File

@ -121,125 +121,125 @@ Note: if you experience audio underruns while CPU usage is 100%, you can:
# For more details on specific types, please checkout the wiki: # For more details on specific types, please checkout the wiki:
# https://github.com/jketterl/openwebrx/wiki/Supported-Hardware#sdr-devices # https://github.com/jketterl/openwebrx/wiki/Supported-Hardware#sdr-devices
sdrs = { #sdrs = {
"rtlsdr": { # "rtlsdr": {
"name": "RTL-SDR USB Stick", # "name": "RTL-SDR USB Stick",
"type": "rtl_sdr", # "type": "rtl_sdr",
"ppm": 0, # "ppm": 0,
# you can change this if you use an upconverter. formula is: # # you can change this if you use an upconverter. formula is:
# center_freq + lfo_offset = actual frequency on the sdr # # center_freq + lfo_offset = actual frequency on the sdr
# "lfo_offset": 0, # # "lfo_offset": 0,
"profiles": { # "profiles": {
"70cm": { # "70cm": {
"name": "70cm Relais", # "name": "70cm Relais",
"center_freq": 438800000, # "center_freq": 438800000,
"rf_gain": 29, # "rf_gain": 29,
"samp_rate": 2400000, # "samp_rate": 2400000,
"start_freq": 439275000, # "start_freq": 439275000,
"start_mod": "nfm", # "start_mod": "nfm",
}, # },
"2m": { # "2m": {
"name": "2m komplett", # "name": "2m komplett",
"center_freq": 145000000, # "center_freq": 145000000,
"rf_gain": 29, # "rf_gain": 29,
"samp_rate": 2048000, # "samp_rate": 2048000,
"start_freq": 145725000, # "start_freq": 145725000,
"start_mod": "nfm", # "start_mod": "nfm",
}, # },
}, # },
}, # },
"airspy": { # "airspy": {
"name": "Airspy HF+", # "name": "Airspy HF+",
"type": "airspyhf", # "type": "airspyhf",
"ppm": 0, # "ppm": 0,
"rf_gain": "auto", # "rf_gain": "auto",
"profiles": { # "profiles": {
"20m": { # "20m": {
"name": "20m", # "name": "20m",
"center_freq": 14150000, # "center_freq": 14150000,
"samp_rate": 384000, # "samp_rate": 384000,
"start_freq": 14070000, # "start_freq": 14070000,
"start_mod": "usb", # "start_mod": "usb",
}, # },
"30m": { # "30m": {
"name": "30m", # "name": "30m",
"center_freq": 10125000, # "center_freq": 10125000,
"samp_rate": 192000, # "samp_rate": 192000,
"start_freq": 10142000, # "start_freq": 10142000,
"start_mod": "usb", # "start_mod": "usb",
}, # },
"40m": { # "40m": {
"name": "40m", # "name": "40m",
"center_freq": 7100000, # "center_freq": 7100000,
"samp_rate": 256000, # "samp_rate": 256000,
"start_freq": 7070000, # "start_freq": 7070000,
"start_mod": "lsb", # "start_mod": "lsb",
}, # },
"80m": { # "80m": {
"name": "80m", # "name": "80m",
"center_freq": 3650000, # "center_freq": 3650000,
"samp_rate": 384000, # "samp_rate": 384000,
"start_freq": 3570000, # "start_freq": 3570000,
"start_mod": "lsb", # "start_mod": "lsb",
}, # },
"49m": { # "49m": {
"name": "49m Broadcast", # "name": "49m Broadcast",
"center_freq": 6050000, # "center_freq": 6050000,
"samp_rate": 384000, # "samp_rate": 384000,
"start_freq": 6070000, # "start_freq": 6070000,
"start_mod": "am", # "start_mod": "am",
}, # },
}, # },
}, # },
"sdrplay": { # "sdrplay": {
"name": "SDRPlay RSP2", # "name": "SDRPlay RSP2",
"type": "sdrplay", # "type": "sdrplay",
"ppm": 0, # "ppm": 0,
"antenna": "Antenna A", # "antenna": "Antenna A",
"profiles": { # "profiles": {
"20m": { # "20m": {
"name": "20m", # "name": "20m",
"center_freq": 14150000, # "center_freq": 14150000,
"rf_gain": 0, # "rf_gain": 0,
"samp_rate": 500000, # "samp_rate": 500000,
"start_freq": 14070000, # "start_freq": 14070000,
"start_mod": "usb", # "start_mod": "usb",
}, # },
"30m": { # "30m": {
"name": "30m", # "name": "30m",
"center_freq": 10125000, # "center_freq": 10125000,
"rf_gain": 0, # "rf_gain": 0,
"samp_rate": 250000, # "samp_rate": 250000,
"start_freq": 10142000, # "start_freq": 10142000,
"start_mod": "usb", # "start_mod": "usb",
}, # },
"40m": { # "40m": {
"name": "40m", # "name": "40m",
"center_freq": 7100000, # "center_freq": 7100000,
"rf_gain": 0, # "rf_gain": 0,
"samp_rate": 500000, # "samp_rate": 500000,
"start_freq": 7070000, # "start_freq": 7070000,
"start_mod": "lsb", # "start_mod": "lsb",
}, # },
"80m": { # "80m": {
"name": "80m", # "name": "80m",
"center_freq": 3650000, # "center_freq": 3650000,
"rf_gain": 0, # "rf_gain": 0,
"samp_rate": 500000, # "samp_rate": 500000,
"start_freq": 3570000, # "start_freq": 3570000,
"start_mod": "lsb", # "start_mod": "lsb",
}, # },
"49m": { # "49m": {
"name": "49m Broadcast", # "name": "49m Broadcast",
"center_freq": 6000000, # "center_freq": 6000000,
"rf_gain": 0, # "rf_gain": 0,
"samp_rate": 500000, # "samp_rate": 500000,
"start_freq": 6070000, # "start_freq": 6070000,
"start_mod": "am", # "start_mod": "am",
}, # },
}, # },
}, # },
} #}
# ==== Color themes ==== # ==== Color themes ====

View File

@ -21,7 +21,125 @@ defaultConfig = PropertyLayer(
digimodes_fft_size=2048, digimodes_fft_size=2048,
digital_voice_unvoiced_quality=1, digital_voice_unvoiced_quality=1,
digital_voice_dmr_id_lookup=True, digital_voice_dmr_id_lookup=True,
# sdrs=... sdrs=PropertyLayer(
rtlsdr=PropertyLayer(
name="RTL-SDR USB Stick",
type="rtl_sdr",
profiles=PropertyLayer(
**{
"70cm": PropertyLayer(
name="70cm Relais",
center_freq=438800000,
rf_gain=29,
samp_rate=2400000,
start_freq=439275000,
start_mod="nfm",
),
"2m": PropertyLayer(
name="2m komplett",
center_freq=145000000,
rf_gain=29,
samp_rate=2048000,
start_freq=145725000,
start_mod="nfm",
),
}
),
),
airspy=PropertyLayer(
name="Airspy HF+",
type="airspyhf",
rf_gain="auto",
profiles=PropertyLayer(
**{
"20m": PropertyLayer(
name="20m",
center_freq=14150000,
samp_rate=384000,
start_freq=14070000,
start_mod="usb",
),
"30m": PropertyLayer(
name="30m",
center_freq=10125000,
samp_rate=192000,
start_freq=10142000,
start_mod="usb",
),
"40m": PropertyLayer(
name="40m",
center_freq=7100000,
samp_rate=256000,
start_freq=7070000,
start_mod="lsb",
),
"80m": PropertyLayer(
name="80m",
center_freq=3650000,
samp_rate=384000,
start_freq=3570000,
start_mod="lsb",
),
"49m": PropertyLayer(
name="49m Broadcast",
center_freq=6050000,
samp_rate=384000,
start_freq=6070000,
start_mod="am",
),
}
),
),
sdrplay=PropertyLayer(
name="SDRPlay RSP2",
type="sdrplay",
antenna="Antenna A",
profiles=PropertyLayer(
**{
"20m": PropertyLayer(
name="20m",
center_freq=14150000,
rf_gain=0,
samp_rate=500000,
start_freq=14070000,
start_mod="usb",
),
"30m": PropertyLayer(
name="30m",
center_freq=10125000,
rf_gain=0,
samp_rate=250000,
start_freq=10142000,
start_mod="usb",
),
"40m": PropertyLayer(
name="40m",
center_freq=7100000,
rf_gain=0,
samp_rate=500000,
start_freq=7070000,
start_mod="lsb",
),
"80m": PropertyLayer(
name="80m",
center_freq=3650000,
rf_gain=0,
samp_rate=500000,
start_freq=3570000,
start_mod="lsb",
),
"49m": PropertyLayer(
name="49m Broadcast",
center_freq=6000000,
rf_gain=0,
samp_rate=500000,
start_freq=6070000,
start_mod="am",
),
}
),
),
),
waterfall_scheme="GoogleTurboWaterfall", waterfall_scheme="GoogleTurboWaterfall",
waterfall_levels=PropertyLayer(min=-88, max=-20), waterfall_levels=PropertyLayer(min=-88, max=-20),
waterfall_auto_level_margin=PropertyLayer(min=3, max=10, min_range=50), waterfall_auto_level_margin=PropertyLayer(min=3, max=10, min_range=50),