sof icon indicating copy to clipboard operation
sof copied to clipboard

Audio: Enhancing audio quality tests for device testing

Open ShriramShastry opened this issue 3 years ago • 6 comments

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]

ShriramShastry avatar Jul 28 '22 12:07 ShriramShastry

@singalsu pls review.

lgirdwood avatar Aug 02 '22 09:08 lgirdwood

@btian1 pls also review

lgirdwood avatar Sep 01 '22 12:09 lgirdwood

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 avatar Sep 08 '22 14:09 ShriramShastry

@ShriramShastry Fred's patches are now merged. Please check the conflicts in process_test.m.

singalsu avatar Sep 12 '22 10:09 singalsu

@ShriramShastry Fred's patches are now merged. Please check the conflicts in process_test.m.

Sure, Thanks a lot

ShriramShastry avatar Sep 12 '22 14:09 ShriramShastry

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.

singalsu avatar Oct 19 '22 07:10 singalsu

Can one of the admins verify this patch?

sys-pt1s avatar Apr 06 '23 10:04 sys-pt1s