On Tue, Oct 21, 2008 at 10:15 AM, Clark Pope <[EMAIL PROTECTED]> 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?
Brian
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio