Re: SDR FM demodulation

2012-03-11 Thread Steve Markgraf
Hi, On 11.02.2012 13:46, Antti Palosaari wrote: > Now someone should make Linux driver that can tune that device to > different frequencies and look what it really can do. I sniffed the Windows driver and wrote a small libusb-based program [1], which can tune to a given frequency and record the I

Re: SDR FM demodulation

2012-02-11 Thread Andy Walls
On Fri, 2012-02-10 at 20:29 -0600, David Hagood wrote: > 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 ba

Re: SDR FM demodulation

2012-02-11 Thread Daniel Glöckner
On Sat, Feb 11, 2012 at 05:33:05PM +0200, Antti Palosaari wrote: > I opened my device and there is Elonics E4000 [1] silicon tuner. > That tuner seems to be a little crazy beast! Supports frequencies > from 64 to 1678 MHz and very many modulations. So for my eyes it is > almost idea cheap SDR. No i

Re: SDR FM demodulation

2012-02-11 Thread Antti Palosaari
On 11.02.2012 17:15, Daniel Glöckner wrote: All in all, I don't think there can be one API that fits all devices without limiting their functionality. Maybe a UVC or LabVIEW like interface with blocks for tuners, ADCs, decimators, DMA sinks, etc. is suitable, but then applications will end up bei

Re: SDR FM demodulation

2012-02-11 Thread Daniel Glöckner
On Sat, Feb 11, 2012 at 02:46:34PM +0200, Antti Palosaari wrote: > 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

Re: SDR FM demodulation

2012-02-11 Thread Antti Palosaari
On 11.02.2012 09:00, Alistair Buxton wrote: On 9 February 2012 15:01, Antti Palosaari 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 t

Re: SDR FM demodulation

2012-02-11 Thread Daniel Glöckner
On Sat, Feb 11, 2012 at 07:00:16AM +, Alistair Buxton wrote: > 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 d

Re: SDR FM demodulation

2012-02-10 Thread Alistair Buxton
On 9 February 2012 15:01, Antti Palosaari 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 demo

Re: SDR FM demodulation

2012-02-10 Thread David Hagood
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 baseba

Re: SDR FM demodulation

2012-02-10 Thread Andy Walls
On Thu, 2012-02-09 at 17:21 +0200, Antti Palosaari wrote: > 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 pa

Re: SDR FM demodulation

2012-02-09 Thread Andy Walls
Antti Palosaari wrote: >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 a

Re: SDR FM demodulation

2012-02-09 Thread Antti Palosaari
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 respons

Re: SDR FM demodulation

2012-02-09 Thread Patrick Boettcher
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 D

SDR FM demodulation

2012-02-09 Thread Antti Palosaari
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