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, |