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

fix test_generate_test_items

parent 42551461
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@ def setup_input_files_for_config(config, category=1):
            shutil.copy(md_f, md_f_out)

    # create background noise files with white noise
    if "background_noise" in config.preprocessing_2:
        noise = random((48000 * 30, 2)) - 0.5
        noise *= 2**15 - 1
        bg_noise_path = Path(config.preprocessing_2["background_noise"]["background_noise_path"]).absolute()