[Hackrf-dev] Yet another Tutorial (Alexandru Csete)

john at zaphv.com john at zaphv.com
Sun Aug 25 02:21:29 EDT 2013


I am decimating in the FIR filter by 5000000/264600. So I dont know
if GNURadio automatically round the decimation rate but I have to say
the audio output sounds perfect.



Quoting hackrf-dev-request at greatscottgadgets.com:


> Send HackRF-dev mailing list submissions to

> hackrf-dev at greatscottgadgets.com

>

> To subscribe or unsubscribe via the World Wide Web, visit

> http://nine.pairlist.net/mailman/listinfo/hackrf-dev

> or, via email, send a message with subject or body 'help' to

> hackrf-dev-request at greatscottgadgets.com

>

> You can reach the person managing the list at

> hackrf-dev-owner at greatscottgadgets.com

>

> When replying, please edit your Subject line so it is more specific

> than "Re: Contents of HackRF-dev digest..."

>

>

> Today's Topics:

>

> 1. Yet another Tutorial (john at zaphv.com)

> 2. Re: Yet another Tutorial (Alexandru Csete)

>

>

> ----------------------------------------------------------------------

>

> Message: 1

> Date: Sat, 24 Aug 2013 04:53:38 -0500

> From: john at zaphv.com

> Subject: [Hackrf-dev] Yet another Tutorial

> To: hackrf-dev at greatscottgadgets.com

> Message-ID: <20130824045338.15251y4jdne6ri5e at webmail.zaphv.com>

> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";

> format="flowed"

>

> Did a quick write up, very basic stuff that may be usefull to someone

> who is just getting started:

>

> FM Receiver - The Hello World of HackRF and GNURadio

> http://binaryrf.com/viewtopic.php?f=9&t=16

>

> Cheers

>

>

>

> ------------------------------

>

> Message: 2

> Date: Sat, 24 Aug 2013 13:58:00 +0200

> From: Alexandru Csete <oz9aec at gmail.com>

> Subject: Re: [Hackrf-dev] Yet another Tutorial

> To: john at zaphv.com

> Cc: hackrf-dev at greatscottgadgets.com

> Message-ID:

> <CAHG=S_fVq9JC+FWMfKJVVX2QFuwrLZKi-frZcrBN-uBtbWbLYw at mail.gmail.com>

> Content-Type: text/plain; charset=ISO-8859-1

>

> Hi John,

>

> Nice tutorial. I noticed that your sample rates do not match.

> Osmocom source: 5 msps.

> Translating FIR filter decimates by 18.

> Output sample rate from FIR: 5e6 / 18 = 277.778 ksps

>

> Consequently, your actual audio rate will be 46.296 kHz and the audio

> sink will be dropping samples. Not sure what the wxgui sink will do.

> It will either drop the extra samples or scale the waterfall

> incorrectly. In any case I recommend that you add a rational resampler

> or a polyphase arbitrary resampler. You could do that right after the

> FIR, but please ensure that you only have rational numbers otherwise

> you will still have mismatch.

>

> For example:

> FIR decimation: 16

> Rational resampler decimation: 3125

> Rational resampler interpolation: 2646

>

> That will give you an output rate of 264.6 ksps and you can leave the

> other blocks unchanged.

>

> Alex

>

>

> On Sat, Aug 24, 2013 at 11:53 AM, <john at zaphv.com> wrote:

>> Did a quick write up, very basic stuff that may be usefull to someone who is

>> just getting started:

>>

>> FM Receiver - The Hello World of HackRF and GNURadio

>> http://binaryrf.com/viewtopic.php?f=9&t=16

>>

>> Cheers

>>

>> _______________________________________________

>> HackRF-dev mailing list

>> HackRF-dev at greatscottgadgets.com

>> http://nine.pairlist.net/mailman/listinfo/hackrf-dev

>

>

> ------------------------------

>

> _______________________________________________

> HackRF-dev mailing list

> HackRF-dev at greatscottgadgets.com

> http://nine.pairlist.net/mailman/listinfo/hackrf-dev

>

>

> End of HackRF-dev Digest, Vol 7, Issue 23

> *****************************************

>






More information about the HackRF-dev mailing list