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 <brentatho...@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@greatscottgadgets.com > https://pairlist9.pair.net/mailman/listinfo/hackrf-dev >
_______________________________________________ HackRF-dev mailing list HackRF-dev@greatscottgadgets.com https://pairlist9.pair.net/mailman/listinfo/hackrf-dev