Cubicsdr: What is the data format of I/Q audio output?

Created on 29 Jan 2021  路  4Comments  路  Source: cjcliffe/CubicSDR

Looking for documentation about the data format of I/Q output from CubicSDR. eg., CS8, CS16, etc.,

Thanks,
Tom
KA1IS

Most helpful comment

A right, this one.

Apparently, it generates 2 F32 audio sample per baseband-CF32, simulating Stereo: le Left channel being = Q (im) and Right Channel = I (real) part.
The resulting audio sample rate = the demod bandwith, unless I'm mistaken.

All 4 comments

There is no IQ output in Cubic. If you mean the I/Q input, it requests CF32 to the SoapySDR driver level.

If you mean the Recording function, it is about _audio_ WAV recording, one per-demod selected in the interface : it's format is PCM S16L Mono audio, except for FMS (FM Stereo) where it is Stereo.

According to the manual here https://cubicsdr.readthedocs.io/en/latest/application-window.html (and my own usage experience) I think @tkzic may be referring to the I/Q "de-modulator", which you can then record by pressing R to a wav file.

I/Q: Raw I/Q Pass-Thru (No Modulation)
Raw I/Q samples that would normally go to a modem are passed through to the sound card for use elsewhere. Bandwidth is fixed to the selected sound card output frequency and will change along with it. Note that turning the Audio Gain down to a low level will disable gain completely and output the raw decimated samples.

I think @tkzic may be asking is: What is the IQ file format of this "I/Q de-modulator" output when recording it?

I actually have had the same question for some time, perhaps if it's a true pass-through it the same output as the SDR its receiving from?

Screen Shot 2021-01-29 at 13 23 51

A right, this one.

Apparently, it generates 2 F32 audio sample per baseband-CF32, simulating Stereo: le Left channel being = Q (im) and Right Channel = I (real) part.
The resulting audio sample rate = the demod bandwith, unless I'm mistaken.

Thanks vsonnier. That's exactly what I was looking for.
Tom
KA1IS

Was this page helpful?
0 / 5 - 0 ratings