Commit e747b1a2 authored by Jan Kiene's avatar Jan Kiene
Browse files

disable length check for no concatenation for now

parent b337605f
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -242,15 +242,15 @@ class Processing_splitting_scaling(Processing):

        else:
            # check length of output signals
            input_aligned_file = (
                in_file.parent.parent
                / f"{Path(in_file.stem).stem}.wav"
            )
            input_aligned_array, _ = read(input_aligned_file)
            if (len_inp := len(input_aligned_array)) != (len_out := len(x)):
                warn(
                    f"For file {out_file} the length is {len_out} and does not match the (frame aligned) input length {len_inp}."
                )
            # input_aligned_file = (
            #     in_file.parent.parent
            #     / f"{Path(in_file.stem).stem}.wav"
            # )
            # input_aligned_array, _ = read(input_aligned_file)
            # if (len_inp := len(input_aligned_array)) != (len_out := len(x)):
            #     warn(
            #         f"For file {out_file} the length is {len_out} and does not match the (frame aligned) input length {len_inp}."
            #     )

            # set output values
            out_files = [out_file]