public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Alistair Buxton <a.j.buxton@gmail.com>
Cc: linux-media <linux-media@vger.kernel.org>
Subject: Re: SDR FM demodulation
Date: Sat, 11 Feb 2012 14:46:34 +0200	[thread overview]
Message-ID: <4F36632A.3010700@iki.fi> (raw)
In-Reply-To: <CAO-Op+Fn0AxiqD4367O7H7AziR4g2vnFCMtsVcu1iRvf6P5iYw@mail.gmail.com>

On 11.02.2012 09:00, Alistair Buxton wrote:
> On 9 February 2012 15:01, Antti Palosaari<crope@iki.fi>  wrote:
>
>> Decode it and listen some Finnish speak ;)
>
> Done. grc and output.wav here: http://al.robotfuzz.com/~al/rtl2832/
>
> The trick was realising that the UChar to Float converter does not
> adjust it's output to the range -1.0,1.0 that the wideband FM
> demodulator block expects as input. Once I figured that out the rest
> was easy. Just set the quadrature rate to the samples per second in
> the source file, and the decimation to quadrature rate/output sink
> rate. The source file appears to be about 2 to 2.2 million samples per
> second. Any higher than that and the person speaking sounds like a
> chipmunk. Maybe 22050 * 1000 or 1024? Does any Finnish station
> broadcast "pips" like the BBC does? That could be used to determine
> the actual rate.

Cool!
I did that whole last night up to 6 am. I also ended up very similar 
blocks, but failed to convert bytes as UChar. I tried to add constant 
between Deinterleave and UChar To Float but it wasn't possible. So my 
first idea was to make Python script to make for the sample when I 
wake-up. But no need anymore :)

It was very good learning session and I am very impressed about GNU 
Radio capability. Idea tool for learning signal handling in practise. I 
see that device has big potential for students as it is very cheap SDR, 
everyone can get own!

Now someone should make Linux driver that can tune that device to 
different frequencies and look what it really can do.

What kind of driver architecture should be used? Use device 100% 
userspace or make it working as Kernel driver? I suspect making it as 
Kernel driver could be too limited since V4L/DVB API restrictions?

regards
Antti
-- 
http://palosaari.fi/

  parent reply	other threads:[~2012-02-11 12:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-09 15:01 SDR FM demodulation Antti Palosaari
2012-02-09 15:11 ` Patrick Boettcher
2012-02-09 15:21   ` Antti Palosaari
2012-02-09 21:47     ` Andy Walls
2012-02-11  2:08     ` Andy Walls
2012-02-11  2:29       ` David Hagood
2012-02-11 16:03         ` Andy Walls
2012-02-11  7:00 ` Alistair Buxton
2012-02-11 11:33   ` Daniel Glöckner
2012-02-11 12:46   ` Antti Palosaari [this message]
2012-02-11 15:15     ` Daniel Glöckner
2012-02-11 15:33       ` Antti Palosaari
2012-02-11 15:55         ` Daniel Glöckner
2012-03-12  1:09     ` Steve Markgraf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F36632A.3010700@iki.fi \
    --to=crope@iki.fi \
    --cc=a.j.buxton@gmail.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox