X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=grc%2Fblocks%2Fband_pass_filter.xml;fp=grc%2Fblocks%2Fband_pass_filter.xml;h=af083473d3a59f9a5fd3e76e6dc9b473973a5df1;hb=8a9ddbb0675f9bfcc6e03b457fba6c79474a3693;hp=e2e9acf4ebf9148fff3514ea0fdda93ba718bdd4;hpb=82d471b9b4a8b389b5da44b19c69c36420828382;p=debian%2Fgnuradio diff --git a/grc/blocks/band_pass_filter.xml b/grc/blocks/band_pass_filter.xml index e2e9acf4..af083473 100644 --- a/grc/blocks/band_pass_filter.xml +++ b/grc/blocks/band_pass_filter.xml @@ -10,8 +10,8 @@ from gnuradio import gr from gnuradio.gr import firdes gr.$(type)(#if str($type).startswith('interp') then $interp else $decim#, firdes.$(type.fcn)( - $gain, $samp_rate, $low_cutoff_freq, $high_cutoff_freq, $width, firdes.$window, $beta)) - set_taps(firdes.$(type.fcn)($gain, $samp_rate, $low_cutoff_freq, $high_cutoff_freq, $width, firdes.$window, $beta)) + $gain, $samp_rate, $low_cutoff_freq, $high_cutoff_freq, $width, $win, $beta)) + set_taps(firdes.$(type.fcn)($gain, $samp_rate, $low_cutoff_freq, $high_cutoff_freq, $width, $win, $beta)) FIR Type type @@ -118,27 +118,28 @@ Window - window - enum + win + firdes.WIN_HAMMING + int