In gnuradio-examples/python/audio there is a completely worked out
example block to do EXACTLY what was requested, go to and from 32000 and
48000. It is good practice to look in the examples directory because
with very high probability, the developers who check stuff in have faced
the kinds of problems you want to tackle. Ask after you have looked there.
In this case it is test_resampler.py
It does a PERFECT 3/2 polyphase resampling ( and back 2/3) since that is
a rational fraction, not an approximation. If you use the low_pass_2
filters, you gain better control over the number of taps required. It
uses the brilliant study by fred harris of finding the minimum number of
taps that will just exceed the number required to get in band ripple,
transition bandwidth, and stop band rejection you are targeting.
Bob
davek wrote:
On Tue, Jul 7, 2009 at 11:20 PM, Abdalla Sokar<abdallaso...@yahoo.com> wrote:
thanx very much this way really worx and wonderfully too
--- On Wed, 7/8/09, davek <davidki...@gmail.com> wrote:
From: davek <davidki...@gmail.com>
Subject: Re: [Discuss-gnuradio] Audio Sample rate problem
To: "Abdalla Sokar" <abdallaso...@yahoo.com>
Date: Wednesday, July 8, 2009, 5:14 AM
i dont know much about this so it might be wrong but
if you cant figure it out you could put a fractional interpolation
filter before your audio block set to 2/3
On Tue, Jul 7, 2009 at 8:58 PM, Abdalla Sokar<abdallaso...@yahoo.com> wrote:
my audio sampling rate is 48000 not 32000 so all the the gnu examples that
output an audio dont work and due to this 48000 i cant configure the
decimation and interpolation to be even integers as required
so is there away to change sampling rate of my audio card to 32000
i am using Dell Inspiron 1525 with ubuntu 9.04 with the latest version of
GNU
and my USRP is rev 4.2
Please i need help ASAP
Thanx
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio