|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Fractional Resampler discards samples |
Date: | Thu, 4 Feb 2016 09:33:26 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Hi Andrej, 03.02.2016 22:36, Andrej Rode wrote:
I presume that's "... and a ZERO phase offset", right?(with a resampling rate of 1 and a phase offset) also So I used the source, Luke, and
So, point is that d_mu of the fractional resampler is always
increased by resample_ratio[2], which in your case is 1, which
means that the MMSE interpolator always uses the same set of
taps[3]. Assuming your phase_offset == 0, that's always going to
be the 0th from [4]: { 0.00000e+00, 0.00000e+00, 0.00000e+00, 0.00000e+00,
1.00000e+00, 0.00000e+00, 0.00000e+00, 0.00000e+00 }, // 0/128 which immediately explains a certain delay; but not really a
dropping of samples. Cheers, [2] https://github.com/gnuradio/gnuradio/blob/master/gr-filter/lib/fractional_resampler_cc_impl.cc#L89 , #L46 [3] https://github.com/gnuradio/gnuradio/blob/master/gr-filter/lib/mmse_fir_interpolator_cc.cc#L66 , #L72 [4] https://github.com/gnuradio/gnuradio/blob/master/gr-filter/include/gnuradio/filter/interpolator_taps.h#L11 |
[Prev in Thread] | Current Thread | [Next in Thread] |