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

Issue 2486763002: Add support to audioproc_f for running the residual echo detector and producing an echo likelihood … (Closed)

Created:
4 years, 1 month ago by ivoc
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add support to audioproc_f for running the residual echo detector and producing an echo likelihood graph. This adds two command-line flags to audioproc_f: -red and -red_graph, which can be used to enable/disable the RED, and to set the output path for the graph. The graph is generated as a python script that depends on matplotlib and numpy to display the graph. BUG=webrtc:6525 Committed: https://crrev.com/87d1a787547b26fd564b66426116c2252aa8233d Cr-Commit-Position: refs/heads/master@{#15069}

Patch Set 1 : Initial version #

Total comments: 10

Patch Set 2 : Review comments by Per. #

Total comments: 8

Patch Set 3 : Review comments by Henrik. #

Total comments: 2

Patch Set 4 : Added RTC_CHECK to ensure file has opened #

Total comments: 2

Patch Set 5 : Added missing include. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -2 lines) Patch
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/test/audio_processing_simulator.h View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/test/audio_processing_simulator.cc View 1 2 3 4 5 chunks +41 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/test/audioproc_float.cc View 1 2 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
ivoc
Hi Per, please have a look.
4 years, 1 month ago (2016-11-08 14:42:47 UTC) #4
peah-webrtc
https://codereview.webrtc.org/2486763002/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/2486763002/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode192 webrtc/modules/audio_processing/audio_processing_impl.cc:192: intelligibility_enhancer_enabled_ || Great catch! I missed that when reviewing ...
4 years, 1 month ago (2016-11-10 10:47:10 UTC) #6
ivoc
Thanks for the comments! https://codereview.webrtc.org/2486763002/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/2486763002/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode192 webrtc/modules/audio_processing/audio_processing_impl.cc:192: intelligibility_enhancer_enabled_ || On 2016/11/10 10:47:09, ...
4 years, 1 month ago (2016-11-10 15:36:08 UTC) #7
peah-webrtc
On 2016/11/10 15:36:08, ivoc wrote: > Thanks for the comments! > > https://codereview.webrtc.org/2486763002/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc > File ...
4 years, 1 month ago (2016-11-14 09:49:50 UTC) #8
hlundin-webrtc
LGTM with some questions and nits. https://codereview.webrtc.org/2486763002/diff/40001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc File webrtc/modules/audio_processing/test/audio_processing_simulator.cc (right): https://codereview.webrtc.org/2486763002/diff/40001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc#newcode45 webrtc/modules/audio_processing/test/audio_processing_simulator.cc:45: void WriteEchoLikelihoodGraphFileHeader(std::ofstream& output_file) ...
4 years, 1 month ago (2016-11-14 10:38:28 UTC) #9
ivoc
Thanks! https://codereview.webrtc.org/2486763002/diff/40001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc File webrtc/modules/audio_processing/test/audio_processing_simulator.cc (right): https://codereview.webrtc.org/2486763002/diff/40001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc#newcode45 webrtc/modules/audio_processing/test/audio_processing_simulator.cc:45: void WriteEchoLikelihoodGraphFileHeader(std::ofstream& output_file) { On 2016/11/14 10:38:28, hlundin-webrtc ...
4 years, 1 month ago (2016-11-14 12:32:39 UTC) #10
hlundin-webrtc
https://codereview.webrtc.org/2486763002/diff/60001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc File webrtc/modules/audio_processing/test/audio_processing_simulator.cc (right): https://codereview.webrtc.org/2486763002/diff/60001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc#newcode85 webrtc/modules/audio_processing/test/audio_processing_simulator.cc:85: if (residual_echo_likelihood_graph_writer_.is_open()) { Since this is test code, I ...
4 years, 1 month ago (2016-11-14 12:57:35 UTC) #11
ivoc
https://codereview.webrtc.org/2486763002/diff/60001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc File webrtc/modules/audio_processing/test/audio_processing_simulator.cc (right): https://codereview.webrtc.org/2486763002/diff/60001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc#newcode85 webrtc/modules/audio_processing/test/audio_processing_simulator.cc:85: if (residual_echo_likelihood_graph_writer_.is_open()) { On 2016/11/14 12:57:35, hlundin-webrtc wrote: > ...
4 years, 1 month ago (2016-11-14 13:27:42 UTC) #12
hlundin-webrtc
https://codereview.webrtc.org/2486763002/diff/80001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc File webrtc/modules/audio_processing/test/audio_processing_simulator.cc (right): https://codereview.webrtc.org/2486763002/diff/80001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc#newcode85 webrtc/modules/audio_processing/test/audio_processing_simulator.cc:85: RTC_CHECK(residual_echo_likelihood_graph_writer_.is_open()); Great! Now all you have to do is ...
4 years, 1 month ago (2016-11-14 14:23:11 UTC) #13
ivoc
https://codereview.webrtc.org/2486763002/diff/80001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc File webrtc/modules/audio_processing/test/audio_processing_simulator.cc (right): https://codereview.webrtc.org/2486763002/diff/80001/webrtc/modules/audio_processing/test/audio_processing_simulator.cc#newcode85 webrtc/modules/audio_processing/test/audio_processing_simulator.cc:85: RTC_CHECK(residual_echo_likelihood_graph_writer_.is_open()); On 2016/11/14 14:23:11, hlundin-webrtc wrote: > Great! Now ...
4 years, 1 month ago (2016-11-14 14:55:05 UTC) #14
hlundin-webrtc
Still lgtm.
4 years, 1 month ago (2016-11-14 15:31:00 UTC) #15
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/2486763002/100001
4 years, 1 month ago (2016-11-14 15:34:09 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 1 month ago (2016-11-14 15:55:07 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-11-14 15:55:16 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/87d1a787547b26fd564b66426116c2252aa8233d
Cr-Commit-Position: refs/heads/master@{#15069}

Powered by Google App Engine
This is Rietveld 408576698