diff --git a/.gitignore b/.gitignore index 1af559c..7cde528 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,7 @@ run_easiergui.bat tensor-launch.py values1.json 使用需遵守的协议-LICENSE.txt +trainset_preprocess_pipeline_print.py +configs/48k.json +configs/40k.json +configs/32k.json diff --git a/my_utils.py b/my_utils.py index ca62f91..65c74f1 100644 --- a/my_utils.py +++ b/my_utils.py @@ -31,6 +31,7 @@ def load_audio(file, sr, DoFormant, Quefrency, Timbre): # print('stftpitchshift -i "%s" -p 1.0 --rms -w 128 -v 8 -q %s -t %s -o "%s"' % (file, Quefrency, Timbre, file_formanted)) if not file.endswith(".wav"): + print(f"\nfile = {file}\n") converting = ( ffmpeg.input(file, threads = 0) .output(f"{file_formanted}.wav") @@ -40,7 +41,7 @@ def load_audio(file, sr, DoFormant, Quefrency, Timbre): ) print("formanting...") os.system( - 'runtime\Scripts\stftpitchshift.exe -i "%s" -q %s -t %s -o "%sFORMANTED"' + 'stftpitchshift.exe -i "%s" -q %s -t %s -o "%sFORMANTED"' % (file_formanted, Quefrency, Timbre, file_formanted) ) print("formanted!")