sof/tools/test/audio/test_utils
Seppo Ingalsuo 31e67a227c Testbench: Update SRC tests criteria for lower 16 bit quality data
The tests created lot of unnecessary fails when testing with S16_LE
format. The test pass criteria for THD+N, DR is relaxed for tests
with 16 bit data.

Since the gain of SRC conversions was lowered to -1 dB the test
case for gain need to be updated. The gain is retrieved from
src_param() function. An exception is added for FS1 == FS2 case
when data is passed through. In that case expected gain is 0 dB.

The frequency response measurement grid does not necessarily cover
the exact upper frequency of pass-band. Therefore the min. upper
passband frequency is scaled by 0.99. This avoids measurement
technique related fails in test.

The chirp spectra test case was updated to use for RMS level criteria
for testing the level of signal. The peak level was less robust and
caused unnecessary test fails.

The option to not open plot windows during test is set. It improves
speed of test and avoids display clutter.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2019-05-11 09:28:44 +02:00
..
chirp_test_analyze.m Testbench: Update SRC tests criteria for lower 16 bit quality data 2019-05-11 09:28:44 +02:00
chirp_test_input.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
delete_check.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
dither_and_quantize.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
find_test_signal.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
load_test_output.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
mix_chirp.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
mix_sweep.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
mkdir_check.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
mls_calc_resp.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
multitone.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
sync_chirp.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
test_run.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
write_test_data.m Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00