[Q] Playback I/Q recorderd using rtl_sdr

1,368 views
Skip to first unread message

Mohammad Bahathir Hashim

unread,
Nov 20, 2014, 3:48:03 AM11/20/14
to gq...@googlegroups.com
Hi,
What is the proper option to record I/Q using rtl_sdr, and can be replay in GQRX?

It seem the filename of the 'key', to make it useable/replayable in gqrx.

I tried

$ rtl_sdr -f 145.5M -s 1500000 -p 6 gqrx_20141119_084835_145500000_1500000_fc.raw

But, nothing happens.

Any clue/hint?

Thank you,
73,
9W2GNU

Alexandru Csete

unread,
Nov 20, 2014, 5:21:07 AM11/20/14
to gq...@googlegroups.com
Gqrx can only play raw files with float complex samples, whereas the
sample format of rtl_sdr is 8 bit integers (I presume)

Alex

Alexandru Csete

unread,
Nov 20, 2014, 5:22:38 AM11/20/14
to gq...@googlegroups.com
You can perhaps convert the file using sox from format S8 or U8 to
float. Don't know whether rtl_sdr uses signed or unsigned samples.

Alex

Mohammad Bahathir Hashim

unread,
Nov 20, 2014, 10:10:33 PM11/20/14
to gq...@googlegroups.com
Thank you for the explanations and hints.

73,
9W2GNU

Mohammad Bahathir Hashim

unread,
Nov 20, 2014, 10:51:37 PM11/20/14
to gq...@googlegroups.com

Good news. Based on your hint, I able to convert the rtl_sdr's file (u8) to gqrx readable file format (fc).


Example:

$  rtl_sdr -f 447.7625M -s 250000 -p 6 gqrx_20141119_084835_447762500_250000_u8.raw

$ sox -t raw -r 250000 -b 8 -c 1 -e unsigned-integer gqrx_20141119_084835_447762500_250000_u8.raw  -t raw -r 250000 -c 1 -e float gqrx_20141119_084835_447762500_250000_fc.raw

Thank you.

73,
9W2GNU

Alexandru Csete

unread,
Nov 21, 2014, 10:33:57 AM11/21/14
to gq...@googlegroups.com
Cool! Thanks for the update.

Alex

On Fri, Nov 21, 2014 at 4:51 AM, Mohammad Bahathir Hashim
> --
> You received this message because you are subscribed to the Google Groups
> "Gqrx SDR" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gqrx+uns...@googlegroups.com.
> To post to this group, send email to gq...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gqrx/3124939f-9542-4b8a-8dc2-47869c91d18f%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages