7dfe9c85acc1c20ae9957bc8fb7caa5e6d503bbf |
|
30-Dec-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_test_utils: Check anomaly in check_recorded_frequency Add an argument check_anomaly in check_recorded_frequency. Use anomaly detection algorithm in audio_analysis module to check the signal block by block and find the blocks that are not similar to sine wave. BUG=chromium:573154 TEST=not used yet Change-Id: I4df072ba06953f5d8723dc8b5462dfc5a54859ea Reviewed-on: https://chromium-review.googlesource.com/319969 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/client/cros/audio/audio_analysis.py
|
3f282551c8d176cfe819ff495bed2b3414165551 |
|
08-Dec-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_analysis: Raise exception for empty data Raises EmptyDataError when input signal is empty. Otherwise, there will be ZeroDivisionError. BUG=chromium:567360 TEST=unittest Change-Id: I8024a6ef88b7c6fda0c0fb28dff5ad62038f7ff7 Reviewed-on: https://chromium-review.googlesource.com/316273 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/client/cros/audio/audio_analysis.py
|
4085acce1e6dd876f6df4e3077b1cf2026478a63 |
|
17-Nov-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_analysis: Add method to detect anomaly Detects anomaly by pattern matching of moving window. This method can detects anomalies including: 1. Underrun: The signal contains a block of constant amplitude. 2. Skipped block: The signal contains a skipped block. By setting default threshold of correlation index to 0.85, this method can tolerate normal noise of amplitude 0.3 when sine wave signal amplitude is 1. That is, this method will not judge the noise as anomaly under this condition, but is still able to detect anomaly. BUG=chromium:557420 TEST=unittest Change-Id: Ieb36098a382e74f0f47a678d1d470a5dcbbb1ef8 Reviewed-on: https://chromium-review.googlesource.com/312687 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
/external/autotest/client/cros/audio/audio_analysis.py
|
f9427ffac42b54540e482ecacf74416e77411aa0 |
|
02-Nov-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_analysis: Add a module for audio analysis Add audio_analysis module which provides spectral_analysis to estimate the dominant frequencies in a signal. BUG=chromium:550395 TEST=audio_analysis_unittest Change-Id: I616e0a5811d993493eb6e3594a7f54b921dc1152 Reviewed-on: https://chromium-review.googlesource.com/310221 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Hsinyu Chao <hychao@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
/external/autotest/client/cros/audio/audio_analysis.py
|