mirror of
https://github.com/Mangio621/Mangio-RVC-Fork.git
synced 2025-12-15 19:17:41 +01:00
fp1
utilizing local stft
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -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
|
||||
|
||||
@@ -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!")
|
||||
|
||||
Reference in New Issue
Block a user