You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current complex float 32-bit, little endian format that rtl_airband uses when configured to save raw I/Q data files differs from what appears to be the established standard in the RTL-SDR community for I/Q sample format - 48k/1 wav files, like the ones generated from GQRX and SDR++.
The wiki contains a few examples of using csdr to convert the raw samples to audio. However, the DSP processing (especially things like the de-emphasis) of csdr is sometimes flawed and i think we could say it is complicated to arrange the right pipeline without sufficient knowledge in the DSP domain, so getting an useful audio is not always trivial with it, say, when we need high precision (digital modes).
Therefore, i think it will be best if rtl_airband exports I/Q data in a more standard format, like the ones exported from SDR++, GQRX or SDRSharp - many tools support this I/Q format as an input source, so it will certainly be easier to work with it instead of the current format.
It could be added as an additional rawfile option or replacing the current one.
The text was updated successfully, but these errors were encountered:
The rawfile output is a dump of the internal data structure with no additional processing.
I'm not familiar with 48k/1 wav files, but if the 48k is referring to the sample rate, that will require upsampling, and I dont think it makes sense to do that in rtl_airband.
Instead you can use sox to convert the output .cf32 files to any format you want. Looking at the man pages, this command may be what you're looking for (and if so please let me know and I'll add to the wiki):
Hm, interesting. soxi reports the expected format for the samples - 32-bit Floating Point PCM, however, when i loaded the output wav file in GQRX and other software that accepts it, it fails to work with it.
The current complex float 32-bit, little endian format that rtl_airband uses when configured to save raw I/Q data files differs from what appears to be the established standard in the RTL-SDR community for I/Q sample format - 48k/1 wav files, like the ones generated from GQRX and SDR++.
The wiki contains a few examples of using csdr to convert the raw samples to audio. However, the DSP processing (especially things like the de-emphasis) of csdr is sometimes flawed and i think we could say it is complicated to arrange the right pipeline without sufficient knowledge in the DSP domain, so getting an useful audio is not always trivial with it, say, when we need high precision (digital modes).
Therefore, i think it will be best if rtl_airband exports I/Q data in a more standard format, like the ones exported from SDR++, GQRX or SDRSharp - many tools support this I/Q format as an input source, so it will certainly be easier to work with it instead of the current format.
It could be added as an additional rawfile option or replacing the current one.
The text was updated successfully, but these errors were encountered: