gnuradio

GNU Radio: Use sound output as input source

情到浓时终转凉″ 提交于 2019-11-30 23:45:20
In gnuradio-companion I'm using the audio source block as my input signal for the next blocks. All works almost fine. The only little problem is that I'm getting the signal from my microphone (this is the normal behavior off course). I would rather like to get the audio signal being played directly without having to go through my speakers, the air from my room and the microphone. All this generates signal losses and adds noise. I know there is the file source block but this isn't a real solution for me. I also know I could just plug a mini-jack cable from the output to the input from my sound

FSK demodulation with GNU Radio

寵の児 提交于 2019-11-30 19:15:34
I'm trying to demodulate a signal using GNU Radio Companion. The signal is FSK, with mark and space frequencies at 1200 and 2200 Hz, respectively. The data in the signal text data generated by a device called GeoStamp Audio . The device generates audio of GPS data fed into it in real time, and it can also decode that audio. I have the decoded text version of the audio for reference. I have set up a flow graph in GNU Radio (see below), and it runs without error, but with all the variations I've tried, I still can't get the data. So I have a few questions: 1) The output of the flow graph should

FSK demodulation with GNU Radio

孤人 提交于 2019-11-30 16:49:49
问题 I'm trying to demodulate a signal using GNU Radio Companion. The signal is FSK, with mark and space frequencies at 1200 and 2200 Hz, respectively. The data in the signal text data generated by a device called GeoStamp Audio. The device generates audio of GPS data fed into it in real time, and it can also decode that audio. I have the decoded text version of the audio for reference. I have set up a flow graph in GNU Radio (see below), and it runs without error, but with all the variations I've

Python PyGILState_{Ensure/Release} causes segfault while returning to C++ from Python code

和自甴很熟 提交于 2019-11-29 03:54:36
UPDATE Well, it looks like adding PyEval_InitThreads() before the call to PyGILState_Ensure() does the trick. In my haste to figure things out I incorrectly attributed my "hanging" to PyEval_InitThreads(). However, after reading some Python documentation I am wondering if this is the correct solution. It is not safe to call this function when it is unknown which thread (if any) currently has the global interpreter lock. First of all, I am working on some modified GNU Radio code - particularly a modified gr_bin_statistics_f block. Now, there is a bug report (albeit an old one) which pretty much

Python PyGILState_{Ensure/Release} causes segfault while returning to C++ from Python code

半世苍凉 提交于 2019-11-27 18:11:37
问题 UPDATE Well, it looks like adding PyEval_InitThreads() before the call to PyGILState_Ensure() does the trick. In my haste to figure things out I incorrectly attributed my "hanging" to PyEval_InitThreads(). However, after reading some Python documentation I am wondering if this is the correct solution. It is not safe to call this function when it is unknown which thread (if any) currently has the global interpreter lock. First of all, I am working on some modified GNU Radio code - particularly

When trying to use my USRP in GNU Radio, I get a “ No devices found for ----->” error

牧云@^-^@ 提交于 2019-11-27 02:53:15
问题 When trying to execute a GNU Radio program that uses a USRP, I get an error backtrace, which (in Python) typically ends with: self.u = uhd.usrp_source(device_addr=args, stream_args=uhd.stream_args('fc32')) File "/home/marcus/.usrlocal/lib64/python2.7/site-packages/gnuradio/uhd/__init__.py", line 122, in constructor_interceptor return old_constructor(*args) File "/home/marcus/.usrlocal/lib64/python2.7/site-packages/gnuradio/uhd/uhd_swig.py", line 2351, in make return _uhd_swig.usrp_source_make

gnuradio 中频信号

末鹿安然 提交于 2019-11-26 16:41:10
gnuradio中频信号 sdr设备只能输出的频率范围只能输出采样率宽度的信号。如果要采集超出这个范围的信号,就要调整中频信号。让带宽覆盖要采集的频率。 来源: https://www.cnblogs.com/xuxiao951/p/11326770.html

How do I import modules in pycharm?

∥☆過路亽.° 提交于 2019-11-26 01:31:32
问题 In PyCharm , I\'ve added the Python environment /usr/bin/python . However, from gnuradio import gr fails as an undefined reference . However, it works fine in the Python interpreter from the command line. GNURadio works fine with python outside of Pycharm. Everything is installed and configured how I want it. Gnuradio is located at /usr/local/lib/python2.7/site-packages/gnuradio Also: PYTHONPATH=/usr/local/lib/python2.7/site-packages:/usr/local/lib/python2.7/site-packages/gnuradio 回答1: Adding