Re: [Discuss-gnuradio] Half band decimator/interpolator

2019-04-24 Thread Albin Stigö
No problem! Like Marcus says I definitely have to think hard about the implementation and benchmark... But it's an interesting special case. Would be neat with a special block for it that also calculates the coefficients. --Albin On Wed, Apr 24, 2019, 10:39 Derek Kozel wrote: > Oops,

Re: [Discuss-gnuradio] Half band decimator/interpolator

2019-04-24 Thread Derek Kozel
Oops, accidentally went direct rather than through the list. It would be a good addition to gr-filter to be able to use the CPU operations optimized halfband out of the box. Previous message Hi Albin, The Filter Design Tool will generate Halfband taps that can be loaded into the

Re: [Discuss-gnuradio] Half band decimator/interpolator

2019-04-24 Thread CEL
Hi Albin, Don't know what Derek suggested, but be aware that our "straight" FIR filter decimators are already polyphase implementations, and use SIMD (through VOLK) heavily (run volk_profile if you want to make maximum use of that advantage); it might be that on paper, the number of operations

Re: [Discuss-gnuradio] Half band decimator/interpolator

2019-04-23 Thread Albin Stigö
Thanks for the reply Marcus. Interesting approach for sure! Will have to think about it... Derek, your solution works but it will be 4 times slower than the example I linked to. --Albin On Tue, Apr 23, 2019, 18:24 Müller, Marcus (CEL) wrote: > Hi Albin, > > I'm very very tired right now,

Re: [Discuss-gnuradio] Half band decimator/interpolator

2019-04-23 Thread CEL
Hi Albin, I'm very very tired right now, but me and Felix came to the following conclusions on our *Whiteboard Of Wisdom, Smarts, Expertise, Rationality and Science* (WOWSERS): 1. A Nyquist-M bandpass filter, esp. a halfband, has zeros on every other tap – except for the one center tap, which is

[Discuss-gnuradio] Half band decimator/interpolator

2019-04-23 Thread Albin Stigö
Just checking before I write one, is there a half band decimator/interpolator in gnuradio I haven't been able to find... Optimized like this: http://liquidsdr.org/doc/resamp2/ Or is there an even better option for interpolation by 2? --Albin ___