All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Patrick Boettcher <pboettcher@kernellabs.com>
Cc: linux-media <linux-media@vger.kernel.org>
Subject: Re: SDR FM demodulation
Date: Thu, 09 Feb 2012 17:21:41 +0200	[thread overview]
Message-ID: <4F33E485.10704@iki.fi> (raw)
In-Reply-To: <201202091611.21095.pboettcher@kernellabs.com>

On 09.02.2012 17:11, Patrick Boettcher wrote:
> On Thursday 09 February 2012 16:01:12 Antti Palosaari wrote:
>> I have taken radio sniffs from FM capable Realtek DVB-T device. Looks
>> like demodulator ADC samples IF frequency and pass all the sampled
>> data to the application. Application is then responsible for
>> decoding that. Device supports DVB-T, FM and DAB. I can guess  both
>> FM and DAB are demodulated by software.
>>
>> Here is 17 second, 83 MB, FM radio sniff:
>> http://palosaari.fi/linux/v4l-dvb/rtl2832u_fm/
>> Decode it and listen some Finnish speak ;)
>>
>> Could someone help to decode it? I tried GNU Radio, but I failed
>> likely because I didn't have enough knowledge... GNU Radio and
>> Octave or Matlab are way to go.
>
> For someone to decode it, you would need to give more information about
> the format of the stream. Like the sampling frequency, the sample-format
> and then the IF-frequency.

You can see sampling format easily looking hexdump or open file in 
Audacity. It is 8bit unsigned samples, 2 channels (I & Q).

No knowledge about IF... For good guess is to try some general used IFs.

Sampling freq can be calculated using sample info and the fact it is 
about 17 sec. sample size = 86919168 Bytes, time 17 sec. 2 channels, 1 
byte sample => 2556446,11765 sample/sec (~2.5 MHz!)

> I never did something like myself, but from what I saw in gnuradio there
> should be everything to make a FM-demod based on the data.

Yes there was a lot of block and those were rather easy to connect using 
graphical interface (gnuradio-companion). But I don't know exactly what 
block are needed and what are parameters. I used file-sink => 
fm-modulator => audio-sink. Likely not enough :i

Without any earlier experience it is rather challenging. But if there is 
someone who have done that earlier using USRP SDR he could likely do it 
easier :)

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

  reply	other threads:[~2012-02-09 15:21 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 [this message]
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
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=4F33E485.10704@iki.fi \
    --to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.