Audio: Enhancing audio quality tests for device testing
For the purpose of remote device testing, this check-in adds a correction to the scripts that evaluate gain, frequency responsiveness, total harmonic distortion plus noise, and dynamic range.
The threshold scale has been defined and the decibel full scale computation has been made easier using new scripts.
You require Octave or Matlab. The scripts now operate properly in both Matlab and octave.
The user account, audio device, audio format, and capture sound card audio device and audio format for the remote device must be modified in the configuration file sof test perf config.m.
Signed-off-by: shastry [email protected]
@singalsu pls review.
@btian1 pls also review
Hi, Seppo, Malldi
I know those test's basic idea is get loopback data and compare with matlab reference(or input) with some point, but when look into it, still feel hard to fully understand.
My request is: can you pick one .m file and add detailed explain for the mechanism and each line to make us understand more better? sorry, just feel can't understand well and want to understand well, :)
Thanks Tim
If you have a more detailed question, I'm happy to try to answer it. However, I recommend using debug breakpoints to help with comprehension.
@ShriramShastry Fred's patches are now merged. Please check the conflicts in process_test.m.
@ShriramShastry Fred's patches are now merged. Please check the conflicts in process_test.m.
Sure, Thanks a lot
Yep, please split this to topics. E.g. one topic is compatibility with Matlab for scripts those have been apparently used with Octave. One commit per bug fixed. One commit per test improvement etc.
Can one of the admins verify this patch?