Created
July 16, 2024 08:17
-
-
Save kng/c084d08e4f8b40b06cc506ab874ccb03 to your computer and use it in GitHub Desktop.
GNU Rradio IQ WAV tuner
This file contains 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: sa2kng | |
catch_exceptions: 'True' | |
category: '[GRC Hier Blocks]' | |
cmake_opt: '' | |
comment: '' | |
copyright: '' | |
description: '' | |
gen_cmake: 'On' | |
gen_linking: dynamic | |
generate_options: no_gui | |
hier_block_src_path: '.:' | |
id: iqwav_tune | |
max_nouts: '0' | |
output_language: python | |
placement: (0,0) | |
qt_qss_theme: '' | |
realtime_scheduling: '' | |
run: 'True' | |
run_command: '{python} -u {filename}' | |
run_options: run | |
sizing_mode: fixed | |
thread_safe_setters: '' | |
title: IQ WAV tune | |
window_size: 2*1080,1080 | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [8, 12.0] | |
rotation: 0 | |
state: enabled | |
blocks: | |
- name: blocks_complex_to_float_0 | |
id: blocks_complex_to_float | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
vlen: '1' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [792, 160.0] | |
rotation: 0 | |
state: enabled | |
- name: blocks_float_to_complex_0 | |
id: blocks_float_to_complex | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
vlen: '1' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [400, 144.0] | |
rotation: 0 | |
state: enabled | |
- name: blocks_rotator_cc_0 | |
id: blocks_rotator_cc | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
phase_inc: 2.0 * math.pi * (freq_adjust / samp_rate) | |
tag_inc_update: 'False' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [600, 160.0] | |
rotation: 0 | |
state: enabled | |
- name: blocks_wavfile_sink_0 | |
id: blocks_wavfile_sink | |
parameters: | |
affinity: '' | |
alias: '' | |
append: 'False' | |
bits_per_sample1: FORMAT_PCM_16 | |
bits_per_sample2: FORMAT_PCM_16 | |
bits_per_sample3: FORMAT_VORBIS | |
bits_per_sample4: FORMAT_PCM_16 | |
comment: '' | |
file: out_file | |
format: FORMAT_WAV | |
nchan: '2' | |
samp_rate: samp_rate | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [976, 140.0] | |
rotation: 0 | |
state: enabled | |
- name: blocks_wavfile_source_0 | |
id: blocks_wavfile_source | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
file: in_file | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
nchan: '2' | |
repeat: 'False' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [216, 144.0] | |
rotation: 0 | |
state: enabled | |
- name: freq_adjust | |
id: parameter | |
parameters: | |
alias: '' | |
comment: '' | |
hide: none | |
label: Frequency adjust | |
short_id: f | |
type: intx | |
value: '0' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [600, 12.0] | |
rotation: 0 | |
state: enabled | |
- name: import_0 | |
id: import | |
parameters: | |
alias: '' | |
comment: '' | |
imports: import math | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [8, 148.0] | |
rotation: 0 | |
state: enabled | |
- name: in_file | |
id: parameter | |
parameters: | |
alias: '' | |
comment: '' | |
hide: none | |
label: '' | |
short_id: i | |
type: str | |
value: '' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [216, 12.0] | |
rotation: 0 | |
state: enabled | |
- name: out_file | |
id: parameter | |
parameters: | |
alias: '' | |
comment: '' | |
hide: none | |
label: '' | |
short_id: o | |
type: str | |
value: '' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [976, 12.0] | |
rotation: 0 | |
state: enabled | |
- name: samp_rate | |
id: parameter | |
parameters: | |
alias: '' | |
comment: '' | |
hide: none | |
label: sample rate | |
short_id: s | |
type: intx | |
value: '48000' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [400, 12.0] | |
rotation: 0 | |
state: enabled | |
connections: | |
- [blocks_complex_to_float_0, '0', blocks_wavfile_sink_0, '0'] | |
- [blocks_complex_to_float_0, '1', blocks_wavfile_sink_0, '1'] | |
- [blocks_float_to_complex_0, '0', blocks_rotator_cc_0, '0'] | |
- [blocks_rotator_cc_0, '0', blocks_complex_to_float_0, '0'] | |
- [blocks_wavfile_source_0, '0', blocks_float_to_complex_0, '0'] | |
- [blocks_wavfile_source_0, '1', blocks_float_to_complex_0, '1'] | |
metadata: | |
file_format: 1 | |
grc_version: 3.10.10.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment