Commit 38a5d143 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix bug with data type of signal arrays

parent 3f88de39
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -139,8 +139,8 @@ def compare_files(f, fol1, fol2, outputs_dict, tool):
            sys.exit(-1)
        tool_output = _parse_comp_audio(output)
    elif tool == "mld":
        s1, fs1 = readfile(f1)
        s2, fs2 = readfile(f2)
        s1, fs1 = readfile(f1, outdtype="int16")
        s2, fs2 = readfile(f2, outdtype="int16")
        cmp_result = compare(s1, s2, fs1, per_frame=False, get_mld=True)
        tool_output = cmp_result["MLD"]