openwebrx icon indicating copy to clipboard operation
openwebrx copied to clipboard

Improve the pre-recorded raw I/Q file as signal source configuration

Open f6fvy opened this issue 8 years ago • 0 comments

Hi

The current config line for this case assumes the one byte per sample (per channel). To allow 16-bit samples, the start_rtl_command variable becomes:

start_rtl_command="(while true; do cat my_iq_file.raw; done) | csdr flowcontrol {sr} 20 ".format(sr=samp_rate 2 * 2 * 1.05)

Note the added "2" (for 2 bytes per sample) in the sr calculation.

Maybe the easiest way would be to add a bytes_per_sample variable ?

f6fvy avatar Jun 04 '17 21:06 f6fvy