Using tonegenerator to play an mp34/28/2023 Self.wxgui_fftsink2_0 = fftsink2.fft_sink_c( Self.wxgui_waterfallsink2_0.set_callback(wxgui_waterfallsink2_0_callback) Self.Add(self.wxgui_waterfallsink2_0.win)ĭef wxgui_waterfallsink2_0_callback(x, y): Self.wxgui_waterfallsink2_0 = waterfallsink2.waterfall_sink_c( Self._Frequency_text_box = forms.text_box( _Frequency_sizer = wx.BoxSizer(wx.VERTICAL) Self._Loudness_text_box = forms.text_box( _Loudness_sizer = wx.BoxSizer(wx.VERTICAL) Self.SetIcon(wx.Icon(_icon_path, wx.BITMAP_TYPE_ANY)) _icon_path = "/usr/share/icons/hicolor/32x32/apps/gnuradio-grc.png" Grc_wxgui.top_block_gui._init_(self, title="Top Block") The code generated by Gnuradio from the example is: #!/usr/bin/env pythonįrom gnuradio.eng_option import eng_optionįrom gnuradio.wxgui import waterfallsink2įrom grc_gnuradio import wxgui as grc_wxguiĬlass top_block(grc_wxgui.top_block_gui): When you select Build –> Execute, GnuRadio generates a python script in the current directory with the name top_block.py. The two graphics show the FFT of the signals. If you move the slider slowly around, then the height of the tone changes.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |