- fix None reference
This commit is contained in:
parent
3efc3d076c
commit
e06636132b
|
|
@ -152,7 +152,7 @@ def run_analyze(file_test: str, file_reference: str, number: str) -> bool:
|
|||
return False
|
||||
|
||||
try:
|
||||
bounds_signal : SignalBoundaries = None
|
||||
bounds_signal = SignalBoundaries()
|
||||
if is_caller:
|
||||
bounds_signal.offset_start = 10.0 # Skip ringtones
|
||||
bounds_signal.offset_finish = 1.0 # Eat possible end tone
|
||||
|
|
@ -297,7 +297,7 @@ def perform_answerer():
|
|||
break
|
||||
|
||||
# Call analyzer script
|
||||
run_analyze(CONFIG.RecordFile, CONFIG.ReferenceAudio, '')
|
||||
run_analyze(CONFIG.RecordFile, CONFIG.PreparedReferenceAudio, '')
|
||||
|
||||
# Increase counter of attempts
|
||||
attempt_idx += 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue