Last active
August 23, 2020 10:22
-
-
Save marcusmueller/ce1f1c638e271e0f4b32a076fbdaa69f to your computer and use it in GitHub Desktop.
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: "Marcus M\xFCller" | |
category: '[GRC Hier Blocks]' | |
cmake_opt: '' | |
comment: '' | |
copyright: '2020' | |
description: '' | |
gen_cmake: 'On' | |
gen_linking: dynamic | |
generate_options: qt_gui | |
hier_block_src_path: '.:' | |
id: audio_channel_sounder | |
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: Audio sounder | |
window_size: '' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [8, 12.0] | |
rotation: 0 | |
state: enabled | |
blocks: | |
- name: ampl | |
id: variable_qtgui_range | |
parameters: | |
comment: '' | |
gui_hint: '[0,0,1,1]' | |
label: Amplitude [dBmax] | |
min_len: '200' | |
orient: Qt.Horizontal | |
rangeType: float | |
start: '-30' | |
step: '0.5' | |
stop: '0' | |
value: '-10' | |
widget: counter_slider | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [384, 12.0] | |
rotation: 0 | |
state: true | |
- name: analog_noise_source_x_0 | |
id: analog_noise_source_x | |
parameters: | |
affinity: '' | |
alias: '' | |
amp: 10**(ampl/20) | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
noise_type: analog.GR_GAUSSIAN | |
seed: '0' | |
type: float | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [8, 164.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: f_sample | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [496, 180.0] | |
rotation: 0 | |
state: true | |
- name: audio_source_0 | |
id: audio_source | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
device_name: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
num_outputs: '1' | |
ok_to_block: 'True' | |
samp_rate: f_sample | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [16, 292.0] | |
rotation: 0 | |
state: true | |
- name: f_sample | |
id: parameter | |
parameters: | |
alias: '' | |
comment: '' | |
hide: none | |
label: Sample Rate (44100 Hz, 48000 Hz...) | |
short_id: s | |
type: intx | |
value: '44100' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [184, 12.0] | |
rotation: 0 | |
state: true | |
- name: low_pass_filter_0 | |
id: low_pass_filter | |
parameters: | |
affinity: '' | |
alias: '' | |
beta: '6.76' | |
comment: '' | |
cutoff_freq: 5e3 | |
decim: '1' | |
gain: '1' | |
interp: '1' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
samp_rate: f_sample | |
type: fir_filter_fff | |
width: 0.5e3 | |
win: firdes.WIN_HAMMING | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [240, 132.0] | |
rotation: 0 | |
state: true | |
- name: qtgui_freq_sink_x_0 | |
id: qtgui_freq_sink_x | |
parameters: | |
affinity: '' | |
alias: '' | |
alpha1: '0.5' | |
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: '0.05' | |
axislabels: 'True' | |
bw: f_sample | |
color1: '"dark blue"' | |
color10: '"dark blue"' | |
color2: '"dark green"' | |
color3: '"green"' | |
color4: '"black"' | |
color5: '"cyan"' | |
color6: '"magenta"' | |
color7: '"yellow"' | |
color8: '"dark red"' | |
color9: '"dark green"' | |
comment: '' | |
ctrlpanel: 'False' | |
fc: '0' | |
fftsize: '8192' | |
freqhalf: 'False' | |
grid: 'True' | |
gui_hint: '[1,0,8,1]' | |
label: Relative Gain | |
label1: input spectrum | |
label10: '''''' | |
label2: output spectrum | |
label3: '''''' | |
label4: '''''' | |
label5: '''''' | |
label6: '''''' | |
label7: '''''' | |
label8: '''''' | |
label9: '''''' | |
legend: 'True' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
name: '"Spectrum"' | |
nconnections: '2' | |
showports: 'False' | |
tr_chan: '0' | |
tr_level: '0.0' | |
tr_mode: qtgui.TRIG_MODE_FREE | |
tr_tag: '""' | |
type: float | |
units: dB | |
update_time: '0.05' | |
width1: '2' | |
width10: '1' | |
width2: '2' | |
width3: '1' | |
width4: '1' | |
width5: '1' | |
width6: '1' | |
width7: '1' | |
width8: '1' | |
width9: '1' | |
wintype: firdes.WIN_BLACKMAN_hARRIS | |
ymax: '10' | |
ymin: '-140' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [496, 264.0] | |
rotation: 0 | |
state: true | |
connections: | |
- [analog_noise_source_x_0, '0', low_pass_filter_0, '0'] | |
- [audio_source_0, '0', qtgui_freq_sink_x_0, '1'] | |
- [low_pass_filter_0, '0', audio_sink_0, '0'] | |
- [low_pass_filter_0, '0', qtgui_freq_sink_x_0, '0'] | |
metadata: | |
file_format: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment