summaryrefslogtreecommitdiff
path: root/scripts/process.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-07-23 16:33:41 +0200
committerJules Laplace <julescarbon@gmail.com>2018-07-23 16:33:41 +0200
commite4015ed57e2ad586c327a982e8736c21b7aa929f (patch)
treed010f1071dd3d9e3094aa285fa8e126e87a6d238 /scripts/process.py
parent0f65a358a7b5a40bea3b12c570dc387d4d2d0080 (diff)
process
Diffstat (limited to 'scripts/process.py')
-rw-r--r--scripts/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/process.py b/scripts/process.py
index 46c4ca8..31da6aa 100644
--- a/scripts/process.py
+++ b/scripts/process.py
@@ -67,7 +67,7 @@ def process(p: Path, acoustic_converter: AcousticConverter, super_resolution: Su
input_wave = acoustic_converter._wave_process(str(p), test=True)
input_feature = acoustic_converter._feature_process(input_wave, test=True)
- converted_feature = acoustic_converter.convert_to_feature(input=input_wav, out_sampling_rate=param.voice_param.sample_rate)
+ converted_feature = acoustic_converter.convert_to_feature(input=input_feature, out_sampling_rate=param.voice_param.sample_rate)
# converted_feature.f0 = input_feature.f0
wave = super_resolution(converted_feature.spectrogram, acoustic_feature=converted_feature, sampling_rate=param.voice_param.sample_rate)