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

Issue 2111553002: Improved tuning of the adaptive level controller. (Closed)

Created:
4 years, 5 months ago by peah-webrtc
Modified:
4 years, 5 months ago
Reviewers:
hlundin-webrtc, aleloi
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@ALC_RC9_CL
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

This CL provides improved parameter tuning for the level controller as well as some further minor changes. It does: -Handle saturations in a better manner by adding different gain change step sizes for upwards and downwards changes, as well as when there is saturation. -Handle conditions with initial noise-only regions in a better way by setting a high initial peak level estimate which is gradually reduced until certainty about the peak level is achieved. -Limit the maximum gain to limit noise amplification, and to reflect that it initially is intended to be used in cascade with the fixed digital AGC mode. -Lower the maximum allowed stationary noise floor to reduce the risk of excessive noise amplification. -Lower the target gain to reduce the risk of causing the AEC on the other end to fail due to high playout levels triggering nonlinearities. This also reduces the risk for saturation. -Handle the noise-only regions in a better manner. NOTRY=true TBR=aleloi BUG=webrtc:5920 Committed: https://crrev.com/b59ff8952f961a6de1f22d539a1e08f31215d4e7 Cr-Commit-Position: refs/heads/master@{#13350}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added tuning that affects the gain behavior during noise-only periods #

Patch Set 3 : Temporarily disabling the bitexactness tests (will be activated in a follow-up CL) #

Patch Set 4 : Added DHECK on the minimum value for the peak level #

Patch Set 5 : Disabling bitexactness tests that were by mistake not disabled in the previous patch #

Messages

Total messages: 41 (25 generated)
peah-webrtc
4 years, 5 months ago (2016-06-29 15:51:51 UTC) #3
peah-webrtc
4 years, 5 months ago (2016-06-30 05:46:26 UTC) #7
hlundin-webrtc
LGTM with two comments. https://codereview.webrtc.org/2111553002/diff/60001/webrtc/modules/audio_processing/level_controller/gain_applier.cc File webrtc/modules/audio_processing/level_controller/gain_applier.cc (right): https://codereview.webrtc.org/2111553002/diff/60001/webrtc/modules/audio_processing/level_controller/gain_applier.cc#newcode76 webrtc/modules/audio_processing/level_controller/gain_applier.cc:76: gain = std::max(new_gain, gain + ...
4 years, 5 months ago (2016-06-30 07:36:23 UTC) #13
peah-webrtc
https://codereview.webrtc.org/2111553002/diff/60001/webrtc/modules/audio_processing/level_controller/gain_applier.cc File webrtc/modules/audio_processing/level_controller/gain_applier.cc (right): https://codereview.webrtc.org/2111553002/diff/60001/webrtc/modules/audio_processing/level_controller/gain_applier.cc#newcode76 webrtc/modules/audio_processing/level_controller/gain_applier.cc:76: gain = std::max(new_gain, gain + step_size); On 2016/06/30 07:36:23, ...
4 years, 5 months ago (2016-06-30 14:38:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2111553002/120001
4 years, 5 months ago (2016-06-30 14:39:01 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan/builds/3186) linux_ubsan_vptr on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 5 months ago (2016-06-30 14:45:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2111553002/140001
4 years, 5 months ago (2016-06-30 14:52:30 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14687)
4 years, 5 months ago (2016-06-30 14:58:53 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2111553002/140001
4 years, 5 months ago (2016-06-30 15:32:53 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14695)
4 years, 5 months ago (2016-06-30 15:42:23 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2111553002/140001
4 years, 5 months ago (2016-06-30 15:43:52 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14696)
4 years, 5 months ago (2016-06-30 15:50:03 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2111553002/140001
4 years, 5 months ago (2016-06-30 16:17:56 UTC) #36
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 5 months ago (2016-06-30 16:19:38 UTC) #38
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 16:19:41 UTC) #39
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 16:19:46 UTC) #41
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b59ff8952f961a6de1f22d539a1e08f31215d4e7
Cr-Commit-Position: refs/heads/master@{#13350}

Powered by Google App Engine
This is Rietveld 408576698