DescriptionTestDataGenerators 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 #Depends on Patchset: Messages
Total messages: 18 (11 generated)
|