Last active
January 2, 2023 17:39
-
-
Save jamesliu96/fd25dec756bacfd042f12fed20520858 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| options: | |
| parameters: | |
| author: jamesliu96 | |
| catch_exceptions: 'True' | |
| category: '[GRC Hier Blocks]' | |
| cmake_opt: '' | |
| comment: '' | |
| copyright: jamesliu96 | |
| description: '' | |
| gen_cmake: 'On' | |
| gen_linking: dynamic | |
| generate_options: qt_gui | |
| hier_block_src_path: '.:' | |
| id: freedom | |
| 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: freedom | |
| window_size: (1000,1000) | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [24, 24.0] | |
| rotation: 0 | |
| state: enabled | |
| blocks: | |
| - name: amp | |
| id: variable_qtgui_check_box | |
| parameters: | |
| comment: '' | |
| 'false': 'False' | |
| gui_hint: '' | |
| label: AMP | |
| 'true': 'True' | |
| type: bool | |
| value: 'False' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [1664, 88.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: fm_band | |
| id: variable_qtgui_chooser | |
| parameters: | |
| comment: '' | |
| gui_hint: '' | |
| label: FM Band | |
| label0: 'Off' | |
| label1: NBFM | |
| label2: WBFM | |
| label3: '' | |
| label4: '' | |
| labels: '[]' | |
| num_opts: '3' | |
| option0: '0' | |
| option1: '1' | |
| option2: '-1' | |
| option3: '3' | |
| option4: '4' | |
| options: '[0, 1, 2]' | |
| orient: Qt.QHBoxLayout | |
| type: int | |
| value: '0' | |
| widget: radio_buttons | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [744, 36.0] | |
| rotation: 0 | |
| state: true | |
| - name: freq | |
| id: variable | |
| parameters: | |
| comment: '' | |
| value: '409800000' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [144, 24.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: gain | |
| id: variable_qtgui_range | |
| parameters: | |
| comment: '' | |
| gui_hint: '' | |
| label: Gain | |
| min_len: '48' | |
| orient: QtCore.Qt.Horizontal | |
| rangeType: int | |
| start: '0' | |
| step: '1' | |
| stop: '47' | |
| value: '0' | |
| widget: counter_slider | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [1568, 36.0] | |
| rotation: 0 | |
| state: true | |
| - name: hackrf_samp_rate | |
| id: variable | |
| parameters: | |
| comment: '' | |
| value: '2000000' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [1568, 120.0] | |
| rotation: 0 | |
| state: true | |
| - name: path | |
| id: variable | |
| parameters: | |
| comment: '' | |
| value: '"/home/jamesliu96/sample_48k.wav"' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [208, 24.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: pl_freq | |
| id: variable_qtgui_chooser | |
| parameters: | |
| comment: '' | |
| gui_hint: '' | |
| label: PL | |
| label0: '' | |
| label1: '' | |
| label2: '' | |
| label3: '' | |
| label4: '' | |
| labels: '["0.0", "67.0", "71.9", "74.4", "77.0", "79.7", "82.5", "85.4", "88.5", | |
| "91.5", "94.8", "97.4", "100.0", "103.5", "107.2", "110.9", "114.8", "118.8", | |
| "123.0", "127.3", "131.8", "136.5", "141.3", "146.2", "151.4", "156.7", "162.2", | |
| "167.9", "173.8", "179.9", "186.2", "192.8", "203.5", "210.7", "218.1", "225.7", | |
| "233.6", "241.8", "250.3"]' | |
| num_opts: '0' | |
| option0: '0' | |
| option1: '1' | |
| option2: '2' | |
| option3: '3' | |
| option4: '4' | |
| options: '[0.0, 67.0, 71.9, 74.4, 77.0, 79.7, 82.5, 85.4, 88.5, 91.5, 94.8, 97.4, | |
| 100.0, 103.5, 107.2, 110.9, 114.8, 118.8, 123.0, 127.3, 131.8, 136.5, 141.3, | |
| 146.2, 151.4, 156.7, 162.2, 167.9, 173.8, 179.9, 186.2, 192.8, 203.5, 210.7, | |
| 218.1, 225.7, 233.6, 241.8, 250.3]' | |
| orient: Qt.QVBoxLayout | |
| type: real | |
| value: '0' | |
| widget: combo_box | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [24, 356.0] | |
| rotation: 0 | |
| state: true | |
| - name: pl_volume | |
| id: variable_qtgui_range | |
| parameters: | |
| comment: '' | |
| gui_hint: '' | |
| label: PL Volume | |
| min_len: '101' | |
| orient: QtCore.Qt.Horizontal | |
| rangeType: float | |
| start: '0.0' | |
| step: '0.01' | |
| stop: '1.0' | |
| value: '0.0' | |
| widget: counter_slider | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [184, 356.0] | |
| rotation: 0 | |
| state: true | |
| - name: samp_rate | |
| id: variable | |
| parameters: | |
| comment: '' | |
| value: '48000' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [24, 136.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: system_volume | |
| id: variable_qtgui_range | |
| parameters: | |
| comment: '' | |
| gui_hint: '' | |
| label: System Volume | |
| min_len: '101' | |
| orient: QtCore.Qt.Horizontal | |
| rangeType: float | |
| start: '0.0' | |
| step: '0.01' | |
| stop: '1.0' | |
| value: '0.0' | |
| widget: counter_slider | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [376, 348.0] | |
| rotation: 0 | |
| state: true | |
| - name: volume | |
| id: variable_qtgui_range | |
| parameters: | |
| comment: '' | |
| gui_hint: '' | |
| label: File Volume | |
| min_len: '101' | |
| orient: QtCore.Qt.Horizontal | |
| rangeType: float | |
| start: '0.0' | |
| step: '0.01' | |
| stop: '1.0' | |
| value: '0.0' | |
| widget: counter_slider | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [176, 100.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: analog_nbfm_tx_0 | |
| id: analog_nbfm_tx | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| audio_rate: samp_rate | |
| comment: '' | |
| fh: '-1.0' | |
| max_dev: 5e3 | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| quad_rate: samp_rate | |
| tau: 75e-6 | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [888, 156.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: analog_sig_source_x_0 | |
| id: analog_sig_source_x | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| amp: pl_volume | |
| comment: '' | |
| freq: pl_freq | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| offset: '0' | |
| phase: '0' | |
| samp_rate: samp_rate | |
| type: float | |
| waveform: analog.GR_SIN_WAVE | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [24, 256.0] | |
| rotation: 0 | |
| state: true | |
| - name: analog_wfm_tx_0 | |
| id: analog_wfm_tx | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| audio_rate: samp_rate | |
| comment: '' | |
| fh: '-1.0' | |
| max_dev: 75e3 | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| quad_rate: samp_rate | |
| tau: 75e-6 | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [888, 244.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: audio_source_0 | |
| id: audio_source | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| comment: '' | |
| device_name: '"Soundflower (2ch)"' | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| num_outputs: '1' | |
| ok_to_block: 'True' | |
| samp_rate: samp_rate | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [144, 456.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: blocks_add_xx_0 | |
| id: blocks_add_xx | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| comment: '' | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| num_inputs: '3' | |
| type: float | |
| vlen: '1' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [592, 196.0] | |
| rotation: 0 | |
| state: true | |
| - name: blocks_add_xx_1 | |
| id: blocks_add_xx | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| comment: '' | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| num_inputs: '2' | |
| type: complex | |
| vlen: '1' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [1256, 212.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: [176, 192.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: blocks_multiply_const_vxx_1 | |
| id: blocks_multiply_const_vxx | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| comment: '' | |
| const: system_volume | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| type: float | |
| vlen: '1' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [376, 296.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: blocks_multiply_const_vxx_2 | |
| id: blocks_multiply_const_vxx | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| comment: '' | |
| const: min(-fm_band, 0) | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| type: complex | |
| vlen: '1' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [1048, 176.0] | |
| rotation: 0 | |
| state: true | |
| - name: blocks_multiply_const_vxx_2_0 | |
| id: blocks_multiply_const_vxx | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| comment: '' | |
| const: min(-fm_band, 0) | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| type: float | |
| vlen: '1' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [744, 176.0] | |
| rotation: 0 | |
| state: true | |
| - name: blocks_multiply_const_vxx_3 | |
| id: blocks_multiply_const_vxx | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| comment: '' | |
| const: min(fm_band, 0) | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| type: complex | |
| vlen: '1' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [1048, 264.0] | |
| rotation: 0 | |
| state: true | |
| - name: blocks_multiply_const_vxx_3_0 | |
| id: blocks_multiply_const_vxx | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| comment: '' | |
| const: min(fm_band, 0) | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| type: float | |
| vlen: '1' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [744, 264.0] | |
| rotation: 0 | |
| state: true | |
| - name: blocks_wavfile_source_0 | |
| id: blocks_wavfile_source | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| comment: '' | |
| file: path | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| nchan: '1' | |
| repeat: 'True' | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [24, 188.0] | |
| rotation: 0 | |
| state: true | |
| - name: qtgui_sink_x_0 | |
| id: qtgui_sink_x | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| bw: hackrf_samp_rate | |
| comment: '' | |
| fc: freq | |
| fftsize: '1024' | |
| gui_hint: '' | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| name: '""' | |
| plotconst: 'True' | |
| plotfreq: 'True' | |
| plottime: 'True' | |
| plotwaterfall: 'True' | |
| rate: '10' | |
| showports: 'False' | |
| showrf: 'True' | |
| type: complex | |
| wintype: window.WIN_BLACKMAN_hARRIS | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [1568, 244.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: rational_resampler_xxx_0 | |
| id: rational_resampler_xxx | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| comment: '' | |
| decim: samp_rate | |
| fbw: '0' | |
| interp: hackrf_samp_rate | |
| maxoutbuf: '0' | |
| minoutbuf: '0' | |
| taps: '[]' | |
| type: ccc | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [1360, 208.0] | |
| rotation: 0 | |
| state: enabled | |
| - name: soapy_hackrf_sink_0 | |
| id: soapy_hackrf_sink | |
| parameters: | |
| affinity: '' | |
| alias: '' | |
| amp: amp | |
| bandwidth: '0' | |
| center_freq: freq | |
| comment: '' | |
| dev_args: '' | |
| samp_rate: hackrf_samp_rate | |
| type: fc32 | |
| vga: gain | |
| states: | |
| bus_sink: false | |
| bus_source: false | |
| bus_structure: null | |
| coordinate: [1568, 172.0] | |
| rotation: 0 | |
| state: enabled | |
| connections: | |
| - [analog_nbfm_tx_0, '0', blocks_multiply_const_vxx_2, '0'] | |
| - [analog_sig_source_x_0, '0', blocks_add_xx_0, '1'] | |
| - [analog_wfm_tx_0, '0', blocks_multiply_const_vxx_3, '0'] | |
| - [audio_source_0, '0', blocks_multiply_const_vxx_1, '0'] | |
| - [blocks_add_xx_0, '0', blocks_multiply_const_vxx_2_0, '0'] | |
| - [blocks_add_xx_0, '0', blocks_multiply_const_vxx_3_0, '0'] | |
| - [blocks_add_xx_1, '0', rational_resampler_xxx_0, '0'] | |
| - [blocks_multiply_const_vxx_0, '0', blocks_add_xx_0, '0'] | |
| - [blocks_multiply_const_vxx_1, '0', blocks_add_xx_0, '2'] | |
| - [blocks_multiply_const_vxx_2, '0', blocks_add_xx_1, '0'] | |
| - [blocks_multiply_const_vxx_2_0, '0', analog_nbfm_tx_0, '0'] | |
| - [blocks_multiply_const_vxx_3, '0', blocks_add_xx_1, '1'] | |
| - [blocks_multiply_const_vxx_3_0, '0', analog_wfm_tx_0, '0'] | |
| - [blocks_wavfile_source_0, '0', blocks_multiply_const_vxx_0, '0'] | |
| - [rational_resampler_xxx_0, '0', qtgui_sink_x_0, '0'] | |
| - [rational_resampler_xxx_0, '0', soapy_hackrf_sink_0, '0'] | |
| metadata: | |
| file_format: 1 | |
| grc_version: 3.10.5.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment