kopia lustrzana https://github.com/cariboulabs/cariboulite
533 wiersze
10 KiB
Plaintext
533 wiersze
10 KiB
Plaintext
options:
|
|
parameters:
|
|
author: ''
|
|
catch_exceptions: 'True'
|
|
category: '[GRC Hier Blocks]'
|
|
cmake_opt: ''
|
|
comment: ''
|
|
copyright: ''
|
|
description: ''
|
|
gen_cmake: 'On'
|
|
gen_linking: dynamic
|
|
generate_options: qt_gui
|
|
hier_block_src_path: '.:'
|
|
id: fm_radio_receiver_soapy
|
|
max_nouts: '0'
|
|
output_language: python
|
|
placement: (0,0)
|
|
qt_qss_theme: ''
|
|
realtime_scheduling: ''
|
|
run: 'True'
|
|
run_command: '{python} -u {filename}'
|
|
run_options: prompt
|
|
sizing_mode: fixed
|
|
thread_safe_setters: ''
|
|
title: ''
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [8, 8]
|
|
rotation: 0
|
|
state: enabled
|
|
|
|
blocks:
|
|
- name: antenna
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: '"RX"'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [368, 12.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: audio_rate
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: '48000'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [240, 92.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: gain
|
|
id: variable_qtgui_range
|
|
parameters:
|
|
comment: ''
|
|
gui_hint: 1,3,1,3
|
|
label: Gain
|
|
min_len: '200'
|
|
orient: QtCore.Qt.Horizontal
|
|
rangeType: float
|
|
start: '0'
|
|
step: '2'
|
|
stop: '60'
|
|
value: '6'
|
|
widget: counter_slider
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [672, 8.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: radio_freq
|
|
id: variable_qtgui_entry
|
|
parameters:
|
|
comment: ''
|
|
gui_hint: 0,0,1,3
|
|
label: Center Frequency
|
|
type: real
|
|
value: 95.7e6
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [832, 8.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: samp_rate
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: 2.5e6
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [240, 12.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: vol
|
|
id: variable_qtgui_range
|
|
parameters:
|
|
comment: ''
|
|
gui_hint: 0,3,1,3
|
|
label: Volume
|
|
min_len: '200'
|
|
orient: QtCore.Qt.Horizontal
|
|
rangeType: float
|
|
start: '0'
|
|
step: '0.05'
|
|
stop: '1.5'
|
|
value: '0.3'
|
|
widget: counter_slider
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [480, 8.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: analog_wfm_rcv_0
|
|
id: analog_wfm_rcv
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
audio_decimation: '2'
|
|
comment: Quadrature rate is the input rate
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
quad_rate: audio_rate
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [864, 588.0]
|
|
rotation: 180
|
|
state: enabled
|
|
- name: audio_sink_0
|
|
id: audio_sink
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
device_name: ''
|
|
num_inputs: '1'
|
|
ok_to_block: 'True'
|
|
samp_rate: audio_rate
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [536, 660.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_multiply_const_vxx_0
|
|
id: blocks_multiply_const_vxx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
const: vol
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
type: float
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [536, 596.0]
|
|
rotation: 180
|
|
state: enabled
|
|
- name: low_pass_filter_0
|
|
id: low_pass_filter
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
beta: '6.76'
|
|
comment: ''
|
|
cutoff_freq: 60e3
|
|
decim: '1'
|
|
gain: '1'
|
|
interp: '1'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
samp_rate: samp_rate
|
|
type: fir_filter_ccf
|
|
width: 10e3
|
|
win: window.WIN_HAMMING
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [480, 400.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: pfb_arb_resampler_xxx_0
|
|
id: pfb_arb_resampler_xxx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
atten: '100'
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
nfilts: '32'
|
|
rrate: (audio_rate * 2) / samp_rate
|
|
samp_delay: '0'
|
|
taps: ''
|
|
type: ccf
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [784, 404.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: qtgui_freq_sink_x_0
|
|
id: qtgui_freq_sink_x
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
alpha1: '1.0'
|
|
alpha10: '1.0'
|
|
alpha2: '1.0'
|
|
alpha3: '1.0'
|
|
alpha4: '1.0'
|
|
alpha5: '1.0'
|
|
alpha6: '1.0'
|
|
alpha7: '1.0'
|
|
alpha8: '1.0'
|
|
alpha9: '1.0'
|
|
autoscale: 'False'
|
|
average: '1.0'
|
|
axislabels: 'True'
|
|
bw: samp_rate
|
|
color1: '"blue"'
|
|
color10: '"dark blue"'
|
|
color2: '"red"'
|
|
color3: '"green"'
|
|
color4: '"black"'
|
|
color5: '"cyan"'
|
|
color6: '"magenta"'
|
|
color7: '"yellow"'
|
|
color8: '"dark red"'
|
|
color9: '"dark green"'
|
|
comment: ''
|
|
ctrlpanel: 'False'
|
|
fc: radio_freq
|
|
fftsize: '1024'
|
|
freqhalf: 'True'
|
|
grid: 'False'
|
|
gui_hint: 2,0,2,3
|
|
label: Relative Gain
|
|
label1: ''
|
|
label10: ''
|
|
label2: ''
|
|
label3: ''
|
|
label4: ''
|
|
label5: ''
|
|
label6: ''
|
|
label7: ''
|
|
label8: ''
|
|
label9: ''
|
|
legend: 'True'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
name: '"Input"'
|
|
nconnections: '1'
|
|
norm_window: 'False'
|
|
showports: 'True'
|
|
tr_chan: '0'
|
|
tr_level: '0.0'
|
|
tr_mode: qtgui.TRIG_MODE_FREE
|
|
tr_tag: '""'
|
|
type: complex
|
|
units: dB
|
|
update_time: '0.10'
|
|
width1: '1'
|
|
width10: '1'
|
|
width2: '1'
|
|
width3: '1'
|
|
width4: '1'
|
|
width5: '1'
|
|
width6: '1'
|
|
width7: '1'
|
|
width8: '1'
|
|
width9: '1'
|
|
wintype: window.WIN_BLACKMAN_hARRIS
|
|
ymax: '0'
|
|
ymin: '-90'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [480, 172.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: qtgui_freq_sink_x_1
|
|
id: qtgui_freq_sink_x
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
alpha1: '1.0'
|
|
alpha10: '1.0'
|
|
alpha2: '1.0'
|
|
alpha3: '1.0'
|
|
alpha4: '1.0'
|
|
alpha5: '1.0'
|
|
alpha6: '1.0'
|
|
alpha7: '1.0'
|
|
alpha8: '1.0'
|
|
alpha9: '1.0'
|
|
autoscale: 'False'
|
|
average: '1.0'
|
|
axislabels: 'True'
|
|
bw: audio_rate
|
|
color1: '"blue"'
|
|
color10: '"dark blue"'
|
|
color2: '"red"'
|
|
color3: '"green"'
|
|
color4: '"black"'
|
|
color5: '"cyan"'
|
|
color6: '"magenta"'
|
|
color7: '"yellow"'
|
|
color8: '"dark red"'
|
|
color9: '"dark green"'
|
|
comment: ''
|
|
ctrlpanel: 'False'
|
|
fc: radio_freq
|
|
fftsize: '1024'
|
|
freqhalf: 'True'
|
|
grid: 'False'
|
|
gui_hint: 2,3,2,3
|
|
label: Relative Gain
|
|
label1: ''
|
|
label10: ''
|
|
label2: ''
|
|
label3: ''
|
|
label4: ''
|
|
label5: ''
|
|
label6: ''
|
|
label7: ''
|
|
label8: ''
|
|
label9: ''
|
|
legend: 'True'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
name: Audio
|
|
nconnections: '1'
|
|
norm_window: 'False'
|
|
showports: 'True'
|
|
tr_chan: '0'
|
|
tr_level: '0.0'
|
|
tr_mode: qtgui.TRIG_MODE_FREE
|
|
tr_tag: '""'
|
|
type: float
|
|
units: dB
|
|
update_time: '0.10'
|
|
width1: '1'
|
|
width10: '1'
|
|
width2: '1'
|
|
width3: '1'
|
|
width4: '1'
|
|
width5: '1'
|
|
width6: '1'
|
|
width7: '1'
|
|
width8: '1'
|
|
width9: '1'
|
|
wintype: window.WIN_BLACKMAN_hARRIS
|
|
ymax: '10'
|
|
ymin: '-90'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [536, 724.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: qtgui_waterfall_sink_x_0
|
|
id: qtgui_waterfall_sink_x
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
alpha1: '1.0'
|
|
alpha10: '1.0'
|
|
alpha2: '1.0'
|
|
alpha3: '1.0'
|
|
alpha4: '1.0'
|
|
alpha5: '1.0'
|
|
alpha6: '1.0'
|
|
alpha7: '1.0'
|
|
alpha8: '1.0'
|
|
alpha9: '1.0'
|
|
axislabels: 'True'
|
|
bw: samp_rate
|
|
color1: '0'
|
|
color10: '0'
|
|
color2: '0'
|
|
color3: '0'
|
|
color4: '0'
|
|
color5: '0'
|
|
color6: '0'
|
|
color7: '0'
|
|
color8: '0'
|
|
color9: '0'
|
|
comment: ''
|
|
fc: radio_freq
|
|
fftsize: '1024'
|
|
freqhalf: 'True'
|
|
grid: 'False'
|
|
gui_hint: 4,0,2,3
|
|
int_max: '10'
|
|
int_min: '-80'
|
|
label1: ''
|
|
label10: ''
|
|
label2: ''
|
|
label3: ''
|
|
label4: ''
|
|
label5: ''
|
|
label6: ''
|
|
label7: ''
|
|
label8: ''
|
|
label9: ''
|
|
legend: 'True'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
name: '""'
|
|
nconnections: '1'
|
|
showports: 'True'
|
|
type: complex
|
|
update_time: '0.10'
|
|
wintype: window.WIN_BLACKMAN_hARRIS
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [480, 296.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: soapy_source_0
|
|
id: soapy_source
|
|
parameters:
|
|
affinity: ''
|
|
agc0: 'False'
|
|
agc1: 'False'
|
|
alias: ''
|
|
amp_gain0: '0'
|
|
ant0: antenna
|
|
ant1: RX2
|
|
balance0: '0'
|
|
balance1: '0'
|
|
bw0: '0'
|
|
bw1: '0'
|
|
center_freq0: radio_freq
|
|
center_freq1: '0'
|
|
clock_rate: '0'
|
|
clock_source: ''
|
|
comment: 'Use SoapySDRServer --bind="0.0.0.0:1234"
|
|
|
|
or similar to the remote server'
|
|
correction0: '0'
|
|
correction1: '0'
|
|
dc_offset0: '0'
|
|
dc_offset1: '0'
|
|
dc_removal0: 'True'
|
|
dc_removal1: 'True'
|
|
dev: driver=remote
|
|
dev_args: ''
|
|
devname: custom
|
|
gain_mode0: Overall
|
|
gain_mode1: Overall
|
|
ifgr_gain: '59'
|
|
lna_gain0: '10'
|
|
lna_gain1: '10'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
mix_gain0: '10'
|
|
nchan: '1'
|
|
nco_freq0: '0'
|
|
nco_freq1: '0'
|
|
overall_gain0: gain
|
|
overall_gain1: '10'
|
|
pga_gain0: '24'
|
|
pga_gain1: '24'
|
|
rf_gain0: '18'
|
|
rfgr_gain: '9'
|
|
rxvga1_gain: '5'
|
|
rxvga2_gain: '0'
|
|
samp_rate: samp_rate
|
|
sdrplay_agc_setpoint: '-30'
|
|
sdrplay_biastee: 'True'
|
|
sdrplay_dabnotch: 'False'
|
|
sdrplay_if_mode: Zero-IF
|
|
sdrplay_rfnotch: 'False'
|
|
settings0: ''
|
|
settings1: ''
|
|
stream_args: ''
|
|
tia_gain0: '0'
|
|
tia_gain1: '0'
|
|
tune_args0: ''
|
|
tune_args1: ''
|
|
tuner_gain0: '10'
|
|
type: fc32
|
|
vga_gain0: '10'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [56, 176.0]
|
|
rotation: 0
|
|
state: true
|
|
|
|
connections:
|
|
- [analog_wfm_rcv_0, '0', blocks_multiply_const_vxx_0, '0']
|
|
- [blocks_multiply_const_vxx_0, '0', audio_sink_0, '0']
|
|
- [blocks_multiply_const_vxx_0, '0', qtgui_freq_sink_x_1, '0']
|
|
- [low_pass_filter_0, '0', pfb_arb_resampler_xxx_0, '0']
|
|
- [pfb_arb_resampler_xxx_0, '0', analog_wfm_rcv_0, '0']
|
|
- [soapy_source_0, '0', low_pass_filter_0, '0']
|
|
- [soapy_source_0, '0', qtgui_freq_sink_x_0, '0']
|
|
- [soapy_source_0, '0', qtgui_waterfall_sink_x_0, '0']
|
|
|
|
metadata:
|
|
file_format: 1
|