History log of /external/autotest/client/cros/audio/audio_quality_measurement.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
64e95aee0a0ad4ceed37e500ee0e02a81b65b122 28-Nov-2016 Cheng-Yi Chiang <cychiang@chromium.org> [autotest] audio_quality_measurement: Ignore false alarm

Ignore false alarm of "noise before/after sine wave" when it is too
close to the start/end of the sine wave.
We determine start/end of sine wave by frequency of a block.
We detect noise before/after sine wave by magnitude of a block.
The block near start/end of sine wave will have magnitude that
might be incorrectly treated as noise. Add a 0.01 duration to account
for that edge effect.
This is especially easy to seen in WebRTC loopback test because the
magnitude of sine wave is large in the beginning, and then it becomes
much smaller when it stablizes.

Also add debug message for start/end detection.

BUG=chromium:667674
TEST=run audio_AudioWebRTCLoopback test.

Change-Id: Ibd9bc95c896b290e83e7651093db121d2388b6f1
Reviewed-on: https://chromium-review.googlesource.com/414966
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Shyh-In Hwang <josephsih@chromium.org>
/external/autotest/client/cros/audio/audio_quality_measurement.py
93e9d9b04b2bea757953c1d1d7c5a4b4ade14b49 11-Nov-2016 Cheng-Yi Chiang <cychiang@chromium.org> [autotest] audio_quality_measurement: Ignore detected noise at edge

In the beginning and the end of data, there will be false alarm noise
caused by edge effect of Hilbert transform. We should ignore them.
See the docstring of NEAR_DATA_START_OR_END_SECS for detail and example.

BUG=chromium:663616
TEST=use check_quality tool to check the quality of the file attached on
the issue.

Change-Id: Ie7cbc1dea3986923f2421275116344a47a430199
Reviewed-on: https://chromium-review.googlesource.com/410581
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
/external/autotest/client/cros/audio/audio_quality_measurement.py
84f4097219c40bbc792dd47d8632012005c908df 29-Jul-2016 EddyHsu <eddyhsu@google.com> [autotest] audio: add audio quality measurement module

Add quality measurement tools:
- Detects artifacts
-- noise before playback
-- noise after playback
-- delay during playback
-- burst/pop

- Detects scenarios
-- volume changing detection

- Noise estimation

Add audio quality measurement unittest.

BUG=chromium:632616
TEST=unittest

Change-Id: If93c760f0690cad1b2837e2f70bd8b825231613d
Reviewed-on: https://chromium-review.googlesource.com/364352
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/client/cros/audio/audio_quality_measurement.py