I am able to connect with RTL-SDR using librtlsdr.dll and libusb-1.0.dll by using (https://github.com/nandortoth/rtlsdr-manager) wrapper in c# .netcore3.0 .
Started getting sampledata from device by set device frequency. i am getting data in List of IQ .
I need to store this data in .wav file .its very easy with chrome.usb.bulktransfer function. this function provide int8array,int32array,uint8array that is directly write able to .wav file .
i don't have an idea how it could be done using c# from IQ array
any suggestions or code samples will be appreciated.
To save IQ data to .wav file, you can write I component to one channel and Q component to the other channel (reference).
You can use NAudio to achieve that. First, you need
BinaryWriterto convertintarray (IQ data) toStream(bytearray). Then, you can useMultiplexingWaveProviderto create .wav file with 2 channels.