diff --git a/audio_costas.grc b/costas/audio_costas.grc similarity index 100% rename from audio_costas.grc rename to costas/audio_costas.grc diff --git a/costas/costas b/costas/costas new file mode 100755 index 0000000..82dd5ca Binary files /dev/null and b/costas/costas differ diff --git a/costas.c b/costas/costas.c similarity index 100% rename from costas.c rename to costas/costas.c diff --git a/from_audio.grc b/costas/from_audio.grc similarity index 100% rename from from_audio.grc rename to costas/from_audio.grc diff --git a/oszi.grc b/costas/oszi.grc similarity index 100% rename from oszi.grc rename to costas/oszi.grc diff --git a/resample_recording.grc b/costas/resample_recording.grc similarity index 100% rename from resample_recording.grc rename to costas/resample_recording.grc diff --git a/view_waterfall.grc b/costas/view_waterfall.grc similarity index 100% rename from view_waterfall.grc rename to costas/view_waterfall.grc diff --git a/wobble.grc b/costas/wobble.grc similarity index 100% rename from wobble.grc rename to costas/wobble.grc diff --git a/fft-beacon-finder/generate-testdata.grc b/fft-beacon-finder/generate-testdata.grc new file mode 100644 index 0000000..563bbd9 --- /dev/null +++ b/fft-beacon-finder/generate-testdata.grc @@ -0,0 +1,380 @@ +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: generate_testdata + 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: Not titled yet + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 8] + rotation: 0 + state: enabled + +blocks: +- name: samp_rate + id: variable + parameters: + comment: '' + value: '1000000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [184, 12] + rotation: 0 + state: enabled +- name: analog_noise_source_x_0 + id: analog_noise_source_x + parameters: + affinity: '' + alias: '' + amp: '0.001' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + noise_type: analog.GR_GAUSSIAN + seed: '0' + type: complex + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [984, 148.0] + rotation: 0 + state: true +- name: analog_sig_source_x_0 + id: analog_sig_source_x + parameters: + affinity: '' + alias: '' + amp: '1' + comment: '' + freq: '0.01' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + phase: '0' + samp_rate: samp_rate + type: float + waveform: analog.GR_COS_WAVE + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [648, 324.0] + rotation: 0 + state: true +- name: analog_sig_source_x_1 + id: analog_sig_source_x + parameters: + affinity: '' + alias: '' + amp: '1' + comment: '' + freq: '-250000' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + phase: '0' + samp_rate: samp_rate + type: complex + waveform: analog.GR_COS_WAVE + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [208, 132.0] + rotation: 0 + state: true +- name: analog_sig_source_x_1_0 + id: analog_sig_source_x + parameters: + affinity: '' + alias: '' + amp: '1' + comment: '' + freq: '250000' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + phase: '0' + samp_rate: samp_rate + type: complex + waveform: analog.GR_COS_WAVE + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [208, 260.0] + rotation: 0 + state: true +- name: analog_sig_source_x_1_0_0 + id: analog_sig_source_x + parameters: + affinity: '' + alias: '' + amp: '1' + comment: '' + freq: '0' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + phase: '0' + samp_rate: samp_rate + type: complex + waveform: analog.GR_COS_WAVE + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [208, 404.0] + rotation: 0 + state: true +- name: blocks_add_xx_0 + 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: [1192, 240.0] + rotation: 0 + state: true +- name: blocks_add_xx_1 + id: blocks_add_xx + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + num_inputs: '3' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [576, 224.0] + rotation: 0 + state: true +- name: blocks_file_sink_0 + id: blocks_file_sink + parameters: + affinity: '' + alias: '' + append: 'False' + comment: '' + file: input.raw + type: complex + unbuffered: 'False' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1320, 236.0] + rotation: 0 + state: true +- name: blocks_multiply_xx_0 + id: blocks_multiply_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: [1048, 256.0] + rotation: 0 + state: true +- name: blocks_multiply_xx_1 + id: blocks_multiply_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: [448, 448.0] + rotation: 0 + state: true +- name: blocks_vco_c_0 + id: blocks_vco_c + parameters: + affinity: '' + alias: '' + amplitude: '1.0' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + samp_rate: samp_rate + sensitivity: '10000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [864, 348.0] + rotation: 0 + state: true +- name: blocks_vector_source_x_0 + id: blocks_vector_source_x + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + repeat: 'True' + tags: '[]' + type: float + vector: (1, 1, -1, -1, 1, -1, 1, -1) + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [32, 572.0] + rotation: 0 + state: true +- 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: '511' + 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: complex + update_time: '0.10' + wintype: window.WIN_BLACKMAN_hARRIS + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1320, 124.0] + rotation: 0 + state: true +- name: rational_resampler_xxx_0 + id: rational_resampler_xxx + parameters: + affinity: '' + alias: '' + comment: '' + decim: '800' + fbw: '0' + interp: samp_rate + maxoutbuf: '0' + minoutbuf: '0' + taps: '[]' + type: fcc + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [232, 564.0] + rotation: 0 + state: true + +connections: +- [analog_noise_source_x_0, '0', blocks_add_xx_0, '0'] +- [analog_sig_source_x_0, '0', blocks_vco_c_0, '0'] +- [analog_sig_source_x_1, '0', blocks_add_xx_1, '0'] +- [analog_sig_source_x_1_0, '0', blocks_add_xx_1, '1'] +- [analog_sig_source_x_1_0_0, '0', blocks_multiply_xx_1, '0'] +- [blocks_add_xx_0, '0', blocks_file_sink_0, '0'] +- [blocks_add_xx_0, '0', qtgui_waterfall_sink_x_0, '0'] +- [blocks_add_xx_1, '0', blocks_multiply_xx_0, '0'] +- [blocks_multiply_xx_0, '0', blocks_add_xx_0, '1'] +- [blocks_multiply_xx_1, '0', blocks_add_xx_1, '2'] +- [blocks_vco_c_0, '0', blocks_multiply_xx_0, '1'] +- [blocks_vector_source_x_0, '0', rational_resampler_xxx_0, '0'] +- [rational_resampler_xxx_0, '0', blocks_multiply_xx_1, '1'] + +metadata: + file_format: 1