Hi Christophe,

thank you for your reply

On Wed, Oct 8, 2014 at 12:30 PM, Christophe Cattelain <[email protected]> wrote:

> Hi,
>
> if I am not mistaken, rtl_sdr(1) outputs 8 bits I/Q's (direct from the
> dongle).
>

That is also what I know, but I cannot find a good source for it :).


>
> You should (at least) use 'sox -t raw -b 8 -c 2' to describe the input
> format and Sox could probably transform it in signed 16 bits (little or
> big endians) WAV file (?).
>
> But I am not sure the rtl_sdr(1) output is 'signed char', as, in
> dump1090.c, one can read :
>

For me, it is important to have the same output format. If this means, I
have to set sdr# to 8bit and get that as a wav, and I could then also set
rtlsdr on linux to the same setting with two 8 bit streams for IQ, that
only needs to be converted to .wav, that would be okay.
But for me it is not yet clear, what both software do. Because we have set
both to 16bit and 2MHz sampling. But rtlsdr is half the size of that from
sdr#. So either 16bit for rtlsdr means, it is two channels with 8 bit each
and two channels with 16 bit each for sdr#, or there is something else.
So this is what I want to know before I decide about the converting with
sox.

Do you know how both software do their recordings with regars to bit depth
and channels?

Best regards,


Andreas

Reply via email to