New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 651678 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Need a command line tool to analyze wave file and find noise

Project Member Reported by cychiang@chromium.org, Sep 30 2016

Issue description

In debugging crosbug.com/p/57587, I recorded the audio from headphone using chameleon, and need to manually check where the noise happens.
We should add a command line tool in autotest using audio analysis module.
That can
1. Read in a wav file.
2. Get channels to analyze.
3. Do the analysis on those channels.
 
Components: OS>Kernel>Audio
Cc: vsu...@chromium.org rohi...@chromium.org
Labels: OS-Chrome
https://chromium-review.googlesource.com/409296 can solve this.
It will be very handy for dev and partners.
Project Member

Comment 4 by bugdroid1@chromium.org, Nov 10 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/3ca28892ea397d2301ed22bfef7090364b491473

commit 3ca28892ea397d2301ed22bfef7090364b491473
Author: Cheng-Yi Chiang <cychiang@chromium.org>
Date: Wed Nov 09 10:31:46 2016

[autotest] check_quality: Add a commnad line tool to check quality

Add a command line tool to do spectral analysis and quality measurement
on wave file.

BUG= chromium:651678 
TEST=./client/cros/audio/check_quality.py <some_file> --spectral --quality
     See the output for measurement.

Change-Id: I992512aacec910a1fe3d7de873770fc3ee74cbca
Reviewed-on: https://chromium-review.googlesource.com/409296
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>

[add] https://crrev.com/3ca28892ea397d2301ed22bfef7090364b491473/client/cros/audio/check_quality.py

Status: Fixed (was: Started)
Project Member

Comment 6 by bugdroid1@chromium.org, Dec 19 2016

Labels: merge-merged-factory-reef-8811.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/c2a9e7b90369271ba1656246c86447ca99a8697b

commit c2a9e7b90369271ba1656246c86447ca99a8697b
Author: Cheng-Yi Chiang <cychiang@chromium.org>
Date: Wed Nov 09 10:31:46 2016

[autotest] check_quality: Add a commnad line tool to check quality

Add a command line tool to do spectral analysis and quality measurement
on wave file.

BUG= chromium:651678 
TEST=./client/cros/audio/check_quality.py <some_file> --spectral --quality
     See the output for measurement.

Change-Id: I992512aacec910a1fe3d7de873770fc3ee74cbca
Reviewed-on: https://chromium-review.googlesource.com/409296
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
(cherry picked from commit 3ca28892ea397d2301ed22bfef7090364b491473)
Reviewed-on: https://chromium-review.googlesource.com/422119
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>

[add] https://crrev.com/c2a9e7b90369271ba1656246c86447ca99a8697b/client/cros/audio/check_quality.py

Comment 7 by ka...@chromium.org, Jan 13 2017

Status: Verified (was: Fixed)

Sign in to add a comment