summaryrefslogtreecommitdiff
path: root/gr-vocoder/python/vocoder
Commit message (Collapse)AuthorAgeFilesLines
* cmake: change how test files are build when cross compilingPhilip Balister2021-12-031-0/+3
| | | | | | | | | | | | | | | | | | | | * When cross compiling gnuradio, change how the test files are built. Normally, the gnuradio QA code expects to run in the build tree. For the cross compilng case, we cannot run the QA code during the build process. The changes here allow the creation of an additional package that can be installed on a target that will run the QA code against the installed libraries. Major changes are not using full paths to test files (since they include paths that only exist on the build machine) and not setting environment variables in the shell files to force the QA code to use code in the build tree. This patch disables the C++ only tests, these need some work and then they can be added back for the cross compile case. Signed-off-by: Philip Balister <philip@balister.org>
* vocoder: pep8 formattingJosh Morman2021-11-242-6/+8
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* qa: run autopep8 formatting on qa python filesmormj2020-10-308-57/+71
| | | | | | find ./ -iname qa*.py | xargs autopep8 --in-place -a -a mostly formats whitespace and gets rid of trailing semicolons
* qa: remove xml file parameter causing deprecation warningsmormj2020-10-307-7/+7
|
* pybind: add implicit conversion from int to enummormj2020-10-282-0/+4
| | | | | | | | | | | | | * dtv: add implicit conversion from int to enum * analog: add implicit conversion from int to enum * blocks: add implicit conversion from int to enum * digital: add implicit conversion from int to enum * fec: add implicit conversion from int to enum * fft: add implicit conversion from int to enum * filter: add implicit conversion from int to enum * qtgui: add implicit conversion from int to enum * trellis: add implicit conversion from int to enum * vocoder: add implicit conversion from int to enum * bindtool: add implicitly_convertible to all enums
* vocoder: cmake: Use pybind macros to manage bindings.Ryan Volz2020-10-201-40/+19
| | | | | | This helps prevent current and future headaches by making sure improvements to the pybind11 CMake don't also need to be added specifically for gr-vocoder.
* vocoder: allow input & output rates to differClayton Smith2020-10-201-5/+2
| | | | | | | The input & output rates of the FreeDV modulator aren't necessarily the same. In particular, the 2400A and 2400B modes have an input rate of 8000 sps and an output rate of 48000 sps. To allow for arbitrary input & output rates, I've changed freedv_tx_ss from sync_block to block.
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-032-4/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* pybind: remove docstring dependency on entire moduleJosh Morman2020-06-111-1/+1
| | | | | | | | | | When the module is used as a dependency for the docstring substitution task, any change to any file in the module will cause the regeneration of the bindings for the entire module and all modules that are dependent on that one. There is still probably a better way tie the docstring substitution into the custom commands, per file
* vocoder: add bindings for freedv_api to fix qaJosh Morman2020-06-045-10/+86
|
* pybind: run clang-formatJosh Morman2020-06-042-2/+2
|
* vocoder: fix list/tuple in qa testsJosh Morman2020-06-045-5/+5
|
* vocoder: Fix semicolon error in Pybind11 bindingsAndrej Rode2020-06-042-2/+2
|
* vocoder: add pybind11 bindingsJosh Morman2020-06-0443-11/+1526
|
* Update license header to SPDX formatdevnulling2020-01-2711-143/+11
|
* codec2: only check length of encoded messages in unit testAndrej Rode2019-01-141-13/+41
| | | | | | previously the encoder & decoder pair was tested for a known input to produce a precomputed output. Which can change with improvements in the codec2 library. A similar test for the decoder needs to be implemented
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-3111-15/+45
|\
| * python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-2611-12/+26
| |
| * Merge remote-tracking branch 'github/nuke-cpack' into nextJohnathan Corgan2016-08-031-1/+0
| |\ | | | | | | | | | | | | Conflicts: gr-vocoder/CMakeLists.txt
| | * cmake: nuke cpack from existenceJohnathan Corgan2016-08-031-1/+0
| | | | | | | | | | | | | | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
| * | vocoder: fix python QA after unembedJohnathan Corgan2016-08-031-1/+1
| | |
| * | gr-vocoder: gsm subcomponent using external gsm libraryA. Maitland Bottoms2016-06-251-2/+6
| | |
| * | gr-vocoder: codec2 subcomponent using external codec2 libraryA. Maitland Bottoms2016-06-251-1/+14
| |/
* / Test: adds swig dirs to python tests to allow ctest to run on win buildsgnieboer2018-03-221-0/+5
|/
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-1/+1
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* Bring codec2 up to the latest version, and add support for all six bit rates.Clayton Smith2014-04-161-15/+7
|
* vocoder: Fixed packing problem with Codec2, + GRC bindings, added exampleMartin Braun2014-03-071-1/+3
|
* Add a QA_PYTHON_EXECUTABLE variable so QA code knows what python to use when ↵Philip Balister2013-12-051-1/+1
| | | | | | | | | | | | cross compiling. With this (and the prior) patch, you can mount the compile directory on the target and run the QA code (as long as the paths are the same). The qtgui tests fail if there is no X server. Volk seems to fail for hard float builds. We'll need to look at adding thes changes to gr_modtool. Signed-off-by: Philip Balister <philip@balister.org>
* Removing gruel from QA python paths.Ben Reynwar2013-06-061-1/+0
|
* uninstalled imports: Fixing up after merge with master.Ben Reynwar2013-06-031-1/+1
|
* Merged next into uninstalled import branch.Ben Reynwar2013-04-028-26/+26
|
* vocoder: Updating testing environment.Ben Reynwar2013-03-1110-63/+38
|
* vocoder: Enabling uninstalled python imports.Ben Reynwar2013-03-0811-0/+666