Loading ivas_processing_scripts/processing/processing_splitting_scaling.py +9 −9 Original line number Diff line number Diff line Loading @@ -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] Loading Loading
ivas_processing_scripts/processing/processing_splitting_scaling.py +9 −9 Original line number Diff line number Diff line Loading @@ -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] Loading