Dear All,
I have a question in gr_rational_resampler_base_XXX.cc module.
1. I got 2040 samples instead of 2048 or 2060 samples instead of 2048. Shall
I use this module for interpolation and decimation? Or any other suitable
module is available?
2. In function
void
@NAME@::install_taps (const std::vector<@TAP_TYPE@> &taps)
{
int nfilters = interpolation ();
int nt = taps.size () / nfilters;
assert (nt * nfilters == (int) taps.size ());
std::vector< std::vector <@TAP_TYPE@> > xtaps (nfilters);
for (int n = 0; n < nfilters; n++)
xtaps[n].resize (nt);
for (int i = 0; i < (int) taps.size(); i++)
xtaps[i % nfilters][i / nfilters] = taps[i]; ------------> How to
calculate taps[i] value here. Any table or module?
for (int n = 0; n < nfilters; n++)
d_firs[n]->set_taps (xtaps[n]);
set_history (nt);
d_updated = false;
Thanks in advance
Regards,
Jesuraj
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio