Commit f03789ef authored by CSC's avatar CSC
Browse files

new scripting branch

parent 74472c91
import os
import subprocess
INPUT_DIR = "./"
config = {
"file_names": os.listdir(INPUT_DIR),
"w_eq_standard": "NAB",
"r_eq_standard": "CCIR",
"w_speed": "7.5",
"r_speed": "7.5"
}
if __name__ == '__main__':
for filename in config["file_names"]:
if not os.path.exists(INPUT_DIR + "/temp"):
os.makedirs(INPUT_DIR + "/temp")
subprocess.run(["python3", "tapeAudioRestoration.py", "-w", INPUT_DIR, "-f", filename, "-ew", config["w_eq_standard"], "-sw", config["w_speed"], "-sr", config["r_speed"], "-er", config["r_eq_standard"]])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment