Open drowe67 opened 1 week ago
Is this something that would be usable via of the unit test infrastructure being worked on in #761? Or is this intended to be usable during normal usage of FreeDV?
EDIT: I guess for (4) it would have to be usable during regular operation. That brings up the question of how the files get generated (i.e. is a new file created every time PTT is toggled, we keep appending to a single set of files, etc).
Initially for unit testing, but I can see some possibilities for OTA tuning/debugging.
Proposal for a freedv-gui test mode/feature to dump a file of
features_out.f32
vectors (36 cols each, x length of sample). These are the vectors at the output of the RADE decoder, that are fed to the FARGAN vocoder for synthesis. By comparing them to a corresponding input set offeatures_in.f32
vectors, we can objectively measure distortion (usingradae/loss.py
) of the RADE signal as it passes through freedv-gui.The
features_out.f32
file should start when sync is obtained, and stop when sync stops.Use cases include:
features_in.f32
and creates a tx wave file that is fed to afreedv-gui
Rx.features_in.f32
), and measure the loss under various channel and radio settings (ie AGC, Tx drive, or additional filtering).