summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python
AgeCommit message (Collapse)Author
2011-07-04gnuradio-examples, gr-audio: moved audio Python and C++ examples into gr-audioJohnathan Corgan
This begins a transition of examples from a separate gnuradio-examples component into an examples directory with the component they go with. In this commit: gnuradio-examples/c++/audio/ => gr-audio/examples/c++ gnuradio-examples/python/audio => gr-audio/examples/python The system installation directory remains $PREFIX/share/gnuradio/examples/audio
2011-05-10examples: usrp2_wfm_rcv added support for WBX boards. From patch submitted ↵Tom Rondeau
by Elvis Dowson.
2010-12-28Merge branch 'master' into nextTom Rondeau
* master: Under extreme circumstances, optfir might never produce an answer (atten>300), so this puts in a check on the ripple; if it gets too large, stop trying. Allowing PFB interpolator to be called without specifying the taps; autogen taps inside hierblock. Allowing PFB decimator to be called without specifying the taps; autogen taps inside hierblock. PFB channelizer can be specified without external taps. Uses optfir to generate an internal filter to cover the channel bandwidth; user can specify the attenuation of this filter if desired. Updating the arb. resampler to use the optfir filter that provides better specificatiion of stopband atten.
2010-12-28PFB channelizer can be specified without external taps. Uses optfir to ↵Tom Rondeau
generate an internal filter to cover the channel bandwidth; user can specify the attenuation of this filter if desired.
2010-12-06Merge branch 'next' into guile-nextEric Blossom
* next: (116 commits) Adding new example script for using the new PFB arbitrary resampler interface. One resampler takes user-generated taps and another resampler just takes the resampling rate. Both input and output signals are plotted. Modifying blsk2 wrapper for PFB arbitrary resampler to allow the user to just specify the requested resampling rate without providing their own filter taps. uhd: reverting tag changes on uhd single usrp source, there seems to be issues with the work() logic uhd: removed default value chan=0 in the cc files WITH_INCLUDES _must_ be last uhd: replaced CFLAGS with CPPFLAGS variable, and fixed swig args FIXME uhd: default channel params to zero for single source and sink blocks Revert "Removed usrp2-firmware from being automatically built." Remove generated file from repo Removed usrp2-firmware from being automatically built. uhd: added libdir to UHD CFLAGS (shared by lib and swig) Swapping out preset keys until I work out some of their issues. Modifying QA tests for the sample tags. By default, it only checks the sizes of the tags since order is not specified or guarenteed. Block is a gr_block, so this sets its relative rate. Was required for using in the QA of the sample tags code. Removing global pmt constants. Were causing segfaults during make check. Must fix this later. Fixing up the UHD sample tag example to take command line options. Swapping order of testing rrate. Changing propagation policy enum type name and making a few other minor edits. Changing API for gr_skiphead to use uint64_t for the offset instead of size_t (still unsigned). Fixes issue #304. Adding typedef for uint64_t and int64_t so we can use them through SWIG. ... Passes make distcheck.
2010-12-06Merge branch 'master' into nextTom Rondeau
* master: Adding new example script for using the new PFB arbitrary resampler interface. One resampler takes user-generated taps and another resampler just takes the resampling rate. Both input and output signals are plotted. Modifying blks2 wrapper for PFB arbitrary resampler to allow the user to just specify the requested resampling rate without providing their own filter taps. Changing API for gr_skiphead to use uint64_t for the offset instead of size_t (still unsigned). Fixes issue #304. Adding typedef for uint64_t and int64_t so we can use them through SWIG. Removing warnings in portaudio source/sink. Fixing output types from tap_type to o_type in gr_single_pole_iir.h. Doesn't make a difference in the current uses of this class, but could in the future. Thanks to Achilleas Anastasopoulos for pointing this out. first shot at Windows-compatible LIBUSB check Tweak LIBUSB m4 script to not check for 'usb_debug' symbol on Windows, because the symbol does not exist for that platform (only, it seems) Removing autogenerated file. Updated doxygen Doxyfile for newer versions. Adding file operations result checking. Updating audio_jack to new interface for creating a client. Fixes depricated warning. Potential fix to MSDD warnings by setting sequence number from buffer more explicitly. Adding a bit more checking on file operations. Fixing copyright date. Fixed warning re defining GNU_SOURCE. Can probably just remove it since it's defined in config, but this won't hurt anyone. Fixing signed/unsigned warnings. first shot at Windows-compatible LIBUSB check Tweak LIBUSB m4 script to not check for 'usb_debug' symbol on Windows, because the symbol does not exist for that platform (only, it seems) Conflicts: gnuradio-core/src/lib/swig/gnuradio.i
2010-12-06Adding new example script for using the new PFB arbitrary resampler ↵Tom Rondeau
interface. One resampler takes user-generated taps and another resampler just takes the resampling rate. Both input and output signals are plotted.
2010-11-29Fixing up the UHD sample tag example to take command line options.Tom Rondeau
2010-11-24Major Makefile.am housecleaning. Passes distcheck.Eric Blossom
Move all occurrences of swig_built_sources out of Makefile.am's. Move all SWIG related use of BUILT_SOURCES out of Makefile.am's. Clean up 'if PYTHON' conditionalization in gr-* Still left to do: fix Makefile.swig CLEANFILES and no_dist_files such that they remove exactly the generated files.
2010-11-21Removed comments to stdout from file tagger; made it easir to go from ↵Tom Rondeau
internally generated bursts to detected bursts (which needs work).
2010-11-21Updating test_file_tags.py to use new file tagger interface (sample rate of ↵Tom Rondeau
1 means time stamp on files is based solely on the item time).
2010-11-21Updating example to pass file tagger the sample rate and changed some values ↵Tom Rondeau
for my testing.
2010-11-17Fixing uhd test app.Tom Rondeau
2010-11-17Removing vestigial line.Tom Rondeau
2010-11-17Adding an example that uses gr_uhd sources to generate tags and collects ↵Tom Rondeau
bursts of energy.
2010-11-16Adding a simple example of using the tagger and tagging file.Tom Rondeau
2010-10-16Merge branch 'synfilt'Tom Rondeau
2010-10-16Work on examples for the synthesize filterbank block. The cleans up the ↵Tom Rondeau
simple example and adds a new example that synthesizes a number of signals and then channelizes them again. It displays the synthesized PSD as well as the PSD and time waveform of one of the channels that's specified in teh code.
2010-10-16Adding QA code for fir filter with buffer.Tom Rondeau
2010-10-16Adding a test example for the synthesis filter.Tom Rondeau
2010-05-23Merge remote branch 'gnuradio/wip/udp_source_sink'Johnathan Corgan
* gnuradio/wip/udp_source_sink: gnuradio-core: update copyrights gnuradio-core: allow swig to handle exceptions in UDP source/sink grc: update UDP source and sink block wrappers Simplify USE_SELECT usage Return immediately when using d_residual. Defend against a peer that sends an invalid message length. Move initialization of select timeout Correct update of d_temp_offset (parallel construction) Identify memory leaks that occur on error conditions Use -1 as file descriptor "not open" value instead of 0 Add additional conditionalization of networking includes Flush pending errors in gr_udp_sink on disconnect() Rework UDP source and sink, with incompatible API changes Updates to udp source/sink (select(), wait, cleanup) Discard data in gr_udp_sink until receiver is started. Use getaddrinfo in gr_udp_{source,sink} Changes to gr_udp_{source,sink} for MinGW Ignore ENOPROTOOPT return from setsockopt(SO_LINGER)
2010-05-11Fixing up GUI windows to better scale with gtgui sinks.Tom Rondeau
2010-05-11Fixing benchmark loopback to work with new v2's of modulators.Tom Rondeau
2010-05-10Fixing benchmark program to work with original dbpsk/dqpsk modulations again ↵Tom Rondeau
(and saving the version 2 mods for those marked v2).
2010-05-04Rework UDP source and sink, with incompatible API changesDon Ward
Remove source address specifications for sink; add connect() and disconnect() to sink; add get_port() to source; add optional EOF signaling (using zero-length packets) to sink and source; modify dial_tone, vector, and audio examples to match new code; add qa test case.
2010-04-30Updates to udp source/sink (select(), wait, cleanup)Don Ward
Use select() to avoid blocking on recv() in gr_udp_source (only known way to avoid blocking on Cygwin). Add wait argument to gr_udp_source to allow waiting for connection or accepting lack of connection as EOF; add --no-wait option to dial_tone_sink.py. Remove system dependencies from .h files; remove unused data members and (useless?) public open and close functions.
2010-04-15New matplotlib does the fftshift for us when doing mlab.psd. This makes the ↵Tom Rondeau
figures make sense again.
2010-03-14Fixing copyright of a couple of stragglers.Tom Rondeau
2010-03-14Fixing copyright dates.Tom Rondeau
2010-03-14Making old and new digital modulations completely seperable by adding ↵Tom Rondeau
modulation_utils2 so only new modulator blocks work with the version 2 of everything. Also changed some internal names for clarity.
2010-03-13Merge branch 'digital' of vps.gnuradio.org:trondeau into digitalTom Rondeau
2010-03-13Merge branch 'digital' of git@gnuradio.org:trondeau into digitalTom Rondeau
Conflicts: gnuradio-examples/python/digital/benchmark_qt_rx2.py
2010-03-13Fixing call to usrp_receive_path2.Tom Rondeau
2010-03-13Adding version 2 of receive path so as not to affect old dbpsk and dqpsk ↵Tom Rondeau
operations.
2010-03-13Making a version 2 of transmit path so as not to affect old dbpsk and dqpsk ↵Tom Rondeau
operations.
2010-03-06Small fixes for loopback with new code.Tom Rondeau
2010-03-06Fixing how new pick_bitrate is used.Tom Rondeau
2010-02-27Fixing use of pick_bitrate2 in QT Rx2.Tom Rondeau
2010-02-26Fixing a few bugs in handling of real samples per symbol.Tom Rondeau
2010-02-26Fixes pick_bitrate2 for use on receiver side.Tom Rondeau
2010-02-25Fixing pick_bitrate2 for transmit side with all cases tested.Tom Rondeau
2010-02-15New pick_bitrate2 will take any combination of bitrate, samples per symbol, ↵Tom Rondeau
and converter rate.
2010-02-10Working on pick_bitrate.Tom Rondeau
2010-02-09Arbitrary bit rates seems to be working.Tom Rondeau
2010-02-09Removing resampler from usrp transmit path as its taken care of in the ↵Tom Rondeau
modulators.
2010-02-08Setting up code to handle setting of samples per symbol properly. Still ↵Tom Rondeau
buggy in the transmitter due to the make packet padding to 512 bytes.
2010-02-08Adding a pick bitrate calculation for new tx/rx modulators with arbitrary ↵Tom Rondeau
samples per second to allow and real valued bitrate.
2010-01-31Preventing an error message by casting an integer (0) to the requested float.Tom
2010-01-17Doing the same with the resampler on the receiver side.Tom
2010-01-17Playing with using the resampler to allow any bit rate requested.Tom Rondeau