Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Issue 1907223003: Extension and refactoring of the audioproc_f tool to be a fully fledged tool for audio processing m… (Closed)

Created:
4 years, 8 months ago by peah-webrtc
Modified:
4 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, the sun, aluebs-webrtc, bjornv1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

This CL updates and extends the audioproc_f command line tool to support all the functionality needed for simulating and analyzing the audio processing module behavior during calls. BUG= Committed: https://crrev.com/60a189f1bfa5f822cb9e384b1fea514a66fa3a68 Cr-Commit-Position: refs/heads/master@{#12882}

Patch Set 1 #

Patch Set 2 : Rebase with master in order to include the refined adaptive filter functionality and the descriptio… #

Patch Set 3 : Corrected the activation of the refined filter and aec3 experimental features when operating on aec… #

Patch Set 4 : Fixed the bitexactness check when operating on aecdump data #

Total comments: 58

Patch Set 5 : Changes in response to reviewer comments #

Total comments: 36

Patch Set 6 : Changes in response to reviewer comments #

Total comments: 22

Patch Set 7 : Changes in response to reviewer comments #

Total comments: 48

Patch Set 8 : Changes in response to reviewer comments #

Total comments: 2

Patch Set 9 : Changes in response to latest reviewer comments #

Total comments: 2

Patch Set 10 : Changes in response to reviewer comments #

Patch Set 11 : Changed from using command-line flags for feature (de-)activation to using 1/0 specifiers. #

Patch Set 12 : Rebase with latest master #

Total comments: 2

Patch Set 13 : Changed the command line tool description #

Total comments: 4

Patch Set 14 : Changes in response to reviewer comments #

Patch Set 15 : Rebase with latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1778 lines, -512 lines) Patch
M webrtc/modules/audio_processing/audio_processing_tests.gypi View 1 chunk +6 lines, -2 lines 0 comments Download
A webrtc/modules/audio_processing/test/aec_dump_based_simulator.h View 1 chunk +62 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc View 1 2 3 4 5 6 7 8 9 1 chunk +506 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/test/aec_dump_processor.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +98 lines, -0 lines 0 comments Download
D webrtc/modules/audio_processing/test/audio_file_processor.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -147 lines 0 comments Download
D webrtc/modules/audio_processing/test/audio_file_processor.cc View 1 chunk +0 lines, -220 lines 0 comments Download
A webrtc/modules/audio_processing/test/audio_processing_simulator.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +175 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/test/audio_processing_simulator.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +334 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/test/audioproc_float.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +386 lines, -140 lines 0 comments Download
M webrtc/modules/audio_processing/test/process_test.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -3 lines 0 comments Download
A webrtc/modules/audio_processing/test/wav_based_simulator.h View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/test/wav_based_simulator.cc View 1 2 3 4 5 6 1 chunk +156 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (10 generated)
peah-webrtc
Hi, The new version of audioproc_f is not ready. The changes are quite big so ...
4 years, 8 months ago (2016-04-22 11:24:13 UTC) #2
peah-webrtc
Oups, as a critical typo went into the text, I resend the message ("not" has ...
4 years, 8 months ago (2016-04-22 11:38:28 UTC) #4
aluebs-webrtc
Next time, please separate major refactoring from features in different CLs. Because of the size ...
4 years, 8 months ago (2016-04-26 04:33:39 UTC) #5
peah-webrtc
Thanks for the review comments! As mentioned offline, I'd be happy to split it into ...
4 years, 8 months ago (2016-04-26 07:19:30 UTC) #6
aluebs-webrtc
I think it always is better to separate functionality and refactor and I would go ...
4 years, 7 months ago (2016-04-27 16:06:48 UTC) #7
peah-webrtc
Thanks again for the great comments! I've updated the CL with a new patch. https://codereview.webrtc.org/1907223003/diff/60001/webrtc/modules/audio_processing/test/audioproc_float.cc ...
4 years, 7 months ago (2016-04-28 07:41:12 UTC) #8
aluebs-webrtc
https://codereview.webrtc.org/1907223003/diff/60001/webrtc/modules/audio_processing/test/audioproc_float.cc File webrtc/modules/audio_processing/test/audioproc_float.cc (right): https://codereview.webrtc.org/1907223003/diff/60001/webrtc/modules/audio_processing/test/audioproc_float.cc#newcode83 webrtc/modules/audio_processing/test/audioproc_float.cc:83: DEFINE_bool(no_le, false, "Dectivate the level estimator"); On 2016/04/28 07:41:11, ...
4 years, 7 months ago (2016-04-30 02:08:05 UTC) #9
peah-webrtc
Again, thanks for the great comments! I have updated the CL with a new patch ...
4 years, 7 months ago (2016-05-02 06:18:43 UTC) #10
aluebs-webrtc
https://codereview.webrtc.org/1907223003/diff/60001/webrtc/modules/audio_processing/test/audioproc_float.cc File webrtc/modules/audio_processing/test/audioproc_float.cc (right): https://codereview.webrtc.org/1907223003/diff/60001/webrtc/modules/audio_processing/test/audioproc_float.cc#newcode83 webrtc/modules/audio_processing/test/audioproc_float.cc:83: DEFINE_bool(no_le, false, "Dectivate the level estimator"); On 2016/05/02 06:18:42, ...
4 years, 7 months ago (2016-05-03 22:30:41 UTC) #11
peah-webrtc
https://codereview.webrtc.org/1907223003/diff/60001/webrtc/modules/audio_processing/test/audioproc_float.cc File webrtc/modules/audio_processing/test/audioproc_float.cc (right): https://codereview.webrtc.org/1907223003/diff/60001/webrtc/modules/audio_processing/test/audioproc_float.cc#newcode83 webrtc/modules/audio_processing/test/audioproc_float.cc:83: DEFINE_bool(no_le, false, "Dectivate the level estimator"); On 2016/05/03 22:30:40, ...
4 years, 7 months ago (2016-05-09 11:37:32 UTC) #12
aluebs-webrtc
minyue, could you please have a look at this CL, in particular what you think ...
4 years, 7 months ago (2016-05-09 16:27:32 UTC) #13
peah-webrtc
On 2016/05/09 16:27:32, aluebs-webrtc wrote: > minyue, could you please have a look at this ...
4 years, 7 months ago (2016-05-10 06:26:45 UTC) #14
aluebs-webrtc
That actually sounds optimal to me.
4 years, 7 months ago (2016-05-10 15:26:42 UTC) #15
peah-webrtc
https://codereview.webrtc.org/1907223003/diff/100001/webrtc/modules/audio_processing/test/wav_based_simulator.cc File webrtc/modules/audio_processing/test/wav_based_simulator.cc (right): https://codereview.webrtc.org/1907223003/diff/100001/webrtc/modules/audio_processing/test/wav_based_simulator.cc#newcode42 webrtc/modules/audio_processing/test/wav_based_simulator.cc:42: last_specified_microphone_level_)); On 2016/05/09 16:27:31, aluebs-webrtc wrote: > On 2016/05/09 ...
4 years, 7 months ago (2016-05-11 12:19:27 UTC) #16
peah-webrtc
Regarding GetCommandLineOption I could not get that to work as I thought it should. And ...
4 years, 7 months ago (2016-05-11 12:22:04 UTC) #17
aluebs-webrtc
If GetCommandLineOption is not an option I still prefer int flags instead of 2 boolean. ...
4 years, 7 months ago (2016-05-11 15:41:56 UTC) #18
peah-webrtc
Thanks again for the comments. https://codereview.webrtc.org/1907223003/diff/120001/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc File webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc (right): https://codereview.webrtc.org/1907223003/diff/120001/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc#newcode68 webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc:68: // ProcessStream could have ...
4 years, 7 months ago (2016-05-18 12:18:50 UTC) #19
peah-webrtc
On 2016/05/18 12:18:50, peah-webrtc wrote: > Thanks again for the comments. > > https://codereview.webrtc.org/1907223003/diff/120001/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc > ...
4 years, 7 months ago (2016-05-18 12:20:03 UTC) #20
minyue-webrtc
On 2016/05/18 12:20:03, peah-webrtc wrote: > On 2016/05/18 12:18:50, peah-webrtc wrote: > > Thanks again ...
4 years, 7 months ago (2016-05-23 05:07:43 UTC) #21
minyue-webrtc
On 2016/05/23 05:07:43, minyue-webrtc wrote: > On 2016/05/18 12:20:03, peah-webrtc wrote: > > On 2016/05/18 ...
4 years, 7 months ago (2016-05-23 05:08:39 UTC) #22
peah-webrtc
On 2016/05/23 05:07:43, minyue-webrtc wrote: > On 2016/05/18 12:20:03, peah-webrtc wrote: > > On 2016/05/18 ...
4 years, 7 months ago (2016-05-23 07:17:05 UTC) #23
peah-webrtc
On 2016/05/23 05:08:39, minyue-webrtc wrote: > On 2016/05/23 05:07:43, minyue-webrtc wrote: > > On 2016/05/18 ...
4 years, 7 months ago (2016-05-23 07:43:31 UTC) #24
peah-webrtc
I have now changed the command line options and done a rebase with the latest ...
4 years, 7 months ago (2016-05-23 07:52:27 UTC) #25
minyue-webrtc
https://codereview.webrtc.org/1907223003/diff/220001/webrtc/modules/audio_processing/test/audioproc_float.cc File webrtc/modules/audio_processing/test/audioproc_float.cc (right): https://codereview.webrtc.org/1907223003/diff/220001/webrtc/modules/audio_processing/test/audioproc_float.cc#newcode28 webrtc/modules/audio_processing/test/audioproc_float.cc:28: const char kUsageDescription[] = I found this not being ...
4 years, 7 months ago (2016-05-23 09:59:38 UTC) #26
peah-webrtc
https://codereview.webrtc.org/1907223003/diff/220001/webrtc/modules/audio_processing/test/audioproc_float.cc File webrtc/modules/audio_processing/test/audioproc_float.cc (right): https://codereview.webrtc.org/1907223003/diff/220001/webrtc/modules/audio_processing/test/audioproc_float.cc#newcode28 webrtc/modules/audio_processing/test/audioproc_float.cc:28: const char kUsageDescription[] = On 2016/05/23 09:59:38, minyue-webrtc wrote: ...
4 years, 7 months ago (2016-05-23 12:49:26 UTC) #27
aluebs-webrtc
lgtm % after addressing my comments https://codereview.webrtc.org/1907223003/diff/240001/webrtc/modules/audio_processing/test/audioproc_float.cc File webrtc/modules/audio_processing/test/audioproc_float.cc (right): https://codereview.webrtc.org/1907223003/diff/240001/webrtc/modules/audio_processing/test/audioproc_float.cc#newcode115 webrtc/modules/audio_processing/test/audioproc_float.cc:115: "Activate (1) or ...
4 years, 7 months ago (2016-05-24 00:22:30 UTC) #28
peah-webrtc
On 2016/05/24 00:22:30, aluebs-webrtc wrote: > lgtm % after addressing my comments > > https://codereview.webrtc.org/1907223003/diff/240001/webrtc/modules/audio_processing/test/audioproc_float.cc ...
4 years, 7 months ago (2016-05-24 13:38:05 UTC) #29
minyue-webrtc
On 2016/05/24 13:38:05, peah-webrtc wrote: > On 2016/05/24 00:22:30, aluebs-webrtc wrote: > > lgtm % ...
4 years, 7 months ago (2016-05-24 13:55:01 UTC) #30
peah-webrtc
https://codereview.webrtc.org/1907223003/diff/240001/webrtc/modules/audio_processing/test/audioproc_float.cc File webrtc/modules/audio_processing/test/audioproc_float.cc (right): https://codereview.webrtc.org/1907223003/diff/240001/webrtc/modules/audio_processing/test/audioproc_float.cc#newcode115 webrtc/modules/audio_processing/test/audioproc_float.cc:115: "Activate (1) or deactivate(0) the level estimator"); On 2016/05/24 ...
4 years, 7 months ago (2016-05-24 21:22:57 UTC) #31
peah-webrtc
On 2016/05/24 21:22:57, peah-webrtc wrote: > https://codereview.webrtc.org/1907223003/diff/240001/webrtc/modules/audio_processing/test/audioproc_float.cc > File webrtc/modules/audio_processing/test/audioproc_float.cc (right): > > https://codereview.webrtc.org/1907223003/diff/240001/webrtc/modules/audio_processing/test/audioproc_float.cc#newcode115 > ...
4 years, 7 months ago (2016-05-24 21:24:15 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907223003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907223003/280001
4 years, 7 months ago (2016-05-24 21:26:28 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-05-24 23:26:59 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907223003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907223003/280001
4 years, 7 months ago (2016-05-25 03:53:05 UTC) #41
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 7 months ago (2016-05-25 03:54:47 UTC) #43
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 03:54:54 UTC) #45
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/60a189f1bfa5f822cb9e384b1fea514a66fa3a68
Cr-Commit-Position: refs/heads/master@{#12882}

Powered by Google App Engine
This is Rietveld 408576698