summaryrefslogtreecommitdiff
path: root/gr-vocoder/python/qa_cvsd_vocoder.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-vocoder/python/qa_cvsd_vocoder.py')
-rwxr-xr-xgr-vocoder/python/qa_cvsd_vocoder.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-vocoder/python/qa_cvsd_vocoder.py b/gr-vocoder/python/qa_cvsd_vocoder.py
index 61d434a39f..fc7ba35249 100755
--- a/gr-vocoder/python/qa_cvsd_vocoder.py
+++ b/gr-vocoder/python/qa_cvsd_vocoder.py
@@ -21,7 +21,6 @@
#
from gnuradio import gr, gr_unittest
-import analog_swig as analog
from vocoder_swig import *
from cvsd import *
@@ -96,6 +95,8 @@ class test_cvsd_vocoder (gr_unittest.TestCase):
-0.16035343706607819, 0.014823081903159618,
0.16282452642917633, 0.33802291750907898)
+ # WARNING: not importing analog in this QA code.
+ # If we enable this, we can probably just create a sin with numpy.
src = analog.sig_source_f(sample_rate, analog.GR_SIN_WAVE, 200, 1, 0)
head = gr.head(gr.sizeof_float, 100)
src_scale = gr.multiply_const_ff(scale_factor)