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.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-vocoder/python/qa_cvsd_vocoder.py b/gr-vocoder/python/qa_cvsd_vocoder.py
index 573e6a1302..fc7ba35249 100755
--- a/gr-vocoder/python/qa_cvsd_vocoder.py
+++ b/gr-vocoder/python/qa_cvsd_vocoder.py
@@ -95,7 +95,9 @@ class test_cvsd_vocoder (gr_unittest.TestCase):
-0.16035343706607819, 0.014823081903159618,
0.16282452642917633, 0.33802291750907898)
- src = gr.sig_source_f(sample_rate, gr.GR_SIN_WAVE, 200, 1, 0)
+ # 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)