Open f6fvy opened 7 years ago
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 ?
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 ?