Commit Graph

5 Commits

Author SHA1 Message Date
Seppo Ingalsuo 2cc0d1f9c6 SOFT: Improve audio test synchronization code
The audio tests signals contain a start and end marker to extract the
test output to analyze from in-between the markers.

This patch fixes a fail in SRC tests that was caused by incorrect
synchronization to output data. The chirp upper frequency is limited
to 0.99 x Nyquist frequency since the Nyquist frequency in the end
aliased and caused a visible artefact to spectral plot and it triggered
a resampler filter impulse response that had some correlation with
start/end marker chirps. The cosine chirp initialization to start from
90 degrees (zero PCM code instead of max.) also cleaned the start impulse
and improved the look of spectrogram plot.

The syncronization was limited to seek from one measured channel only. The
sync finder also didn't handle properly multi-channel input.

The output file start marker scan length was reduced to be
idle+marker length. And the scan time for end was reduced to be
2xidle+marker length

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-06-29 17:13:22 +03:00
Seppo Ingalsuo 934a3300d6 SOFT: Fix the topology file name in SRC test topology lookup
The topology files naming has been updated to include mclk-N so it
needs to be added here as well for the script src_run.sh to work.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-06-27 15:43:00 +03:00
Seppo Ingalsuo 1abae16a11 SOFT: Add various utility scripts for audio component tests
This patch provides the non-standard based utilities to help to execute
the tests.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-06-27 13:50:49 +03:00
Seppo Ingalsuo a852b5341e SOFT: Add audio standards based objective performance measurements
This patch provides scripts to measure such performance as THD+N,
dynamic range, frequency response, gain, etc.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-06-27 13:49:33 +03:00
Seppo Ingalsuo aa3e72400c SOFT: Add SRC component test scripts
This patch provides tests for sample rate converter (SRC) SOF component.
The tests are executed via the SOF host (x86) version test executable and
the SRC component library.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-06-27 13:48:07 +03:00