diff options
author | matt | 2008-01-26 01:30:37 +0000 |
---|---|---|
committer | matt | 2008-01-26 01:30:37 +0000 |
commit | 0ffca9f47759a616e6fc6aaf7c2ab642601935d1 (patch) | |
tree | 75de090faf9a30ee6ae07d75bbf81943a483559d | |
parent | df4979365e72f36f048e30a0b388e777c7c9a7a9 (diff) | |
download | gnuradio-0ffca9f47759a616e6fc6aaf7c2ab642601935d1.tar.gz gnuradio-0ffca9f47759a616e6fc6aaf7c2ab642601935d1.tar.bz2 gnuradio-0ffca9f47759a616e6fc6aaf7c2ab642601935d1.zip |
better filter bandwidths
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7519 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r-- | gnuradio-core/src/python/gnuradio/blks2impl/nbfm_rx.py | 4 | ||||
-rwxr-xr-x | gnuradio-examples/python/usrp/usrp_nbfm_rcv.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gnuradio-core/src/python/gnuradio/blks2impl/nbfm_rx.py b/gnuradio-core/src/python/gnuradio/blks2impl/nbfm_rx.py index 8a1704000..dcdd460b5 100644 --- a/gnuradio-core/src/python/gnuradio/blks2impl/nbfm_rx.py +++ b/gnuradio-core/src/python/gnuradio/blks2impl/nbfm_rx.py @@ -75,8 +75,8 @@ class nbfm_rx(gr.hier_block2): audio_decim = quad_rate // audio_rate audio_taps = gr.firdes.low_pass (1.0, # gain quad_rate, # sampling rate - 4.5e3, # Audio LPF cutoff - 2.5e3, # Transition band + 2.7e3, # Audio LPF cutoff + 0.5e3, # Transition band gr.firdes.WIN_HAMMING) # filter type print "len(audio_taps) =", len(audio_taps) diff --git a/gnuradio-examples/python/usrp/usrp_nbfm_rcv.py b/gnuradio-examples/python/usrp/usrp_nbfm_rcv.py index c63bef0c4..7aa45575d 100755 --- a/gnuradio-examples/python/usrp/usrp_nbfm_rcv.py +++ b/gnuradio-examples/python/usrp/usrp_nbfm_rcv.py @@ -273,8 +273,8 @@ class receive_path(gr.hier_block2): # Create filter to get actual channel we want chan_coeffs = gr.firdes.low_pass (1.0, # gain self.if_rate, # sampling rate - 13e3, # low pass cutoff freq - 4e3, # width of trans. band + 8e3, # low pass cutoff freq + 2e3, # width of trans. band gr.firdes.WIN_HANN) # filter type print "len(rx_chan_coeffs) =", len(chan_coeffs) |