Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.

Replay previously recorded IQ clip with OpenWebRX

András Retzler edited this page Apr 1, 2017 · 3 revisions

This will replay the I/Q clip in a loop.

  1. Record raw I/Q data with command-line tool.
cd openwebrx
rtl_sdr -s250000 -f145000000 iqfile.iq
  1. Edit config_webrx.py:
samp_rate=250000
bytes_per_sample = 1 #should be 1 for u8/s8, 2 for s16, 4 for float
start_rtl_command="(while true; do cat iqfile.iq; done) | csdr flowcontrol {data_rate} 10 ".format(data_rate=2*samp_rate*bytes_per_sample)
format_conversion="csdr convert_u8_f"

Note: You should especially take care that the format and the sampling rate set here should be the same as for your recorded I/Q file!


A version that also works for 16-bit I/Q files:

format_conversion="csdr convert_s16_f"
start_rtl_command="(while true; do cat iqfile.iq; done) | csdr flowcontrol {data_rate} 10 ".format(data_rate=2*samp_rate*(2 if ("u16" in format_conversion) or ("s16" in format_conversion) else 1))
Clone this wiki locally