Loading scripts/pyaudio3dtools/audioarray.py +2 −5 Original line number Diff line number Diff line Loading @@ -405,6 +405,8 @@ def compare( if get_mld: def parse_wav_diff(proc: subprocess.CompletedProcess) -> float: if proc.returncode: raise ChildProcessError(f"{proc.stderr}\n{proc.stdout}") line = proc.stdout.splitlines()[-1].strip() start = line.find(">") + 1 stop = line.rfind("<") Loading @@ -412,11 +414,6 @@ def compare( return mld # TODO probably needs a fix to show up in pytest if proc.returncode: print(f"{proc.stderr}\n{proc.stdout}") return mld_max mld_max = 0 toolsdir = Path(__file__).parent.parent.joinpath("tools") Loading Loading
scripts/pyaudio3dtools/audioarray.py +2 −5 Original line number Diff line number Diff line Loading @@ -405,6 +405,8 @@ def compare( if get_mld: def parse_wav_diff(proc: subprocess.CompletedProcess) -> float: if proc.returncode: raise ChildProcessError(f"{proc.stderr}\n{proc.stdout}") line = proc.stdout.splitlines()[-1].strip() start = line.find(">") + 1 stop = line.rfind("<") Loading @@ -412,11 +414,6 @@ def compare( return mld # TODO probably needs a fix to show up in pytest if proc.returncode: print(f"{proc.stderr}\n{proc.stdout}") return mld_max mld_max = 0 toolsdir = Path(__file__).parent.parent.joinpath("tools") Loading