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

Issue 1542573002: Calculate audio levels in AEC in time domain. (Closed)

Created:
5 years ago by minyue-webrtc
Modified:
4 years, 11 months ago
Reviewers:
peah-webrtc
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

Calculate audio levels in AEC in time domain. In AEC, audio levels are calculated in frequency domain. This makes the calculation dependent on FFT. We now make the calculation performed in time domain. The complexity is the same, but the dependence on FFT is removed. BUG= Committed: https://crrev.com/9846845da6ee88bf16cb5fc62c6839ed7aafe04c Cr-Commit-Position: refs/heads/master@{#11357}

Patch Set 1 #

Patch Set 2 : removing test code #

Total comments: 6

Patch Set 3 : normalizing |noisePower| #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -44 lines) Patch
M webrtc/modules/audio_processing/aec/aec_core.c View 1 2 8 chunks +27 lines, -44 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
minyue-webrtc
Hi Per, I changed the way of calculating audio level in AEC from frequency domain ...
5 years ago (2015-12-21 13:02:14 UTC) #4
peah-webrtc
https://codereview.webrtc.org/1542573002/diff/40001/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (right): https://codereview.webrtc.org/1542573002/diff/40001/webrtc/modules/audio_processing/aec/aec_core.c#newcode575 webrtc/modules/audio_processing/aec/aec_core.c:575: return energy / num_samples; I'm a bit concerned with ...
5 years ago (2015-12-22 10:54:32 UTC) #5
minyue-webrtc
https://codereview.webrtc.org/1542573002/diff/40001/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (right): https://codereview.webrtc.org/1542573002/diff/40001/webrtc/modules/audio_processing/aec/aec_core.c#newcode575 webrtc/modules/audio_processing/aec/aec_core.c:575: return energy / num_samples; On 2015/12/22 10:54:32, peah-webrtc wrote: ...
5 years ago (2015-12-22 11:20:01 UTC) #6
peah-webrtc
https://codereview.webrtc.org/1542573002/diff/40001/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (right): https://codereview.webrtc.org/1542573002/diff/40001/webrtc/modules/audio_processing/aec/aec_core.c#newcode575 webrtc/modules/audio_processing/aec/aec_core.c:575: return energy / num_samples; On 2015/12/22 11:20:01, minyue-webrtc wrote: ...
4 years, 11 months ago (2016-01-08 13:12:59 UTC) #7
minyue-webrtc
On 2016/01/08 13:12:59, peah-webrtc wrote: > https://codereview.webrtc.org/1542573002/diff/40001/webrtc/modules/audio_processing/aec/aec_core.c > File webrtc/modules/audio_processing/aec/aec_core.c (right): > > https://codereview.webrtc.org/1542573002/diff/40001/webrtc/modules/audio_processing/aec/aec_core.c#newcode575 > ...
4 years, 11 months ago (2016-01-08 13:52:22 UTC) #8
peah-webrtc
> > > It holds because we know that e_fft is FFT on a zero ...
4 years, 11 months ago (2016-01-08 13:59:16 UTC) #9
minyue-webrtc
On 2016/01/08 13:59:16, peah-webrtc wrote: > > > > > It holds because we know ...
4 years, 11 months ago (2016-01-14 09:48:51 UTC) #10
minyue-webrtc
BTW, putting level updates in one "if (aec->metricsMode == 1)" is also made. https://codereview.webrtc.org/1542573002/diff/40001/webrtc/modules/audio_processing/aec/aec_core.c File ...
4 years, 11 months ago (2016-01-14 16:53:51 UTC) #11
minyue-webrtc
On 2016/01/14 16:53:51, minyue-webrtc wrote: > BTW, putting level updates in one "if (aec->metricsMode == ...
4 years, 11 months ago (2016-01-21 16:58:33 UTC) #12
peah-webrtc
Nice! Great work! lgtm
4 years, 11 months ago (2016-01-22 12:38:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1542573002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1542573002/60001
4 years, 11 months ago (2016-01-22 12:46:47 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 11 months ago (2016-01-22 13:46:46 UTC) #17
commit-bot: I haz the power
4 years, 11 months ago (2016-01-22 13:46:55 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9846845da6ee88bf16cb5fc62c6839ed7aafe04c
Cr-Commit-Position: refs/heads/master@{#11357}

Powered by Google App Engine
This is Rietveld 408576698