public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: David Hagood <david.hagood@gmail.com>
To: Andy Walls <awalls@md.metrocast.net>
Cc: Antti Palosaari <crope@iki.fi>,
	Patrick Boettcher <pboettcher@kernellabs.com>,
	linux-media <linux-media@vger.kernel.org>
Subject: Re: SDR FM demodulation
Date: Fri, 10 Feb 2012 20:29:10 -0600	[thread overview]
Message-ID: <1328927350.11652.11.camel@chumley> (raw)
In-Reply-To: <1328926119.16025.6.camel@palomino.walls.org>

On Fri, 2012-02-10 at 21:08 -0500, Andy Walls wrote:
> 
> Randomly checking some of the data with GNUplot, if 2.5 Msps is the
> sampling rate, then the fastest freq I saw was about 50 kHz.
How'd you analyze the data - assume it was baseband I/Q and do an FFT?
If so, and if this was digitized baseband, you should have seen the FM
stereo pilot tone at 19kHz.

If it's digitized IF, you should be able to run it through a rectangular
to polar conversion (compute mag = I^2+Q^2 and phase = arctan(I/Q) (use
a proper 4 quadrant arctan), then compute frequency by the delta between
the phase samples. Mag should be constant, frequency would then be your
audio.



  reply	other threads:[~2012-02-11  2:29 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 [this message]
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
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=1328927350.11652.11.camel@chumley \
    --to=david.hagood@gmail.com \
    --cc=awalls@md.metrocast.net \
    --cc=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=pboettcher@kernellabs.com \
    /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