From 0ffca9f47759a616e6fc6aaf7c2ab642601935d1 Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 26 Jan 2008 01:30:37 +0000 Subject: better filter bandwidths git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7519 221aa14e-8319-0410-a670-987f0aec2ac5 --- gnuradio-core/src/python/gnuradio/blks2impl/nbfm_rx.py | 4 ++-- 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) -- cgit