Loading scripts/get_loudness_data.py +5 −2 Original line number Diff line number Diff line Loading @@ -132,6 +132,9 @@ def main(): # Load and cache input audio once per format if format not in input_audio_cache: if format.startswith("MASA"): input_audio = fromfile(format, infile, in_meta=infile.with_suffix(".met")) else: input_audio = fromfile(format, infile) input_loudness, _, input_loudness_format = get_loudness(input_audio) input_audio_cache[format] = (input_loudness, input_loudness_format) Loading Loading @@ -163,7 +166,7 @@ def main(): progressbar_update(0, total, width=50) with ThreadPoolExecutor(max_workers=8) as executor: with ThreadPoolExecutor(max_workers=32) as executor: # Submit all tasks futures = { executor.submit(process_output_file, *task): task[0] for task in tasks Loading Loading
scripts/get_loudness_data.py +5 −2 Original line number Diff line number Diff line Loading @@ -132,6 +132,9 @@ def main(): # Load and cache input audio once per format if format not in input_audio_cache: if format.startswith("MASA"): input_audio = fromfile(format, infile, in_meta=infile.with_suffix(".met")) else: input_audio = fromfile(format, infile) input_loudness, _, input_loudness_format = get_loudness(input_audio) input_audio_cache[format] = (input_loudness, input_loudness_format) Loading Loading @@ -163,7 +166,7 @@ def main(): progressbar_update(0, total, width=50) with ThreadPoolExecutor(max_workers=8) as executor: with ThreadPoolExecutor(max_workers=32) as executor: # Submit all tasks futures = { executor.submit(process_output_file, *task): task[0] for task in tasks Loading