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

Issue 1967033002: Corrected the delay agnostic AEC behavior during periods of silent farend signal. (Closed)

Created:
4 years, 7 months ago by peah-webrtc
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, peah-webrtc, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-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

Corrected the delay agnostic AEC behavior during periods of silent farend signal. Added conditional updating of the statistics and the delay estimate so that updates are only done when the farend is non-stationary. The reason for this is that all the values that go into the updating of the statistics, and that in turn are also used to update the delay, are frozen when the farend signal is non-stationary. Therefore, when the farend signal is silent (stationary), the last estimates present before the silent (stationary) period began are used to continue to update the statistics. This is a problem as the updating is done in a manner that assumes that the estimates continue to be updated. This CL conditions the updating based on stationarity instead of silence as both are treated in the same manner in the delay agnostic AEC. This makes sense theoretically as the delay agnostic AEC operates on analyzing power deviations (in bands) from a slowly updated average power and therefore for a stationary signal will have no such deviations to base its analysis on. BUG=webrtc:5875, chromium:576624 NOTRY=True Committed: https://crrev.com/b1fc54d33e109b9bab10114b3aa0d47eb90b799d Cr-Commit-Position: refs/heads/master@{#12700}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Changes according to reviewer comments #

Total comments: 2

Patch Set 3 : Corrected the order of includes #

Patch Set 4 : Updated the unittest reference file with a new standard deviation value obtained from APM with the … #

Patch Set 5 : Updated the unittest reference file for mac with a new standard deviation value obtained from APM w… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -3 lines) Patch
M data/audio_processing/output_data_float.pb View 1 2 3 Binary file 0 comments Download
M data/audio_processing/output_data_mac.pb View 1 2 3 4 Binary file 0 comments Download
M webrtc/modules/audio_processing/utility/delay_estimator.cc View 1 2 2 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (17 generated)
peah-webrtc
4 years, 7 months ago (2016-05-11 07:55:21 UTC) #2
hlundin-webrtc
Nice! I have two comments in the code, and another two for the commit message: ...
4 years, 7 months ago (2016-05-11 12:39:48 UTC) #3
peah-webrtc
https://codereview.webrtc.org/1967033002/diff/1/webrtc/modules/audio_processing/utility/delay_estimator.cc File webrtc/modules/audio_processing/utility/delay_estimator.cc (right): https://codereview.webrtc.org/1967033002/diff/1/webrtc/modules/audio_processing/utility/delay_estimator.cc#newcode622 webrtc/modules/audio_processing/utility/delay_estimator.cc:622: bool non_stationary_farend = false; On 2016/05/11 12:39:48, hlundin-webrtc wrote: ...
4 years, 7 months ago (2016-05-11 12:53:33 UTC) #6
hlundin-webrtc
lgtm with one nit. https://codereview.webrtc.org/1967033002/diff/20001/webrtc/modules/audio_processing/utility/delay_estimator.cc File webrtc/modules/audio_processing/utility/delay_estimator.cc (right): https://codereview.webrtc.org/1967033002/diff/20001/webrtc/modules/audio_processing/utility/delay_estimator.cc#newcode13 webrtc/modules/audio_processing/utility/delay_estimator.cc:13: #include <algorithm> C system files ...
4 years, 7 months ago (2016-05-11 13:06:19 UTC) #7
peah-webrtc
https://codereview.webrtc.org/1967033002/diff/20001/webrtc/modules/audio_processing/utility/delay_estimator.cc File webrtc/modules/audio_processing/utility/delay_estimator.cc (right): https://codereview.webrtc.org/1967033002/diff/20001/webrtc/modules/audio_processing/utility/delay_estimator.cc#newcode13 webrtc/modules/audio_processing/utility/delay_estimator.cc:13: #include <algorithm> On 2016/05/11 13:06:19, hlundin-webrtc wrote: > C ...
4 years, 7 months ago (2016-05-11 13:16:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967033002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967033002/40001
4 years, 7 months ago (2016-05-11 13:16:24 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_rel/builds/14930)
4 years, 7 months ago (2016-05-11 13:22:32 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967033002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967033002/60001
4 years, 7 months ago (2016-05-12 06:18:56 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/13216)
4 years, 7 months ago (2016-05-12 06:25:13 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967033002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967033002/80001
4 years, 7 months ago (2016-05-12 07:01:23 UTC) #20
peah-webrtc
+@tina.legrand as an OWNER of the unittest reference files in data/audio_processing
4 years, 7 months ago (2016-05-12 07:03:29 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/13221)
4 years, 7 months ago (2016-05-12 07:04:39 UTC) #24
tlegrand-webrtc
lgtm
4 years, 7 months ago (2016-05-12 08:19:21 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967033002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967033002/80001
4 years, 7 months ago (2016-05-12 11:53:35 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-12 12:08:48 UTC) #31
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 12:08:59 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b1fc54d33e109b9bab10114b3aa0d47eb90b799d
Cr-Commit-Position: refs/heads/master@{#12700}

Powered by Google App Engine
This is Rietveld 408576698