[Hackrf-dev] playing back osmocom_fft cfiles
Mike Walters
mike at flomp.net
Mon Mar 28 20:30:30 EDT 2016
The HackRF format uses interleaved 8-bit signed integers and the cfile
format (from osmocom_fft, GNURadio, etc.) uses interleaved 32-bit floating
point numbers.
By 'interleaved' I mean that it's just I, Q, I, Q, etc.
A quick and easy way I use to convert between them on the command-line is
to use sox:
sox -t f32 osmocom_fft_recording.cfile -t s8 hackrf_transfer_recording.cs8
(to convert from a cfile recorded with osmocom_fft to a file you could
replay with hackrf_transfer)
On 29 March 2016 at 00:55, Brent Thorne <brentathorne at gmail.com> wrote:
> Hi all,
>
> I'd like to be able to playback files captured in osmocom_fft.
> Initially I was thinking I could use hackrf_transfer, but the file
> format appear to be different. Can anyone help me understand the
> differenced between the two file formats, osmocom_fft cfiles and
> hackrf_transfer files? I think the hackrf output format is two
> bytes, or I and Q data. Is that correct? Not sure what format the
> osmocom tools outputs, gnuradio?
>
> Maybe a transcoder tool already exist or there is a better way to
> playback files captured with osmocom_fft or gnuradio. I can capture
> and playback files with hackrf_transfer, but often want visualize,
> annotate and playback a select part of the capture. Is there a better
> way to do this.
>
> Best,
>
> Brent
> _______________________________________________
> HackRF-dev mailing list
> HackRF-dev at greatscottgadgets.com
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20160329/86ff02cb/attachment.html>
More information about the HackRF-dev
mailing list