Commit 804e9ba0 authored by Nadir Dalla Pozza's avatar Nadir Dalla Pozza
Browse files

Bugfix

parent 771fbd3e
......@@ -788,6 +788,8 @@ def main():
# Decision stage
a, b, fs, case = get_correction_filter(standard_w, speed_w, standard_r, speed_r, fs)
print(a)
print(b)
# Casting FS to int because wavfile.write() is stupid
fs = round(fs)
......@@ -797,7 +799,7 @@ def main():
# Correction phase
if len(a) != 0:
# Not all cases present a correction filter!
raf = correction(paf, a, b, fs)
raf = correction(a, b, paf, fs)
save_file(raf, fs, temp_path, '1')
else:
# Just save Restored Audio File, but with modified fs
......
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