diff options
author | Ben Reynwar <ben@reynwar.net> | 2012-06-25 08:09:05 -0700 |
---|---|---|
committer | Ben Reynwar <ben@reynwar.net> | 2012-06-25 08:09:05 -0700 |
commit | 1f57cf3fee8ded4d58e77bef8ffd8d8ce4aca53c (patch) | |
tree | 795a34e4599a88a80040d27dcb2b342e4c705bea /gr-audio/examples/python/noise.py | |
parent | fd3abfe06ef4f574122d2d2a08b716db8c2b776d (diff) | |
parent | 881010202a5054c430d8e5a6f72c206c1cc350ae (diff) |
Merge branch 'next' of http://gnuradio.org/git/gnuradio into next
Diffstat (limited to 'gr-audio/examples/python/noise.py')
-rwxr-xr-x | gr-audio/examples/python/noise.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-audio/examples/python/noise.py b/gr-audio/examples/python/noise.py index 12eee1906d..bba9e83eae 100755 --- a/gr-audio/examples/python/noise.py +++ b/gr-audio/examples/python/noise.py @@ -22,6 +22,7 @@ from gnuradio import gr from gnuradio import audio +from gnuradio import digital from gnuradio.eng_option import eng_option from optparse import OptionParser @@ -44,7 +45,7 @@ class my_top_block(gr.top_block): ampl = 0.1 src = gr.glfsr_source_b(32) # Pseudorandom noise source - b2f = gr.chunks_to_symbols_bf([ampl, -ampl], 1) + b2f = digital.chunks_to_symbols_bf([ampl, -ampl], 1) dst = audio.sink(sample_rate, options.audio_output) self.connect(src, b2f, dst) |