From bd434c1b677c0d3d3d3873a615de4f2270fb89a7 Mon Sep 17 00:00:00 2001 From: Chen Jin Date: Fri, 8 Sep 2023 16:00:16 +0000 Subject: [PATCH 1/2] 11318: updated fm-receiver single-grc --- fm-receiver-grc/fm-single.grc | 2149 +++++++++++++++------------------ 1 file changed, 964 insertions(+), 1185 deletions(-) diff --git a/fm-receiver-grc/fm-single.grc b/fm-receiver-grc/fm-single.grc index c07b032..4b91bb9 100644 --- a/fm-receiver-grc/fm-single.grc +++ b/fm-receiver-grc/fm-single.grc @@ -1,1185 +1,964 @@ - - - - Sun Aug 11 21:40:43 2013 - - options - - id - vaunt_fmsingle - - - _enabled - True - - - title - Single Channel FM Reciever - - - author - Victor Wollesen - - - description - Vaunt Single Channel Vaunt FM Reciever - - - window_size - 1280, 1024 - - - generate_options - wx_gui - - - category - Custom - - - run_options - prompt - - - run - True - - - max_nouts - 0 - - - realtime_scheduling - - - - alias - - - - _coordinate - (10, 11) - - - _rotation - 0 - - - - variable - - id - chan_sr_in_demod_A1 - - - _enabled - True - - - value - int(round(adc_rate/(source_decim*filt_decim_A1))) - - - alias - - - - _coordinate - (544, 0) - - - _rotation - 0 - - - - variable - - id - adc_rate - - - _enabled - True - - - value - 322265625 - - - alias - - - - _coordinate - (24, 590) - - - _rotation - 0 - - - - variable - - id - filt_decim_A1 - - - _enabled - True - - - value - int(round(source_rate/chan_width)) - - - alias - - - - _coordinate - (557, 122) - - - _rotation - 0 - - - - variable - - id - chan_xlate_A - - - _enabled - True - - - value - freq-chan_1 - - - alias - - - - _coordinate - (420, 159) - - - _rotation - 0 - - - - variable - - id - chan_sr_out_A1 - - - _enabled - True - - - value - int(round(chan_sr_in_demod_A1/aud_decim_A1)) - - - alias - - - - _coordinate - (798, 4) - - - _rotation - 0 - - - - variable - - id - aud_decim_A1 - - - _enabled - True - - - value - int(round(chan_sr_in_demod_A1/audio_sample_rate)) - - - alias - - - - _coordinate - (833, 136) - - - _rotation - 0 - - - - variable - - id - source_rate - - - _enabled - True - - - value - adc_rate/source_decim - - - alias - - - - _coordinate - (136, 598) - - - _rotation - 0 - - - - variable_static_text - - id - demod_sr_C1 - - - _enabled - True - - - label - Demod SR (1) - - - value - chan_sr_in_demod_A1 - - - converver - int_converter - - - formatter - None - - - grid_pos - - - - notebook - - - - alias - - - - _coordinate - (774, 199) - - - _rotation - 0 - - - - variable_static_text - - id - variable_static_text_1 - - - _enabled - True - - - label - Aud SR (1) - - - value - chan_sr_out_A1 - - - converver - int_converter - - - formatter - None - - - grid_pos - - - - notebook - - - - alias - - - - _coordinate - (911, 199) - - - _rotation - 0 - - - - variable_slider - - id - chan_1 - - - _enabled - True - - - label - Channel 1 - - - value - 99.9e6 - - - min - 87.9e6 - - - max - 107.9e6 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - 2,1,1,1 - - - notebook - - - - alias - - - - _coordinate - (510, 206) - - - _rotation - 0 - - - - wxgui_scopesink2 - - id - wxgui_scopesink2_0 - - - _enabled - False - - - type - complex - - - title - Scope Plot - - - samp_rate - int(round(adc_rate/source_decim)) - - - v_scale - 0 - - - v_offset - 0 - - - t_scale - 0 - - - ac_couple - False - - - xy_mode - False - - - num_inputs - 1 - - - win_size - - - - grid_pos - - - - notebook - - - - trig_mode - wxgui.TRIG_MODE_AUTO - - - y_axis_label - Counts - - - alias - - - - affinity - - - - _coordinate - (260, 414) - - - _rotation - 0 - - - - parameter - - id - audio_sample_rate - - - _enabled - True - - - label - Audio Sample Rate - - - value - 48000 - - - type - intx - - - short_id - - - - alias - - - - _coordinate - (958, 404) - - - _rotation - 0 - - - - parameter - - id - source_decim - - - _enabled - True - - - label - source decimation - - - value - 16 - - - type - intx - - - short_id - d - - - alias - - - - _coordinate - (24, 462) - - - _rotation - 0 - - - - variable_static_text - - id - freq - - - _enabled - True - - - label - WB Centre Freq - - - value - 97.5e6 - - - converver - float_converter - - - formatter - None - - - grid_pos - 0,0,1,1 - - - notebook - - - - alias - - - - _coordinate - (247, 543) - - - _rotation - 0 - - - - variable_slider - - id - chan_width - - - _enabled - True - - - label - Channel Width - - - value - 200e3 - - - min - 50e3 - - - max - 1e6 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - 1,1,1,1 - - - notebook - - - - alias - - - - _coordinate - (664, 372) - - - _rotation - 0 - - - - variable_slider - - id - vol_1 - - - _enabled - True - - - label - Channel 1 Volume - - - value - 0 - - - min - 0 - - - max - 21 - - - num_steps - 21 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - 3,1,1,1 - - - notebook - - - - alias - - - - _coordinate - (802, 372) - - - _rotation - 0 - - - - audio_sink - - id - audio_sink - - - _enabled - True - - - samp_rate - audio_sample_rate - - - device_name - plughw:0,0 - - - ok_to_block - True - - - num_inputs - 2 - - - alias - - - - affinity - - - - _coordinate - (1125, 297) - - - _rotation - 0 - - - - freq_xlating_fir_filter_xxx - - id - freq_xlating_fir_filter_xxx_0 - - - _enabled - True - - - type - ccc - - - decim - filt_decim_A1 - - - taps - firdes.low_pass (1,int(round(adc_rate/source_decim)),75e3,25e3) - - - center_freq - chan_xlate_A - - - samp_rate - int(round(adc_rate/source_decim)) - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (271, 68) - - - _rotation - 0 - - - - analog_fm_demod_cf - - id - analog_fm_demod_cf_0 - - - _enabled - True - - - chan_rate - chan_sr_in_demod_A1 - - - audio_decim - aud_decim_A1 - - - deviation - 75000 - - - audio_pass - 15000 - - - audio_stop - 16000 - - - gain - 1.0 - - - tau - 75e-6 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (668, 42) - - - _rotation - 0 - - - - blocks_multiply_const_vxx - - id - blocks_multiply_const_vxx_0 - - - _enabled - True - - - type - float - - - const - vol_1 - - - vlen - 1 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (958, 84) - - - _rotation - 0 - - - - wxgui_waterfallsink2 - - id - wxgui_waterfallsink2_0 - - - _enabled - True - - - type - complex - - - title - WideBand Spectrum (FM Band) - - - samp_rate - int(round(adc_rate/source_decim)) - - - baseband_freq - freq - - - dynamic_range - 50 - - - ref_level - 60 - - - ref_scale - 2.0 - - - fft_size - 512 - - - fft_rate - 8 - - - average - False - - - avg_alpha - 0 - - - win - None - - - win_size - - - - grid_pos - 1,0,4,1 - - - notebook - - - - freqvar - None - - - alias - - - - affinity - - - - _coordinate - (253, 201) - - - _rotation - 0 - - - - blocks_interleaved_short_to_complex - - id - blocks_interleaved_short_to_complex_0 - - - _enabled - True - - - vector_input - True - - - swap - False - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (61, 323) - - - _rotation - 0 - - - - blocks_udp_source - - id - blocks_udp_source_0 - - - _enabled - True - - - type - short - - - ipaddr - 10.10.10.10 - - - port - 42820 - - - psize - 1400 - - - eof - True - - - vlen - 2 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (24, 136) - - - _rotation - 0 - - - - blocks_interleaved_short_to_complex_0 - wxgui_waterfallsink2_0 - 0 - 0 - - - blocks_interleaved_short_to_complex_0 - wxgui_scopesink2_0 - 0 - 0 - - - blocks_multiply_const_vxx_0 - audio_sink - 0 - 0 - - - blocks_multiply_const_vxx_0 - audio_sink - 0 - 1 - - - blocks_interleaved_short_to_complex_0 - freq_xlating_fir_filter_xxx_0 - 0 - 0 - - - freq_xlating_fir_filter_xxx_0 - analog_fm_demod_cf_0 - 0 - 0 - - - analog_fm_demod_cf_0 - blocks_multiply_const_vxx_0 - 0 - 0 - - - blocks_udp_source_0 - blocks_interleaved_short_to_complex_0 - 0 - 0 - - +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_receiver + 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: '' + window_size: (1000,1000) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [24, 128.0] + rotation: 0 + state: enabled + +blocks: +- name: center_freq + id: variable + parameters: + comment: '' + value: station*1000000 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [176, 704.0] + rotation: 0 + state: true +- name: chan_rate + id: variable + parameters: + comment: '' + value: samp_rate/rr_decim + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [216, 888.0] + rotation: 0 + state: true +- name: deviation + id: variable + parameters: + comment: '' + value: 150e3 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [296, 152.0] + rotation: 0 + state: true +- name: fm_decim + id: variable + parameters: + comment: '' + value: '4' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [256, 784.0] + rotation: 0 + state: true +- name: gain + id: variable + parameters: + comment: '' + value: '10' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [96, 704.0] + rotation: 0 + state: true +- name: rr_decim + id: variable + parameters: + comment: '' + value: '5' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [120, 880.0] + rotation: 0 + state: true +- name: samp_rate + id: variable + parameters: + comment: '' + value: '1000000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [184, 136.0] + rotation: 0 + state: enabled +- name: station + id: variable_qtgui_range + parameters: + comment: '' + gui_hint: '' + label: FM Station + min_len: '200' + orient: QtCore.Qt.Horizontal + rangeType: float + start: '88.1' + step: 200e-3 + stop: '107.9' + value: '93.5' + widget: counter_slider + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [104, 568.0] + rotation: 0 + state: true +- name: volume + id: variable_qtgui_range + parameters: + comment: '' + gui_hint: '' + label: volume + min_len: '200' + orient: QtCore.Qt.Horizontal + rangeType: float + start: '0' + step: '1' + stop: '100' + value: '1' + widget: counter_slider + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [400, 624.0] + rotation: 0 + state: true +- name: analog_fm_demod_cf_0 + id: analog_fm_demod_cf + parameters: + affinity: '' + alias: '' + audio_decim: fm_decim + audio_pass: '15000' + audio_stop: '16000' + chan_rate: samp_rate/rr_decim + comment: '' + deviation: deviation + gain: '1.0' + maxoutbuf: '0' + minoutbuf: '0' + tau: 75e-6 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [584, 316.0] + rotation: 0 + state: true +- name: audio_sink_0 + id: audio_sink + parameters: + affinity: '' + alias: '' + comment: '' + device_name: '' + num_inputs: '1' + ok_to_block: 'True' + samp_rate: '48000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1456, 672.0] + rotation: 0 + state: true +- name: blocks_multiply_const_vxx_0 + id: blocks_multiply_const_vxx + parameters: + affinity: '' + alias: '' + comment: '' + const: volume + maxoutbuf: '0' + minoutbuf: '0' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1152, 672.0] + rotation: 0 + state: true +- name: blocks_multiply_const_vxx_0_0 + id: blocks_multiply_const_vxx + parameters: + affinity: '' + alias: '' + comment: '' + const: '1' + maxoutbuf: '0' + minoutbuf: '0' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [848, 368.0] + rotation: 0 + state: true +- name: blocks_multiply_const_vxx_0_1 + id: blocks_multiply_const_vxx + parameters: + affinity: '' + alias: '' + comment: '' + const: volume + maxoutbuf: '0' + minoutbuf: '0' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1160, 392.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: '0' + fftsize: '1024' + freqhalf: 'True' + grid: 'False' + gui_hint: '' + label: Relative Gain + label1: '' + label10: '''''' + label2: '''''' + label3: '''''' + label4: '''''' + label5: '''''' + label6: '''''' + label7: '''''' + label8: '''''' + label9: '''''' + legend: 'True' + maxoutbuf: '0' + minoutbuf: '0' + name: '""' + nconnections: '1' + norm_window: 'False' + showports: 'False' + 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: '-140' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1168, 248.0] + rotation: 0 + state: enabled +- name: qtgui_time_sink_x_0 + id: qtgui_time_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' + axislabels: 'True' + 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' + entags: 'True' + grid: 'False' + gui_hint: '' + label1: Signal 1 + label10: Signal 10 + label2: Signal 2 + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '-1' + marker10: '-1' + marker2: '-1' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + name: '""' + nconnections: '1' + size: '1024' + srate: samp_rate + stemplot: 'False' + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: float + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1480, 392.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: '0' + fftsize: '1024' + freqhalf: 'True' + grid: 'False' + gui_hint: '' + int_max: '10' + int_min: '-140' + label1: '' + label10: '' + label2: '' + label3: '' + label4: '' + label5: '' + label6: '' + label7: '' + label8: '' + label9: '' + legend: 'True' + maxoutbuf: '0' + minoutbuf: '0' + name: '""' + nconnections: '1' + showports: 'False' + type: float + update_time: '0.10' + wintype: window.WIN_BLACKMAN_hARRIS + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1160, 520.0] + rotation: 0 + state: enabled +- name: rational_resampler_xxx_0 + id: rational_resampler_xxx + parameters: + affinity: '' + alias: '' + comment: '' + decim: rr_decim + fbw: '0' + interp: '1' + maxoutbuf: '0' + minoutbuf: '0' + taps: '' + type: ccc + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [344, 344.0] + rotation: 0 + state: true +- name: uhd_usrp_source_0 + id: uhd_usrp_source + parameters: + affinity: '' + alias: '' + ant0: '"TX/RX"' + ant1: '"RX2"' + ant10: '"RX2"' + ant11: '"RX2"' + ant12: '"RX2"' + ant13: '"RX2"' + ant14: '"RX2"' + ant15: '"RX2"' + ant16: '"RX2"' + ant17: '"RX2"' + ant18: '"RX2"' + ant19: '"RX2"' + ant2: '"RX2"' + ant20: '"RX2"' + ant21: '"RX2"' + ant22: '"RX2"' + ant23: '"RX2"' + ant24: '"RX2"' + ant25: '"RX2"' + ant26: '"RX2"' + ant27: '"RX2"' + ant28: '"RX2"' + ant29: '"RX2"' + ant3: '"RX2"' + ant30: '"RX2"' + ant31: '"RX2"' + ant4: '"RX2"' + ant5: '"RX2"' + ant6: '"RX2"' + ant7: '"RX2"' + ant8: '"RX2"' + ant9: '"RX2"' + bw0: 500e3 + bw1: '0' + bw10: '0' + bw11: '0' + bw12: '0' + bw13: '0' + bw14: '0' + bw15: '0' + bw16: '0' + bw17: '0' + bw18: '0' + bw19: '0' + bw2: '0' + bw20: '0' + bw21: '0' + bw22: '0' + bw23: '0' + bw24: '0' + bw25: '0' + bw26: '0' + bw27: '0' + bw28: '0' + bw29: '0' + bw3: '0' + bw30: '0' + bw31: '0' + bw4: '0' + bw5: '0' + bw6: '0' + bw7: '0' + bw8: '0' + bw9: '0' + center_freq0: center_freq + center_freq1: '0' + center_freq10: '0' + center_freq11: '0' + center_freq12: '0' + center_freq13: '0' + center_freq14: '0' + center_freq15: '0' + center_freq16: '0' + center_freq17: '0' + center_freq18: '0' + center_freq19: '0' + center_freq2: '0' + center_freq20: '0' + center_freq21: '0' + center_freq22: '0' + center_freq23: '0' + center_freq24: '0' + center_freq25: '0' + center_freq26: '0' + center_freq27: '0' + center_freq28: '0' + center_freq29: '0' + center_freq3: '0' + center_freq30: '0' + center_freq31: '0' + center_freq4: '0' + center_freq5: '0' + center_freq6: '0' + center_freq7: '0' + center_freq8: '0' + center_freq9: '0' + clock_rate: 0e0 + clock_source0: '' + clock_source1: '' + clock_source2: '' + clock_source3: '' + clock_source4: '' + clock_source5: '' + clock_source6: '' + clock_source7: '' + comment: '' + dc_offs0: 0+0j + dc_offs1: 0+0j + dc_offs10: 0+0j + dc_offs11: 0+0j + dc_offs12: 0+0j + dc_offs13: 0+0j + dc_offs14: 0+0j + dc_offs15: 0+0j + dc_offs16: 0+0j + dc_offs17: 0+0j + dc_offs18: 0+0j + dc_offs19: 0+0j + dc_offs2: 0+0j + dc_offs20: 0+0j + dc_offs21: 0+0j + dc_offs22: 0+0j + dc_offs23: 0+0j + dc_offs24: 0+0j + dc_offs25: 0+0j + dc_offs26: 0+0j + dc_offs27: 0+0j + dc_offs28: 0+0j + dc_offs29: 0+0j + dc_offs3: 0+0j + dc_offs30: 0+0j + dc_offs31: 0+0j + dc_offs4: 0+0j + dc_offs5: 0+0j + dc_offs6: 0+0j + dc_offs7: 0+0j + dc_offs8: 0+0j + dc_offs9: 0+0j + dc_offs_enb0: default + dc_offs_enb1: default + dc_offs_enb10: default + dc_offs_enb11: default + dc_offs_enb12: default + dc_offs_enb13: default + dc_offs_enb14: default + dc_offs_enb15: default + dc_offs_enb16: default + dc_offs_enb17: default + dc_offs_enb18: default + dc_offs_enb19: default + dc_offs_enb2: default + dc_offs_enb20: default + dc_offs_enb21: default + dc_offs_enb22: default + dc_offs_enb23: default + dc_offs_enb24: default + dc_offs_enb25: default + dc_offs_enb26: default + dc_offs_enb27: default + dc_offs_enb28: default + dc_offs_enb29: default + dc_offs_enb3: default + dc_offs_enb30: default + dc_offs_enb31: default + dc_offs_enb4: default + dc_offs_enb5: default + dc_offs_enb6: default + dc_offs_enb7: default + dc_offs_enb8: default + dc_offs_enb9: default + dev_addr: '""' + dev_args: '' + gain0: gain + gain1: '0' + gain10: '0' + gain11: '0' + gain12: '0' + gain13: '0' + gain14: '0' + gain15: '0' + gain16: '0' + gain17: '0' + gain18: '0' + gain19: '0' + gain2: '0' + gain20: '0' + gain21: '0' + gain22: '0' + gain23: '0' + gain24: '0' + gain25: '0' + gain26: '0' + gain27: '0' + gain28: '0' + gain29: '0' + gain3: '0' + gain30: '0' + gain31: '0' + gain4: '0' + gain5: '0' + gain6: '0' + gain7: '0' + gain8: '0' + gain9: '0' + gain_type0: default + gain_type1: default + gain_type10: default + gain_type11: default + gain_type12: default + gain_type13: default + gain_type14: default + gain_type15: default + gain_type16: default + gain_type17: default + gain_type18: default + gain_type19: default + gain_type2: default + gain_type20: default + gain_type21: default + gain_type22: default + gain_type23: default + gain_type24: default + gain_type25: default + gain_type26: default + gain_type27: default + gain_type28: default + gain_type29: default + gain_type3: default + gain_type30: default + gain_type31: default + gain_type4: default + gain_type5: default + gain_type6: default + gain_type7: default + gain_type8: default + gain_type9: default + iq_imbal0: 0+0j + iq_imbal1: 0+0j + iq_imbal10: 0+0j + iq_imbal11: 0+0j + iq_imbal12: 0+0j + iq_imbal13: 0+0j + iq_imbal14: 0+0j + iq_imbal15: 0+0j + iq_imbal16: 0+0j + iq_imbal17: 0+0j + iq_imbal18: 0+0j + iq_imbal19: 0+0j + iq_imbal2: 0+0j + iq_imbal20: 0+0j + iq_imbal21: 0+0j + iq_imbal22: 0+0j + iq_imbal23: 0+0j + iq_imbal24: 0+0j + iq_imbal25: 0+0j + iq_imbal26: 0+0j + iq_imbal27: 0+0j + iq_imbal28: 0+0j + iq_imbal29: 0+0j + iq_imbal3: 0+0j + iq_imbal30: 0+0j + iq_imbal31: 0+0j + iq_imbal4: 0+0j + iq_imbal5: 0+0j + iq_imbal6: 0+0j + iq_imbal7: 0+0j + iq_imbal8: 0+0j + iq_imbal9: 0+0j + iq_imbal_enb0: default + iq_imbal_enb1: default + iq_imbal_enb10: default + iq_imbal_enb11: default + iq_imbal_enb12: default + iq_imbal_enb13: default + iq_imbal_enb14: default + iq_imbal_enb15: default + iq_imbal_enb16: default + iq_imbal_enb17: default + iq_imbal_enb18: default + iq_imbal_enb19: default + iq_imbal_enb2: default + iq_imbal_enb20: default + iq_imbal_enb21: default + iq_imbal_enb22: default + iq_imbal_enb23: default + iq_imbal_enb24: default + iq_imbal_enb25: default + iq_imbal_enb26: default + iq_imbal_enb27: default + iq_imbal_enb28: default + iq_imbal_enb29: default + iq_imbal_enb3: default + iq_imbal_enb30: default + iq_imbal_enb31: default + iq_imbal_enb4: default + iq_imbal_enb5: default + iq_imbal_enb6: default + iq_imbal_enb7: default + iq_imbal_enb8: default + iq_imbal_enb9: default + lo_export0: 'False' + lo_export1: 'False' + lo_export10: 'False' + lo_export11: 'False' + lo_export12: 'False' + lo_export13: 'False' + lo_export14: 'False' + lo_export15: 'False' + lo_export16: 'False' + lo_export17: 'False' + lo_export18: 'False' + lo_export19: 'False' + lo_export2: 'False' + lo_export20: 'False' + lo_export21: 'False' + lo_export22: 'False' + lo_export23: 'False' + lo_export24: 'False' + lo_export25: 'False' + lo_export26: 'False' + lo_export27: 'False' + lo_export28: 'False' + lo_export29: 'False' + lo_export3: 'False' + lo_export30: 'False' + lo_export31: 'False' + lo_export4: 'False' + lo_export5: 'False' + lo_export6: 'False' + lo_export7: 'False' + lo_export8: 'False' + lo_export9: 'False' + lo_source0: internal + lo_source1: internal + lo_source10: internal + lo_source11: internal + lo_source12: internal + lo_source13: internal + lo_source14: internal + lo_source15: internal + lo_source16: internal + lo_source17: internal + lo_source18: internal + lo_source19: internal + lo_source2: internal + lo_source20: internal + lo_source21: internal + lo_source22: internal + lo_source23: internal + lo_source24: internal + lo_source25: internal + lo_source26: internal + lo_source27: internal + lo_source28: internal + lo_source29: internal + lo_source3: internal + lo_source30: internal + lo_source31: internal + lo_source4: internal + lo_source5: internal + lo_source6: internal + lo_source7: internal + lo_source8: internal + lo_source9: internal + maxoutbuf: '0' + minoutbuf: '0' + nchan: '1' + num_mboards: '1' + otw: '' + rx_agc0: Default + rx_agc1: Default + rx_agc10: Default + rx_agc11: Default + rx_agc12: Default + rx_agc13: Default + rx_agc14: Default + rx_agc15: Default + rx_agc16: Default + rx_agc17: Default + rx_agc18: Default + rx_agc19: Default + rx_agc2: Default + rx_agc20: Default + rx_agc21: Default + rx_agc22: Default + rx_agc23: Default + rx_agc24: Default + rx_agc25: Default + rx_agc26: Default + rx_agc27: Default + rx_agc28: Default + rx_agc29: Default + rx_agc3: Default + rx_agc30: Default + rx_agc31: Default + rx_agc4: Default + rx_agc5: Default + rx_agc6: Default + rx_agc7: Default + rx_agc8: Default + rx_agc9: Default + samp_rate: samp_rate + sd_spec0: '' + sd_spec1: '' + sd_spec2: '' + sd_spec3: '' + sd_spec4: '' + sd_spec5: '' + sd_spec6: '' + sd_spec7: '' + show_lo_controls: 'False' + start_time: '-1.0' + stream_args: '' + stream_chans: '[]' + sync: sync + time_source0: '' + time_source1: '' + time_source2: '' + time_source3: '' + time_source4: '' + time_source5: '' + time_source6: '' + time_source7: '' + type: fc32 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [56, 332.0] + rotation: 0 + state: true + +connections: +- [analog_fm_demod_cf_0, '0', blocks_multiply_const_vxx_0_0, '0'] +- [blocks_multiply_const_vxx_0, '0', audio_sink_0, '0'] +- [blocks_multiply_const_vxx_0_0, '0', blocks_multiply_const_vxx_0, '0'] +- [blocks_multiply_const_vxx_0_0, '0', blocks_multiply_const_vxx_0_1, '0'] +- [blocks_multiply_const_vxx_0_0, '0', qtgui_freq_sink_x_0, '0'] +- [blocks_multiply_const_vxx_0_0, '0', qtgui_waterfall_sink_x_0, '0'] +- [blocks_multiply_const_vxx_0_1, '0', qtgui_time_sink_x_0, '0'] +- [rational_resampler_xxx_0, '0', analog_fm_demod_cf_0, '0'] +- [uhd_usrp_source_0, '0', rational_resampler_xxx_0, '0'] + +metadata: + file_format: 1 + grc_version: 3.10.7.0 From d4dc1b8eb0f90cd3bc8d5a23802d89e33c3a8aef Mon Sep 17 00:00:00 2001 From: Chen Jin Date: Mon, 11 Sep 2023 18:51:18 +0000 Subject: [PATCH 2/2] 11318: updated volume range from 0 to 4 with 0.1 step --- fm-receiver-grc/fm-single.grc | 52 +++++------------------------------ 1 file changed, 7 insertions(+), 45 deletions(-) diff --git a/fm-receiver-grc/fm-single.grc b/fm-receiver-grc/fm-single.grc index 4b91bb9..ff1a3ad 100644 --- a/fm-receiver-grc/fm-single.grc +++ b/fm-receiver-grc/fm-single.grc @@ -148,8 +148,8 @@ blocks: orient: QtCore.Qt.Horizontal rangeType: float start: '0' - step: '1' - stop: '100' + step: '0.1' + stop: '4' value: '1' widget: counter_slider states: @@ -195,46 +195,10 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [1456, 672.0] - rotation: 0 - state: true -- name: blocks_multiply_const_vxx_0 - id: blocks_multiply_const_vxx - parameters: - affinity: '' - alias: '' - comment: '' - const: volume - maxoutbuf: '0' - minoutbuf: '0' - type: float - vlen: '1' - states: - bus_sink: false - bus_source: false - bus_structure: null - coordinate: [1152, 672.0] + coordinate: [1168, 656.0] rotation: 0 state: true - name: blocks_multiply_const_vxx_0_0 - id: blocks_multiply_const_vxx - parameters: - affinity: '' - alias: '' - comment: '' - const: '1' - maxoutbuf: '0' - minoutbuf: '0' - type: float - vlen: '1' - states: - bus_sink: false - bus_source: false - bus_structure: null - coordinate: [848, 368.0] - rotation: 0 - state: true -- name: blocks_multiply_const_vxx_0_1 id: blocks_multiply_const_vxx parameters: affinity: '' @@ -249,7 +213,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [1160, 392.0] + coordinate: [848, 368.0] rotation: 0 state: true - name: qtgui_freq_sink_x_0 @@ -427,7 +391,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [1480, 392.0] + coordinate: [1160, 384.0] rotation: 0 state: enabled - name: qtgui_waterfall_sink_x_0 @@ -950,12 +914,10 @@ blocks: connections: - [analog_fm_demod_cf_0, '0', blocks_multiply_const_vxx_0_0, '0'] -- [blocks_multiply_const_vxx_0, '0', audio_sink_0, '0'] -- [blocks_multiply_const_vxx_0_0, '0', blocks_multiply_const_vxx_0, '0'] -- [blocks_multiply_const_vxx_0_0, '0', blocks_multiply_const_vxx_0_1, '0'] +- [blocks_multiply_const_vxx_0_0, '0', audio_sink_0, '0'] - [blocks_multiply_const_vxx_0_0, '0', qtgui_freq_sink_x_0, '0'] +- [blocks_multiply_const_vxx_0_0, '0', qtgui_time_sink_x_0, '0'] - [blocks_multiply_const_vxx_0_0, '0', qtgui_waterfall_sink_x_0, '0'] -- [blocks_multiply_const_vxx_0_1, '0', qtgui_time_sink_x_0, '0'] - [rational_resampler_xxx_0, '0', analog_fm_demod_cf_0, '0'] - [uhd_usrp_source_0, '0', rational_resampler_xxx_0, '0']