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

Issue 2989823002: Input signal creation for non-existing input signal files (Closed)

Created:
3 years, 4 months ago by AleBzk
Modified:
3 years, 4 months ago
Reviewers:
aleloi
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, Andrew MacDonald, aleloi, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

TestDataGenerators attempts to create missing input signal files. If the input file name matches the "<name>-<params>.wav" pattern and <name> is a valid signal creator name, then <params> is parsed and used to create a new signal which is written in place of the missing file. This CL only adds a pure tone creator. For instance, 'pure_tone-440_1000.wav' creates a pure tone at 440 Hz, 1000 ms long, mono, sampled at 48kHz. This feature can be used to simplify the creation of common probe signals - no need to add external .wav files. Also, it will be exploited by a coming CL that adds a new evaluation score requiring the input signal to be a pure tone. Additional minor fixes: - apm_quality_assessment_unittest.py: command line arguments replaced to avoid that those for the unit test framework are passed - simulation_unittest.py: invalid evaluation score name replaced BUG=webrtc:7218 Review-Url: https://codereview.webrtc.org/2989823002 Cr-Commit-Position: refs/heads/master@{#19200} Committed: https://chromium.googlesource.com/external/webrtc/+/ddfa252b50953e2a0e3b35af21739e70e4345208

Patch Set 1 #

Total comments: 2

Patch Set 2 : dbg print removed #

Patch Set 3 : merge #

Messages

Total messages: 18 (11 generated)
AleBzk
Hi Alex, PTAL! Alessio
3 years, 4 months ago (2017-07-27 14:59:54 UTC) #5
aleloi
LGTM + one comment. TestTestDataGenerators in the description should be TestDataGenerators, right? https://codereview.webrtc.org/2989823002/diff/1/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/test_data_generation.py File webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/test_data_generation.py ...
3 years, 4 months ago (2017-07-28 09:01:29 UTC) #6
AleBzk
https://codereview.webrtc.org/2989823002/diff/1/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/test_data_generation.py File webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/test_data_generation.py (right): https://codereview.webrtc.org/2989823002/diff/1/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/test_data_generation.py#newcode147 webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/test_data_generation.py:147: print(input_signal_filepath, filename, filename_parts) On 2017/07/28 09:01:29, aleloi wrote: > ...
3 years, 4 months ago (2017-07-28 14:26:11 UTC) #8
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/2989823002/40001
3 years, 4 months ago (2017-08-01 11:57:25 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_arm64_dbg/builds/3096)
3 years, 4 months ago (2017-08-01 12:04:56 UTC) #13
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/2989823002/40001
3 years, 4 months ago (2017-08-01 12:33:25 UTC) #15
commit-bot: I haz the power
3 years, 4 months ago (2017-08-01 12:44:26 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/ddfa252b50953e2a0e3b35af2...

Powered by Google App Engine
This is Rietveld 408576698