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

Unified Diff: webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment.py

Issue 2715233003: APM Quality Generator, noise generator and evaluation score workers factory + echo noise generator (Closed)
Patch Set: rebase + style fix Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment.py
diff --git a/webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment.py b/webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment.py
index ca7e2c3e930fb609233cf500f057df033acf0c03..7ba0028a8cd32b3789ef1a6584ac7bfa7929e6d9 100755
--- a/webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment.py
+++ b/webrtc/modules/audio_processing/test/py_quality_assessment/apm_quality_assessment.py
@@ -63,6 +63,12 @@ def _instance_arguments_parser():
'are saved'),
default='output')
+ parser.add_argument('--polqa_path', required=True,
+ help='path to the POLQA tool')
+
+ parser.add_argument('--air_db_path', required=True,
+ help='path to the Aechen IR database')
+
return parser
@@ -73,7 +79,9 @@ def main():
parser = _instance_arguments_parser()
args = parser.parse_args()
- simulator = simulation.ApmModuleSimulator()
+ simulator = simulation.ApmModuleSimulator(
+ aechen_ir_database_path=args.air_db_path,
+ polqa_tool_path=args.polqa_path)
simulator.run(
config_filepaths=args.config_files,
input_filepaths=args.input_files,

Powered by Google App Engine
This is Rietveld 408576698