options: parameters: author: flarroca category: '[GRC Hier Blocks]' cmake_opt: '' comment: '' copyright: '' description: '' gen_cmake: 'On' gen_linking: dynamic generate_options: qt_gui hier_block_src_path: '.:' id: sintesis_musica 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 window_size: '' states: bus_sink: false bus_source: false bus_structure: null coordinate: [8, 8] rotation: 0 state: enabled blocks: - name: a1 id: variable_qtgui_range parameters: comment: '' gui_hint: tab@1 label: a1 min_len: '200' orient: Qt.Horizontal rangeType: float start: '0' step: '0.01' stop: '1' value: '1' widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [51, 512] rotation: 0 state: true - name: a2 id: variable_qtgui_range parameters: comment: '' gui_hint: tab@1 label: a2 min_len: '200' orient: Qt.Horizontal rangeType: float start: '0' step: '0.01' stop: '1' value: '0.5' widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [217, 514] rotation: 0 state: true - name: a3 id: variable_qtgui_range parameters: comment: '' gui_hint: tab@1 label: a3 min_len: '200' orient: Qt.Horizontal rangeType: float start: '0' step: '0.01' stop: '1' value: '0.5' widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [379, 511] rotation: 0 state: true - name: a4 id: variable_qtgui_range parameters: comment: '' gui_hint: tab@1 label: a4 min_len: '200' orient: Qt.Horizontal rangeType: float start: '0' step: '0.01' stop: '1' value: '0' widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [543, 509] rotation: 0 state: true - name: a5 id: variable_qtgui_range parameters: comment: '' gui_hint: '' label: a5 min_len: '200' orient: Qt.Horizontal rangeType: float start: '0' step: '1' stop: '100' value: '50' widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [703, 504] rotation: 0 state: disabled - name: duracion id: variable parameters: comment: '' value: '2' states: bus_sink: false bus_source: false bus_structure: null coordinate: [287, 20] rotation: 0 state: true - name: f id: variable_qtgui_range parameters: comment: '' gui_hint: tab@0 label: Frecuencia entrada al modulador FM min_len: '200' orient: Qt.Horizontal rangeType: float start: '0' step: '1' stop: samp_rate/2 value: '440' widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [24, 281] rotation: 0 state: true - name: f_c id: variable_qtgui_range parameters: comment: '' gui_hint: tab@0 label: "Frecuencia portadora se\xF1al modulada" min_len: '200' orient: Qt.Horizontal rangeType: float start: '0' step: '1' stop: samp_rate/2 value: '440' widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [209, 140] rotation: 0 state: true - name: f_cutoff id: variable_qtgui_range parameters: comment: '' gui_hint: tab@1 label: f_cutoff min_len: '200' orient: Qt.Horizontal rangeType: float start: '10' step: '100' stop: samp_rate/2.0 value: samp_rate/10 widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [1102, 714] rotation: 0 state: disabled - name: f_delta id: variable_qtgui_range parameters: comment: '' gui_hint: tab@0 label: Desviacion maxima del modulador FM min_len: '200' orient: Qt.Horizontal rangeType: float start: '0' step: '0.1' stop: '1000' value: '25' widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [26, 143] rotation: 0 state: true - name: lista id: variable parameters: comment: '' value: list(a1*np.arange(n1)/n1) + list(a1+(a2-a1)*np.arange(n2)/n2) + list(a2+(a3-a2)*np.arange(n3)/(n3)) + list(a3+(a4-a3)*np.arange(n4)/n4) + list(a4+(-a4)*np.arange(n5)/n5) states: bus_sink: false bus_source: false bus_structure: null coordinate: [859, 625] rotation: 0 state: true - name: n id: variable parameters: comment: '' value: int(duracion*samp_rate) states: bus_sink: false bus_source: false bus_structure: null coordinate: [384, 25] rotation: 0 state: true - name: n1 id: variable_qtgui_range parameters: comment: '' gui_hint: tab@1 label: n1 min_len: '200' orient: Qt.Horizontal rangeType: int start: '0' step: '1' stop: n value: int(1/8*n) widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [39, 659] rotation: 0 state: true - name: n2 id: variable_qtgui_range parameters: comment: '' gui_hint: tab@1 label: n2 min_len: '200' orient: Qt.Horizontal rangeType: int start: '0' step: '1' stop: n value: int(1/8*n) widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [205, 661] rotation: 0 state: true - name: n3 id: variable_qtgui_range parameters: comment: '' gui_hint: tab@1 label: n3 min_len: '200' orient: Qt.Horizontal rangeType: float start: '0' step: '1' stop: n value: int(1/4*n) widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [367, 658] rotation: 0 state: true - name: n4 id: variable_qtgui_range parameters: comment: '' gui_hint: tab@1 label: n4 min_len: '200' orient: Qt.Horizontal rangeType: float start: '0' step: '1' stop: n value: int(1/2*n) widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [531, 656] rotation: 0 state: true - name: n5 id: variable_qtgui_range parameters: comment: '' gui_hint: tab@1 label: n5 min_len: '200' orient: Qt.Horizontal rangeType: int start: '0' step: '1' stop: n value: int(1/2*n) widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null coordinate: [667, 656] rotation: 0 state: true - name: samp_rate id: variable parameters: comment: '' value: '48000' states: bus_sink: false bus_source: false bus_structure: null coordinate: [184, 12] rotation: 0 state: enabled - name: analog_frequency_modulator_fc_0 id: analog_frequency_modulator_fc parameters: affinity: '' alias: '' comment: '' maxoutbuf: '0' minoutbuf: '0' sensitivity: 2*3.14*f_delta/samp_rate states: bus_sink: false bus_source: false bus_structure: null coordinate: [729, 247] rotation: 0 state: enabled - name: analog_sig_source_x_0 id: analog_sig_source_x parameters: affinity: '' alias: '' amp: '1' comment: '' freq: f 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: [447, 266] rotation: 0 state: enabled - name: analog_sig_source_x_1 id: analog_sig_source_x parameters: affinity: '' alias: '' amp: '1' comment: '' freq: f_c 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: [641, 97] rotation: 0 state: enabled - name: audio_sink_0 id: audio_sink parameters: affinity: '' alias: '' comment: '' device_name: '' num_inputs: '1' ok_to_block: 'True' samp_rate: samp_rate states: bus_sink: false bus_source: false bus_structure: null coordinate: [1460, 139] rotation: 0 state: enabled - name: blocks_complex_to_real_0 id: blocks_complex_to_real parameters: affinity: '' alias: '' comment: '' maxoutbuf: '0' minoutbuf: '0' vlen: '1' states: bus_sink: false bus_source: false bus_structure: null coordinate: [1205, 149] rotation: 0 state: enabled - name: blocks_multiply_const_vxx_0 id: blocks_multiply_const_vxx parameters: affinity: '' alias: '' comment: '' const: '0.9' maxoutbuf: '0' minoutbuf: '0' type: float vlen: '1' states: bus_sink: false bus_source: false bus_structure: null coordinate: [1358, 254] rotation: 0 state: enabled - 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: [935, 177] rotation: 0 state: enabled - name: blocks_multiply_xx_1 id: blocks_multiply_xx parameters: affinity: '' alias: '' comment: '' maxoutbuf: '0' minoutbuf: '0' num_inputs: '2' type: float vlen: '1' states: bus_sink: false bus_source: false bus_structure: null coordinate: [1193, 246] 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: lista vlen: '1' states: bus_sink: false bus_source: false bus_structure: null coordinate: [889, 424] rotation: 0 state: true - name: import_0 id: import parameters: alias: '' comment: '' imports: import numpy as np states: bus_sink: false bus_source: false bus_structure: null coordinate: [394, 123] rotation: 0 state: true - name: low_pass_filter_0 id: low_pass_filter parameters: affinity: '' alias: '' beta: '6.76' comment: '' cutoff_freq: f_cutoff decim: '1' gain: '1' interp: '1' maxoutbuf: '0' minoutbuf: '0' samp_rate: samp_rate type: fir_filter_fff width: '500' win: firdes.WIN_HAMMING states: bus_sink: false bus_source: false bus_structure: null coordinate: [1069, 335] rotation: 0 state: bypassed - 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' showports: 'False' tr_chan: '0' tr_level: '0.0' tr_mode: qtgui.TRIG_MODE_FREE tr_tag: '""' type: complex 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: firdes.WIN_BLACKMAN_hARRIS ymax: '10' ymin: '-140' states: bus_sink: false bus_source: false bus_structure: null coordinate: [976, 13] rotation: 0 state: disabled - name: qtgui_freq_sink_x_1 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: tab@0 label: Relative Gain label1: '' label10: '''''' label2: '''''' label3: '''''' label4: '''''' label5: '''''' label6: '''''' label7: '''''' label8: '''''' label9: '''''' legend: 'True' maxoutbuf: '0' minoutbuf: '0' name: "\"Espectro se\xF1al sintetizada\"" nconnections: '1' 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: firdes.WIN_BLACKMAN_hARRIS ymax: '10' ymin: '-140' states: bus_sink: false bus_source: false bus_structure: null coordinate: [1207, 581] 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: tab@1 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: len(lista) 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.1' ymin: '-0.1' yunit: '""' states: bus_sink: false bus_source: false bus_structure: null coordinate: [1338, 406] rotation: 0 state: true - name: tab id: qtgui_tab_widget parameters: alias: '' comment: '' gui_hint: '' label0: Modulacion FM label1: attack decay sustain release label10: Tab 10 label11: Tab 11 label12: Tab 12 label13: Tab 13 label14: Tab 14 label15: Tab 15 label16: Tab 16 label17: Tab 17 label18: Tab 18 label19: Tab 19 label2: Tab 2 label3: Tab 3 label4: Tab 4 label5: Tab 5 label6: Tab 6 label7: Tab 7 label8: Tab 8 label9: Tab 9 num_tabs: '2' states: bus_sink: false bus_source: false bus_structure: null coordinate: [224, 360] rotation: 0 state: true connections: - [analog_frequency_modulator_fc_0, '0', blocks_multiply_xx_0, '1'] - [analog_sig_source_x_0, '0', analog_frequency_modulator_fc_0, '0'] - [analog_sig_source_x_1, '0', blocks_multiply_xx_0, '0'] - [blocks_complex_to_real_0, '0', blocks_multiply_xx_1, '0'] - [blocks_multiply_const_vxx_0, '0', audio_sink_0, '0'] - [blocks_multiply_const_vxx_0, '0', qtgui_freq_sink_x_1, '0'] - [blocks_multiply_xx_0, '0', blocks_complex_to_real_0, '0'] - [blocks_multiply_xx_0, '0', qtgui_freq_sink_x_0, '0'] - [blocks_multiply_xx_1, '0', blocks_multiply_const_vxx_0, '0'] - [blocks_vector_source_x_0, '0', low_pass_filter_0, '0'] - [low_pass_filter_0, '0', blocks_multiply_xx_1, '1'] - [low_pass_filter_0, '0', qtgui_time_sink_x_0, '0'] metadata: file_format: 1