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

Issue 1394103003: Make the nonlinear beamformer steerable (Closed)

Created:
5 years, 2 months ago by aluebs-webrtc
Modified:
5 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, peah-webrtc, Andrew MacDonald, tterriberry_mozilla.com, hlundin-webrtc, kwiberg-webrtc, the sun, bjornv1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@highfreq
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make the nonlinear beamformer steerable Depends on this CL: https://codereview.webrtc.org/1395453004/ R=andrew@webrtc.org Committed: https://crrev.com/cb3f9bd9c024f11e1ee060de23bf65c7a1f9f594 Cr-Commit-Position: refs/heads/master@{#10458}

Patch Set 1 #

Total comments: 38

Patch Set 2 : Rebasing #

Patch Set 3 : Add AimAt method to Beamformer #

Patch Set 4 : Add nonlinear_beamformer_unittest #

Total comments: 15

Patch Set 5 : Rebasing #

Patch Set 6 : Generalize interferer scenarios #

Total comments: 19

Patch Set 7 : Fix and test InitInterfAngles #

Patch Set 8 : Formatting #

Total comments: 19

Patch Set 9 : Rebasing #

Patch Set 10 : Use Maybe #

Patch Set 11 : Formatting #

Patch Set 12 : Fix windows compile error #

Patch Set 13 : Fix more windows compile errors #

Patch Set 14 : Fix yet another windows bug #

Patch Set 15 : More windows fixing fun #

Patch Set 16 : Windows fixing fun never ends #

Patch Set 17 : More windows fun #

Unified diffs Side-by-side diffs Delta from patch set Stats (+612 lines, -97 lines) Patch
M webrtc/modules/audio_processing/audio_processing_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/beamformer/array_util.h View 1 2 3 4 5 6 7 8 9 4 chunks +54 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/beamformer/array_util.cc View 1 2 3 4 5 6 7 8 9 2 chunks +86 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/beamformer/array_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +163 lines, -10 lines 0 comments Download
M webrtc/modules/audio_processing/beamformer/beamformer.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +26 lines, -4 lines 0 comments Download
M webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +106 lines, -78 lines 0 comments Download
A webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +147 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/include/audio_processing.h View 1 2 3 4 5 6 7 8 9 10 11 12 15 2 chunks +17 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/test/audioproc_float.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (7 generated)
aluebs-webrtc
5 years, 2 months ago (2015-10-12 23:18:28 UTC) #2
The Sun (google.com)
https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/include/audio_processing.h File webrtc/modules/audio_processing/include/audio_processing.h (right): https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/include/audio_processing.h#newcode113 webrtc/modules/audio_processing/include/audio_processing.h:113: target_angle_radians(M_PI / 2.f) {} Use C++11 initialization?
5 years, 2 months ago (2015-10-13 07:20:21 UTC) #4
peah-webrtc
https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h (right): https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h#newcode48 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h:48: void SteerBeam(float target_angle_radians); My gut feeling is that it ...
5 years, 2 months ago (2015-10-13 12:53:41 UTC) #6
Andrew MacDonald
https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc (right): https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc#newcode195 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc:195: float DotProduct(std::vector<float> a, std::vector<float> b) { const references. https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc#newcode204 ...
5 years, 2 months ago (2015-10-14 22:12:31 UTC) #7
Andrew MacDonald
One more general comment for this set of CLs: it would be nice to see ...
5 years, 2 months ago (2015-10-14 23:34:13 UTC) #8
aluebs-webrtc
Addressed comments and added unittest. PTAL https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h (right): https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h#newcode35 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h:35: float target_angle_radians = ...
5 years, 2 months ago (2015-10-20 00:04:20 UTC) #9
Andrew MacDonald
https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc (right): https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc#newcode195 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc:195: float DotProduct(std::vector<float> a, std::vector<float> b) { On 2015/10/14 22:12:30, ...
5 years, 2 months ago (2015-10-20 03:00:09 UTC) #10
peah-webrtc
No further comments from me, but I have not gone through the rest of the ...
5 years, 2 months ago (2015-10-20 21:22:33 UTC) #11
peah-webrtc
No further comments from me, but I have not gone through the rest of the ...
5 years, 2 months ago (2015-10-20 21:22:35 UTC) #12
aluebs-webrtc
https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc (right): https://codereview.webrtc.org/1394103003/diff/1/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc#newcode195 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc:195: float DotProduct(std::vector<float> a, std::vector<float> b) { On 2015/10/14 22:12:30, ...
5 years, 2 months ago (2015-10-21 01:41:41 UTC) #13
Andrew MacDonald
https://codereview.webrtc.org/1394103003/diff/60001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc (right): https://codereview.webrtc.org/1394103003/diff/60001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc#newcode23 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc:23: const float kHalfBeamWidthRadians = static_cast<float>(M_PI) * 20.f / 180.f; ...
5 years, 2 months ago (2015-10-21 02:10:33 UTC) #14
Andrew MacDonald
https://codereview.webrtc.org/1394103003/diff/60001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc (right): https://codereview.webrtc.org/1394103003/diff/60001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc#newcode23 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc:23: const float kHalfBeamWidthRadians = static_cast<float>(M_PI) * 20.f / 180.f; ...
5 years, 2 months ago (2015-10-21 02:11:31 UTC) #15
Andrew MacDonald
https://codereview.webrtc.org/1394103003/diff/60001/webrtc/modules/audio_processing/test/audioproc_float.cc File webrtc/modules/audio_processing/test/audioproc_float.cc (right): https://codereview.webrtc.org/1394103003/diff/60001/webrtc/modules/audio_processing/test/audioproc_float.cc#newcode113 webrtc/modules/audio_processing/test/audioproc_float.cc:113: SphericalPointf(M_PI * FLAGS_target_angle_degrees / 180.f, 0.f, 1.f))); On 2015/10/21 ...
5 years, 2 months ago (2015-10-21 03:27:43 UTC) #16
Andrew MacDonald
https://codereview.webrtc.org/1394103003/diff/60001/webrtc/modules/audio_processing/beamformer/array_util.h File webrtc/modules/audio_processing/beamformer/array_util.h (right): https://codereview.webrtc.org/1394103003/diff/60001/webrtc/modules/audio_processing/beamformer/array_util.h#newcode51 webrtc/modules/audio_processing/beamformer/array_util.h:51: // angles in radians towards the front of the ...
5 years, 2 months ago (2015-10-21 22:59:46 UTC) #19
Andrew MacDonald
https://codereview.webrtc.org/1394103003/diff/100001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc (right): https://codereview.webrtc.org/1394103003/diff/100001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc#newcode419 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc:419: // averaging). CRITICAL ;-) Just noticed this because I'm ...
5 years, 2 months ago (2015-10-22 01:43:33 UTC) #20
Andrew MacDonald
https://codereview.webrtc.org/1394103003/diff/100001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc (right): https://codereview.webrtc.org/1394103003/diff/100001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc#newcode419 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc:419: // averaging). On 2015/10/22 01:43:32, Andrew MacDonald wrote: > ...
5 years, 2 months ago (2015-10-22 01:48:55 UTC) #21
Andrew MacDonald
https://codereview.webrtc.org/1394103003/diff/100001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc (right): https://codereview.webrtc.org/1394103003/diff/100001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc#newcode419 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc:419: // averaging). On 2015/10/22 01:48:55, Andrew MacDonald wrote: > ...
5 years, 2 months ago (2015-10-22 01:53:03 UTC) #22
aluebs-webrtc
https://codereview.webrtc.org/1394103003/diff/60001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc (right): https://codereview.webrtc.org/1394103003/diff/60001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc#newcode23 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc:23: const float kHalfBeamWidthRadians = static_cast<float>(M_PI) * 20.f / 180.f; ...
5 years, 1 month ago (2015-10-27 18:08:16 UTC) #23
Andrew MacDonald
https://codereview.webrtc.org/1394103003/diff/100001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc (right): https://codereview.webrtc.org/1394103003/diff/100001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc#newcode419 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc:419: // averaging). On 2015/10/27 18:08:15, aluebs-webrtc wrote: > As ...
5 years, 1 month ago (2015-10-28 01:57:57 UTC) #24
aluebs-webrtc
https://codereview.webrtc.org/1394103003/diff/100001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc File webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc (right): https://codereview.webrtc.org/1394103003/diff/100001/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc#newcode419 webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc:419: // averaging). On 2015/10/28 01:57:56, Andrew MacDonald wrote: > ...
5 years, 1 month ago (2015-10-29 00:34:21 UTC) #25
Andrew MacDonald
Nice, lgtm. https://codereview.webrtc.org/1394103003/diff/140001/webrtc/modules/audio_processing/beamformer/array_util_unittest.cc File webrtc/modules/audio_processing/beamformer/array_util_unittest.cc (right): https://codereview.webrtc.org/1394103003/diff/140001/webrtc/modules/audio_processing/beamformer/array_util_unittest.cc#newcode20 webrtc/modules/audio_processing/beamformer/array_util_unittest.cc:20: void ExpectPointsEq(const Point& a, const Point& b) ...
5 years, 1 month ago (2015-10-29 01:52:33 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1394103003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1394103003/200001
5 years, 1 month ago (2015-10-29 17:06:20 UTC) #28
commit-bot: I haz the power
CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
5 years, 1 month ago (2015-10-29 17:06:22 UTC) #30
aluebs-webrtc
Committed patchset #17 (id:320001) manually as cb3f9bd9c024f11e1ee060de23bf65c7a1f9f594 (presubmit successful).
5 years, 1 month ago (2015-10-30 01:21:46 UTC) #31
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 01:21:49 UTC) #32
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/cb3f9bd9c024f11e1ee060de23bf65c7a1f9f594
Cr-Commit-Position: refs/heads/master@{#10458}

Powered by Google App Engine
This is Rietveld 408576698