[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] fractional_interpolator_cc?
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] fractional_interpolator_cc? |
Date: |
Tue, 21 Oct 2008 11:32:19 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Oct 21, 2008 at 10:34:14AM -0400, Brian Padalino wrote:
> On Tue, Oct 21, 2008 at 10:15 AM, Clark Pope <address@hidden> wrote:
> >
> > I'm not able to get this function to work correctly. I have it just
> > connected between a snapshot file and an output file. I set the
> > interpolation factor to 2.0 and the output file ends up half the size of
> > the input file. It's like it is a decimation block instead of interpolation?
>
> How does the rational resampler work out - or can you not represent
> the ratio as a rational number?
>
> Are you calling it correctly? It seems as if there is a phase shift
> as well as an interpolation ratio being passed in.
>
>
> http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/lib/filter/gr_fractional_interpolator_cc.cc#L38
>
> http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/lib/filter/gr_fractional_interpolator_cc.cc#L67
>
> There may be an issue here:
>
>
> http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/lib/filter/gr_fractional_interpolator_cc.cc#L49
>
> Might be upside down?
Definitely upside down.
Johnathan, can you please fix and add real QA code please?
Thanks,
Eric